/* ============ Viral Arte — interface ============ */
:root {
  /* Identidade visual — clean (logo mesclada: moldura + explosão + pixels) */
  --ink: #1E1B4B;
  --ink-2: #45416F;
  --paper: #F8F8FC;
  --surface: #FFFFFF;
  --primary: #7C3AED;
  --primary-700: #6D28D9;
  --primary-50: #F4EFFE;
  --primary-100: #E6DBFD;
  --yellow: #FFD60A;
  --magenta: #E5007D;
  --cyan: #19C3E6;
  --sky: #6D28D9;
  --green: #0E9F6E;
  --red: #D92D20;
  --line: #E7E6F1;
  --muted: #6A6887;
  --soft: #F1F0F8;
  --grad: linear-gradient(135deg, #E5007D 0%, #9B3DF0 52%, #19C3E6 100%);
  --shadow-sm: 0 1px 2px rgba(30,27,75,.05), 0 2px 6px rgba(30,27,75,.05);
  --shadow-md: 0 10px 30px rgba(30,27,75,.08), 0 2px 6px rgba(30,27,75,.04);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --tag-shadow: var(--shadow-sm);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .4em; font-variation-settings: "wdth" 85; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 1.1em;
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font-weight: 650; text-decoration: none; cursor: pointer;
  transition: transform .08s, box-shadow .08s, background .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--soft); }
.btn:active { transform: translate(1px, 1px); }
.btn-primary { background: var(--yellow); box-shadow: var(--tag-shadow); }
.btn-primary:hover { background: #FFE14D; }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-hot { background: var(--magenta); color: #fff; border-color: var(--ink); box-shadow: var(--tag-shadow); }
.btn-hot:hover { background: #F0198F; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { min-height: 36px; padding: 0 .8em; font-size: .9rem; }
.btn-icon { width: 44px; padding: 0; }
.btn-danger { color: var(--red); border-color: var(--red); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Formulários ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3em; }
.field { margin-bottom: 1rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=tel], input[type=search], input[type=time], select, textarea {
  width: 100%; min-height: 44px; padding: .55em .8em;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px #2F6BFF33; }
textarea { min-height: 96px; resize: vertical; }
input[type=range] { width: 100%; accent-color: var(--magenta); }
input[type=color] { width: 44px; height: 36px; padding: 2px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.check { display: flex; align-items: center; gap: .6em; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--magenta); }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 0; }
.error-text { color: var(--red); font-size: .9rem; min-height: 1.3em; }

/* ---------- App shell ---------- */
.shell { display: flex; min-height: 100vh; }
.sidenav {
  width: 232px; flex: none; padding: 20px 14px;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.65rem; font-variation-settings: "wdth" 75; letter-spacing: -0.02em; line-height: 1; color: inherit; text-decoration: none; padding: 6px 8px 22px; }
.brand img { width: 48px; height: 48px; flex: none; transform: rotate(-6deg); filter: drop-shadow(3px 3px 0 var(--magenta)); transition: transform .2s ease; }
.brand:hover img { transform: rotate(0deg) scale(1.06); }
.brand b { font-weight: 800; color: var(--yellow); }
.sidenav .brand img { filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(3px 3px 0 var(--magenta)); }
.navlink {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm);
  color: #D9D8F0; text-decoration: none; font-weight: 600;
}
.navlink svg { width: 22px; height: 22px; }
.navlink:hover { background: #ffffff14; color: #fff; }
.navlink.active { background: var(--yellow); color: var(--ink); }
.sidenav .spacer { flex: 1; }
.main { flex: 1; min-width: 0; padding: 28px clamp(16px, 4vw, 48px) 48px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }

.tabbar { display: none; }

@media (max-width: 860px) {
  .sidenav { display: none; }
  .main { padding: 18px 16px calc(var(--nav-h) + 28px); }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #C9C8E6; text-decoration: none; font-size: .72rem; font-weight: 600; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a.active { color: var(--yellow); }
  .tabbar a.create { color: var(--ink); }
  .tabbar a.create span.bubble { background: var(--yellow); border-radius: 999px; width: 52px; height: 36px; display: grid; place-items: center; }
}

/* ---------- Superfícies ---------- */
.panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.section { margin-bottom: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 1rem; }
.section-head h2 { margin: 0; font-size: 1.35rem; }

/* Formatos rápidos */
.format-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.format-pick {
  display: flex; gap: 14px; align-items: center; padding: 14px; text-align: left;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-md); cursor: pointer;
}
.format-pick:hover { background: #FFF8CC; }
.format-pick .shape { flex: none; width: 34px; border: 2.5px solid var(--ink); border-radius: 5px; background: var(--yellow); }
.format-pick strong { display: block; }
.format-pick span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .format-picks { grid-template-columns: 1fr; } }

/* Grade de miniaturas */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.thumb { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; }
.thumb .frame { background: var(--soft); border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center; aspect-ratio: 4/5; outline: 1.5px solid var(--line); }
.thumb:hover .frame { outline: 2.5px solid var(--ink); }
.thumb canvas, .thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb .t { font-weight: 650; margin-top: 8px; font-size: .95rem; line-height: 1.25; }
.thumb .s { font-size: .8rem; color: var(--muted); }
@media (max-width: 480px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Lista de posts */
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-item { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.post-item .pm { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; background: var(--soft); flex: none; }
.post-item .pi { flex: 1; min-width: 0; }
.post-item .pc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--soft); }
.badge.scheduled { background: #E3ECFF; color: #1D4ED8; }
.badge.publishing { background: #FFF4C2; color: #7A5A00; }
.badge.published { background: #D7F5E7; color: #05603A; }
.badge.partial { background: #FFE6CC; color: #9A3C00; }
.badge.failed { background: #FDE2E0; color: #A61B11; }
.net { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; margin-right: 6px; }
.net svg { width: 15px; height: 15px; }

.empty { text-align: center; padding: 36px 16px; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty strong { color: var(--ink); display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Calendário ---------- */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1000px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h2 { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .dow { font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.cal .day { aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 6px; display: flex; flex-direction: column; cursor: pointer; text-align: left; font-weight: 600; font-size: .9rem; min-width: 0; }
.cal .day.out { opacity: .4; }
.cal .day.today { border-color: var(--magenta); }
.cal .day.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal .day .dots { margin-top: auto; display: flex; gap: 3px; flex-wrap: wrap; }
.cal .day .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.cal .day .dots i.published { background: var(--green); }
.cal .day .dots i.failed, .cal .day .dots i.partial { background: var(--red); }
.cal .day.sel .dots i { outline: 1.5px solid #fff; }

/* ---------- Modal / folha ---------- */
.modal-back { position: fixed; inset: 0; background: #1E1B4B88; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; border: 2px solid var(--ink); }
.modal h2 { margin-bottom: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .modal-back { place-items: end stretch; padding: 0; }
  .modal { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-md); z-index: 200; font-weight: 600; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px #1E1B4B44; animation: toast-in .2s ease-out; }
.toast.err { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (min-width: 861px) { .toast { bottom: 28px; } }

.progress { height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--magenta); width: 0; transition: width .2s; }

/* ---------- Seleção de mídia ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; max-height: 260px; overflow: auto; padding: 2px; }
.media-grid button { aspect-ratio: 1; border: 2px solid transparent; border-radius: var(--r-sm); padding: 0; overflow: hidden; background: var(--soft); cursor: pointer; position: relative; }
.media-grid button.on { border-color: var(--magenta); }
.media-grid img, .media-grid video { width: 100%; height: 100%; object-fit: cover; }
.media-grid .vtag { position: absolute; left: 4px; bottom: 4px; background: var(--ink); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 4px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 8px 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.seg button + button { border-left: 1.5px solid var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.net-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.net-pick label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-weight: 600; cursor: pointer; margin: 0; }
.net-pick label:has(input:checked) { border-color: var(--ink); background: #FFF8CC; }
.net-pick svg { width: 18px; height: 18px; flex: none; }
.net-pick input { accent-color: var(--magenta); width: 18px; height: 18px; }

/* ---------- Contas ---------- */
.acc { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; flex-wrap: wrap; }
.acc .logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.acc .logo svg { width: 28px; height: 28px; }
.acc .logo.instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.acc .logo.tiktok { background: #000; }
.acc .info { flex: 1; min-width: 180px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; outline: 1.5px solid var(--line); cursor: pointer; padding: 0; }
.swatch.sel { outline: 2.5px solid var(--ink); }

/* ============ Landing ============ */
.landing { min-height: 100vh; background: var(--paper); }
.l-top { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 5vw, 64px); }
.l-top .brand { color: var(--ink); padding: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); gap: 14px; }
.l-top .brand img { width: clamp(52px, 6vw, 68px); height: clamp(52px, 6vw, 68px); filter: drop-shadow(4px 4px 0 var(--magenta)); }
.l-top .brand b { color: var(--magenta); }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: 24px clamp(16px, 5vw, 64px) 64px; max-width: 1280px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-variation-settings: "wdth" 75; line-height: .95; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero h1 .tag { display: inline-block; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 0 .18em; transform: rotate(-2deg); margin: .08em 0; }
.hero .lead { font-size: 1.2rem; max-width: 34em; color: var(--ink-2); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.phone { justify-self: center; width: min(320px, 80vw); aspect-ratio: 9/19; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 10px 10px 0 var(--magenta); position: relative; }
.phone canvas { width: 100%; height: 100%; border-radius: 32px; background: #fff; }
.phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 999px; background: var(--ink); z-index: 2; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .phone { width: min(280px, 72vw); } }

.l-band { background: var(--ink); color: #fff; padding: 56px clamp(16px, 5vw, 64px); }
.l-band .inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.l-band .inner.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .l-band .inner.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.l-band h3 { color: var(--yellow); font-size: 1.35rem; }
.l-band p { color: #D9D8F0; margin: 0; }
@media (max-width: 760px) { .l-band .inner { grid-template-columns: 1fr; gap: 24px; } }

.l-steps { max-width: 1180px; margin: 0 auto; padding: 64px clamp(16px, 5vw, 64px); }
.l-steps h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-variation-settings: "wdth" 80; max-width: 18em; }
.l-steps ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.l-steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.l-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--magenta); color: #fff; font-weight: 800; margin-bottom: 10px; }
.l-steps li strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 760px) { .l-steps ol { grid-template-columns: 1fr; } }

.auth { max-width: 440px; margin: 0 auto; padding: 0 16px 80px; }
.auth .panel { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.auth-tabs { display: flex; margin-bottom: 18px; }
.auth-tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid var(--line); padding: 10px; font-weight: 700; cursor: pointer; font-size: 1rem; }
.auth-tabs button.on { border-color: var(--magenta); }
.l-foot { text-align: center; padding: 24px 16px 40px; color: var(--muted); font-size: .9rem; }

/* ============ Editor ============ */
.editor { position: fixed; inset: 0; display: grid; grid-template-rows: 56px 1fr; grid-template-columns: 76px minmax(0, 1fr) 320px; grid-template-areas: "top top top" "tools stage props"; background: var(--soft); z-index: 50; }
.ed-top { grid-area: top; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--surface); border-bottom: 1.5px solid var(--line); }
.ed-top .title { flex: 1; min-width: 0; border: 1.5px solid transparent; background: transparent; font-weight: 700; font-size: 1.05rem; padding: 6px 8px; border-radius: var(--r-sm); min-height: 40px; }
.ed-top .title:hover, .ed-top .title:focus { border-color: var(--line); }
.ed-tools { grid-area: tools; background: var(--surface); border-right: 1.5px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; overflow-y: auto; }
.tool { width: 64px; padding: 8px 2px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .72rem; font-weight: 600; color: var(--ink); }
.tool svg { width: 24px; height: 24px; }
.tool:hover { background: var(--soft); }
.tool.on { background: var(--yellow); }
.tool-ai { color: var(--magenta); }
.tool-ai svg { color: var(--magenta); }
.ed-stage { grid-area: stage; position: relative; display: flex; flex-direction: column; min-height: 0; }
.stage-area { flex: 1; min-height: 0; display: grid; place-items: center; padding: 20px; overflow: hidden; touch-action: none; }
.stage-area canvas { box-shadow: 0 6px 30px #1E1B4B2E; background: #fff; touch-action: none; }
.stage-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px 0; flex-wrap: wrap; }
.stage-bar .seg button { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); }
.stage-bar .seg button.on { background: var(--ink); }
.stage-bar .seg svg { width: 18px; height: 18px; }
.timeline { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; background: var(--surface); border-top: 1.5px solid var(--line); }
.timeline input[type=range] { flex: 1; }
.timeline .time { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 74px; text-align: right; font-size: .9rem; }
.ed-props { grid-area: props; background: var(--surface); border-left: 1.5px solid var(--line); overflow-y: auto; padding: 16px; }
.ed-props h3 { margin-bottom: 12px; }
.ed-props .group { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1.5px solid var(--soft); }
.ed-props .group:last-child { border-bottom: 0; }
.ed-props .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ed-props .seg { width: 100%; }
.ed-props .seg button { flex: 1; padding: 6px; }
.layer-list { display: flex; flex-direction: column; gap: 4px; }
.layer-list button { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 7px 10px; cursor: pointer; text-align: left; font-size: .9rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.layer-list svg { width: 18px; height: 18px; flex: none; }
.layer-list button.on { border-color: var(--ink); background: #FFF8CC; }
.sheet-handle { display: none; }

@media (max-width: 860px) {
  .editor { grid-template-columns: minmax(0, 1fr); grid-template-rows: 52px minmax(0, 1fr) auto auto; grid-template-areas: "top" "stage" "props" "tools"; }
  .ed-top { padding: 0 4px; gap: 2px; }
  .ed-top .btn-label { display: none; }
  .ed-top .btn-icon, .ed-top .btn-sm { width: 40px; min-width: 40px; padding: 0; }
  .ed-top .title { min-width: 0; flex: 1 1 40px; font-size: .95rem; padding: 6px 4px; }
  .stage-bar { padding-top: 8px; }
  .stage-bar .seg button { min-height: 36px; padding: 4px 10px; font-size: .88rem; }
  .ed-tools { flex-direction: row; border-right: 0; border-top: 1.5px solid var(--line); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); overflow-x: auto; overflow-y: hidden; justify-content: flex-start; }
  .tool { flex: none; width: 62px; }
  .stage-area { padding: 12px; }
  .ed-props { border-left: 0; border-top: 1.5px solid var(--line); max-height: 40vh; padding: 0 14px 12px; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -6px 20px #1E1B4B1A; }
  .ed-props.collapsed { max-height: 46px; overflow: hidden; }
  .sheet-handle { display: flex; justify-content: center; align-items: center; gap: 8px; position: sticky; top: 0; background: var(--surface); padding: 10px 0 8px; margin-bottom: 4px; border: 0; width: 100%; font-weight: 700; cursor: pointer; z-index: 1; }
  .sheet-handle::before { content: ""; width: 40px; height: 4px; border-radius: 4px; background: var(--line); position: absolute; top: 4px; }
}

.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--magenta); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-load { min-height: 60vh; display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============ IA, planos, admin ============ */
.credit-pill { display: inline-flex; align-items: center; gap: 6px; background: #ffffff14; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; text-decoration: none; margin: 4px 8px 10px; }
.credit-pill svg { width: 16px; height: 16px; color: var(--yellow); }
.credit-pill:hover { background: #ffffff22; }
.m-top { display: none; }
@media (max-width: 860px) {
  .m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -2px 0 18px; }
  .m-top .brand { padding: 0; font-size: 1.45rem; color: var(--ink); }
  .m-top .brand img { width: 40px; height: 40px; }
  .m-top .brand b { color: var(--magenta); }
  .m-credit { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; text-decoration: none; }
  .m-credit svg { width: 15px; height: 15px; color: var(--yellow); }
}
.banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #FFF4C2; border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.banner.bad { background: #FDE2E0; }

.magic { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px; margin-bottom: 32px; position: relative; overflow: hidden; }
.magic::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, #E5007D 0%, transparent 70%); opacity: .55; pointer-events: none; }
.magic h2 { color: var(--yellow); font-size: 1.45rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.magic h2 svg { width: 24px; height: 24px; }
.magic p { color: #D9D8F0; margin-bottom: 12px; }
.magic textarea { background: #fff; color: var(--ink); min-height: 84px; border-color: transparent; position: relative; z-index: 1; }
.magic .row { margin-top: 10px; position: relative; z-index: 1; }
.magic .seg { border-color: #fff; }
.magic .seg button { background: transparent; color: #fff; }
.magic .seg button + button { border-color: #fff; }
.magic .seg button.on { background: #fff; color: var(--ink); }
.magic select { width: auto; min-width: 180px; }
.magic .ideas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; position: relative; z-index: 1; }
.magic .ideas button { background: #ffffff1a; color: #fff; border: 1px solid #ffffff33; border-radius: 999px; padding: 4px 12px; font-size: .85rem; cursor: pointer; }

.ai-wait { display: grid; place-items: center; gap: 12px; padding: 20px 0; text-align: center; }
.ai-orb { width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--yellow), var(--magenta), var(--sky), var(--yellow)); animation: spin 1.4s linear infinite; mask: radial-gradient(circle, transparent 46%, #000 48%); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); }

.ai-actions { display: grid; gap: 10px; }
.ai-action { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); cursor: pointer; }
.ai-action:hover { border-color: var(--ink); }
.ai-action[disabled] { opacity: .45; cursor: not-allowed; }
.ai-action svg { width: 26px; height: 26px; flex: none; color: var(--magenta); }
.ai-action strong { display: block; }
.ai-action span { font-size: .88rem; color: var(--muted); }
.ai-action .cost { margin-left: auto; white-space: nowrap; font-weight: 700; font-size: .8rem; background: #FFF4C2; color: var(--ink); padding: 2px 8px; border-radius: 999px; align-self: center; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; }
.plan.hl { border-color: var(--ink); box-shadow: 6px 6px 0 var(--magenta); }
.plan .tag { align-self: flex-start; background: var(--magenta); color: #fff; font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-for { margin: 0 0 8px; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.plan .price { font-size: 2.2rem; font-weight: 800; font-variation-settings: "wdth" 80; line-height: 1.1; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan ul { padding-left: 1.1em; margin: 12px 0 18px; flex: 1; }
.plan li { margin-bottom: 4px; }
.meter { height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; margin: 8px 0 4px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--magenta), var(--yellow)); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.stat b { display: block; font-size: 1.6rem; font-variation-settings: "wdth" 80; }
.stat span { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap th, .table-wrap td { padding: 9px 12px; border-bottom: 1px solid var(--soft); text-align: left; white-space: nowrap; }
.table-wrap th { background: var(--soft); }
.terms-check { font-weight: 500; font-size: .9rem; align-items: flex-start; margin-bottom: 10px; }
.terms-check input { margin-top: 2px; flex: none; }
.l-pricing { max-width: 1180px; margin: 0 auto; padding: 8px clamp(16px, 5vw, 64px) 64px; }
.l-pricing h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-variation-settings: "wdth" 80; }
.l-foot a { color: var(--ink); }
.modal h2 svg { width: 24px; height: 24px; vertical-align: -3px; color: var(--magenta); }
.magic select { color: var(--ink); background: #fff; border-color: transparent; }

/* ============ WhatsApp ============ */
.wa-tabs { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; }
.wa-tabs button { white-space: nowrap; }
.wa-status { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; }
.wa-status svg { width: 18px; height: 18px; }
.wa-status.on { border-color: #25D366; color: #0B6B35; background: #E9FBEF; }
.wa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 80px; }
@media (max-width: 1000px) { .wa-grid { grid-template-columns: 1fr; } }
.wa-col { display: grid; gap: 20px; }
.wa-sec h3 { display: flex; align-items: center; gap: 8px; }
.wa-sec h3 svg { width: 20px; height: 20px; color: var(--magenta); }
.wa-item { border: 1.5px solid var(--soft); border-radius: var(--r-md); padding: 10px; margin-bottom: 10px; display: grid; gap: 8px; }
.wa-item textarea { min-height: 64px; }
.wa-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; flex: none; }
.wa-hours { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px 12px; align-items: center; }
.wa-hours input[type=time] { min-height: 38px; padding: 4px 8px; }
.wa-hours input:disabled { opacity: .45; }
.wa-savebar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 12px 0; background: linear-gradient(transparent, var(--paper) 30%); }
@media (max-width: 860px) { .wa-savebar { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); } }
.switch { position: relative; display: inline-block; width: 48px; height: 28px; margin: 0; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; cursor: pointer; transition: background .15s; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 3px #0003; }
.switch input:checked + span { background: #25D366; }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .5; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.wa-test { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .wa-test { grid-template-columns: 1fr; } }
.wa-phone { border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; background: #EFE7DD; display: flex; flex-direction: column; height: min(640px, 72vh); box-shadow: 6px 6px 0 var(--ink); }
.wa-phone-top { display: flex; align-items: center; gap: 10px; background: #075E54; color: #fff; padding: 10px 12px; }
.wa-phone-top > svg { width: 34px; height: 34px; background: #ffffff22; border-radius: 50%; padding: 6px; flex: none; }
.wa-phone-top span { display: block; font-size: .75rem; opacity: .8; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; background: #EFE7DD; }
.wa-hint { text-align: center; font-size: .82rem; color: #54656F; background: #FFF6C6; border-radius: 8px; padding: 8px 10px; margin: 0 auto 6px; max-width: 320px; }
.wa-msg { max-width: 82%; padding: 7px 10px 6px; border-radius: 10px; font-size: .93rem; line-height: 1.4; box-shadow: 0 1px 1px #0000001a; word-wrap: break-word; position: relative; }
.wa-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-msg.out-c { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.wa-msg.sys { align-self: center; background: #FFF6C6; color: #54656F; font-size: .82rem; text-align: center; }
.wa-tag { display: flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: #7C3AED; margin-bottom: 2px; }
.wa-tag svg { width: 12px; height: 12px; }
.wa-meta { display: block; text-align: right; font-size: .7rem; color: #667781; margin-top: 2px; }
.wa-fail { color: var(--red); font-weight: 700; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 90%; }
.wa-quick button { background: #fff; color: #027EB5; border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 1px #0000001a; }
.wa-quick button:hover { background: #F0F2F5; }
.wa-msg.typing { display: flex; gap: 4px; padding: 10px 12px; }
.wa-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: blink 1s infinite; }
.wa-msg.typing i:nth-child(2) { animation-delay: .2s; } .wa-msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }
.wa-compose { display: flex; gap: 8px; padding: 8px; background: #F0F2F5; align-items: flex-end; }
.wa-compose input, .wa-compose textarea { border-radius: 22px; border-color: transparent; min-height: 44px; }
.wa-compose textarea { resize: none; max-height: 120px; padding-top: 11px; }
.wa-steps { padding-left: 1.2em; } .wa-steps li { margin-bottom: 6px; }
.wa-know li { margin-bottom: 6px; }

.wa-inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 220px); min-height: 460px; border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.wa-list { border-right: 1.5px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.wa-list input[type=search] { margin: 10px; width: calc(100% - 20px); }
#ilist { overflow-y: auto; flex: 1; }
.wa-contact { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--soft); padding: 10px 12px; cursor: pointer; }
.wa-contact:hover { background: var(--soft); }
.wa-contact.on { background: #FFF8CC; }
.wa-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.wa-cmain { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wa-prev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .88rem; }
.wa-unread { background: #25D366; color: #fff; font-size: .72rem; font-weight: 800; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.wa-badge { justify-self: start; font-size: .7rem; font-weight: 700; background: #FFE6CC; color: #9A3C00; border-radius: 999px; padding: 1px 8px; }
.wa-thread { display: flex; flex-direction: column; min-height: 0; background: #EFE7DD; }
.wa-thead { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface); border-bottom: 1.5px solid var(--line); flex-wrap: wrap; }
.wa-back { display: none; }
.wa-closed { margin: 0; padding: 12px 16px; background: #FFF6C6; font-size: .88rem; color: #54656F; text-align: center; }
@media (max-width: 860px) {
  .wa-inbox { grid-template-columns: 1fr; height: calc(100vh - 250px); }
  .wa-thread { display: none; }
  .wa-inbox.open .wa-list { display: none; }
  .wa-inbox.open .wa-thread { display: flex; }
  .wa-back { display: inline-flex; }
}
.wa-connect { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .wa-connect { grid-template-columns: 1fr; } }
.wa-bigicon { width: 56px; height: 56px; border-radius: 16px; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-bigicon svg { width: 32px; height: 32px; }
.navlink svg, .tabbar svg { flex: none; }

/* Landing: seção do robô de WhatsApp */
.l-wa { max-width: 1180px; margin: 0 auto; padding: 72px clamp(16px, 5vw, 64px) 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.l-wa h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-variation-settings: "wdth" 78; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 14px; }
.l-wa .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.l-wa-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.l-wa-list li { display: flex; gap: 12px; align-items: flex-start; }
.l-wa-list li svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #E9FBEF; color: #0B6B35; }
.l-wa-list li:first-child svg { background: #FCE7F3; color: var(--magenta); }
.l-wa-note { max-width: 36em; border-left: 3px solid #25D366; padding-left: 12px; margin-bottom: 20px; }
.l-wa-phone { height: 560px; justify-self: center; width: 100%; max-width: 400px; box-shadow: 10px 10px 0 #25D366; }
.l-wa-phone .wa-quick span { background: #fff; color: #027EB5; border-radius: 8px; padding: 7px 11px; font-weight: 600; font-size: .88rem; box-shadow: 0 1px 1px #0000001a; }
.l-wa-phone .wa-msg { animation: wa-in .25s ease-out; }
@keyframes wa-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 900px) { .l-wa { grid-template-columns: 1fr; padding-top: 56px; } .l-wa-phone { height: 520px; } }

/* ============ Aprender ============ */
.learn-crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.learn-crumbs a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; color: var(--ink); }
.learn-crumbs a svg { width: 16px; height: 16px; }
.learn-crumbs span::before { content: "/"; margin-right: 8px; color: var(--line); }
.learn-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); margin-bottom: 20px; position: relative; overflow: hidden; }
.learn-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, #E5007D88, transparent 70%); pointer-events: none; }
.lh-kicker { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.learn-hero h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 6px; }
.learn-hero p { color: #D9D7F2; margin: 0 0 16px; max-width: 40em; }
.lh-progress { display: grid; justify-items: center; gap: 6px; position: relative; z-index: 1; color: #D9D7F2; }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--yellow) calc(var(--p) * 1%), #ffffff26 0); display: grid; place-items: center; }
.ring span { width: 74px; height: 74px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: .95rem; color: #fff; }
.ring b { font-size: 1.5rem; }
.learn-search { margin-bottom: 8px; }
.learn-search input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; background: var(--surface); min-height: 48px; }
.track-h { display: flex; align-items: center; gap: 8px; }
.track-h svg { width: 22px; height: 22px; color: var(--magenta); }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.learn-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.learn-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.lc-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--ink-2); }
.lc-ico svg { width: 22px; height: 22px; }
.learn-card.mat .lc-ico { background: #FFF6C7; }
.learn-card.done .lc-ico { background: #DCFCE7; color: #0B6B35; }
.lc-body { display: grid; gap: 4px; min-width: 0; }
.lc-body strong { line-height: 1.25; }
.lc-body > span { color: var(--muted); font-size: .9rem; }
.lc-meta { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem !important; }
.lc-meta svg { width: 14px; height: 14px; }
.lc-meta b { color: var(--green); display: inline-flex; align-items: center; gap: 2px; }
.learn-grid.compact .learn-card { padding: 12px 14px; align-items: center; }

.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.prompt-grid.one { grid-template-columns: 1fr; }
.prompt-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pc-type { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.pc-type.t-magic { background: #FCE7F3; color: #9D0055; }
.pc-type.t-image { background: #E0E7FF; color: #3730A3; }
.pc-type.t-scene { background: #FEF3C7; color: #92400E; }
.pc-type.t-motion { background: #DBEAFE; color: #1E40AF; }
.pc-type.t-caption { background: #EDE9FE; color: #5B21B6; }
.pc-type.t-knowledge { background: #DCFCE7; color: #0B6B35; }
.pc-text { margin: 0; flex: 1; font-size: .98rem; }
.pc-text.pre { white-space: pre-wrap; font-family: inherit; background: var(--paper); border-radius: var(--r-sm); padding: 12px; font-size: .9rem; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }

.guide { max-width: 780px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.guide > *, .material > * { min-width: 0; }
.guide h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 8px; }
.guide h2 { font-size: 1.25rem; margin: 0 0 12px; }
.guide .lead { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 10px; }
.guide-head .row svg { width: 15px; height: 15px; vertical-align: -2px; }
.formula { background: var(--yellow); border: 1.5px solid var(--ink); box-shadow: var(--tag-shadow); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 2px; }
.formula span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.formula strong { font-size: 1.05rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare > div { border-radius: var(--r-md); padding: 14px 16px; border: 1.5px solid; }
.compare span { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .85rem; }
.compare span svg { width: 16px; height: 16px; }
.compare p { margin: 6px 0 0; }
.compare .bad { border-color: #F5C2C0; background: #FFF5F5; color: #8A1C14; }
.compare .good { border-color: #A7E3C4; background: #F0FBF5; color: #0B5A30; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.steps li::before { content: counter(st); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--magenta); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps p { margin: 2px 0 0; color: var(--ink-2); }
.tip-box, .warn-box { border-radius: var(--r-lg); padding: 16px 20px; }
.tip-box { background: #FFFBEA; border: 1.5px solid #F5E08A; }
.warn-box { background: #FFF5F5; border: 1.5px solid #F5C2C0; }
.tip-box h2, .warn-box h2 { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; margin: 0 0 8px; }
.tip-box h2 svg { width: 20px; height: 20px; }
.tip-box ul, .warn-box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.times { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.times li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; }
.times span { color: var(--muted); }
.guide-foot { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1.5px solid var(--line); padding-top: 20px; }
.guide-foot .btn-ghost { margin-left: auto; white-space: normal; height: auto; min-height: 44px; text-align: left; max-width: 100%; }
.cost-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.mat-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mat-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mat-table tr:last-child td { border-bottom: 0; }
.mat-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.free-box { background: #F0FBF5; border: 1.5px solid #A7E3C4; border-radius: var(--r-md); padding: 14px; }
.free-box ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.free-box li { display: flex; gap: 6px; align-items: center; }
.free-box svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.material { max-width: 880px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.material h2 { font-size: 1.2rem; margin: 8px 0 0; }
.dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.date-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.dr-date { text-align: center; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 8px 4px; display: grid; }
.dr-date b { font-size: 1.05rem; text-transform: capitalize; }
.dr-date span { font-size: .72rem; color: #D9D7F2; text-transform: capitalize; }
.dr-body { display: grid; gap: 2px; }
.dr-body p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-2); }
.more-dates summary { cursor: pointer; font-weight: 600; margin: 4px 0 10px; }
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.week-day { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.week-day .wd { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--magenta); }
.week-day strong { display: block; margin: 2px 0 4px; }
.week-day p { margin: 0; font-size: .9rem; color: var(--muted); }
.fmt-list { display: grid; gap: 10px; }
.fmt-item { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.fmt-item p { margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.fmt-item > div > span { display: block; }
.fmt-shape { flex: none; width: 44px; border: 2px solid var(--ink); border-radius: 4px; background: var(--yellow); }
.fmt-shape.f0 { height: 44px; } .fmt-shape.f1 { height: 55px; } .fmt-shape.f2 { height: 78px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.checklist .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checklist input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.gloss { margin: 0; display: grid; gap: 8px; }
.gloss div { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.gloss dt { font-weight: 700; }
.gloss dd { margin: 2px 0 0; color: var(--ink-2); }

@media (max-width: 700px) {
  .learn-hero { grid-template-columns: 1fr; }
  .lh-progress { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .ring { width: 64px; height: 64px; } .ring span { width: 50px; height: 50px; font-size: .8rem; } .ring b { font-size: 1.1rem; }
  .compare, .cost-cols { grid-template-columns: 1fr; }
  .date-row { grid-template-columns: 64px minmax(0, 1fr); }
  .dr-act { grid-column: 1 / -1; }
  .dr-act .btn { width: 100%; }
  .guide-foot .btn-ghost { margin-left: 0; }
  .pc-foot .row { width: 100%; } .pc-foot .row .btn { flex: 1; }
}
.code-input { font-size: 1.8rem; letter-spacing: .4em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============ Análise do perfil ============ */
.an-connect { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 20px; }
.an-connect.off { background: #FFFBEA; border-color: #F5E08A; }
.an-ig { display: flex; gap: 12px; align-items: center; min-width: 0; }
.an-ig > svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: #fff; background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); flex: none; }
.an-ig > div { display: grid; gap: 2px; }
.an-when { margin: 0 0 12px; }
.an-hero { display: grid; grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.an-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 10px; align-content: start; }
.an-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.an-score { justify-items: center; text-align: center; background: var(--ink); color: #fff; border-color: var(--ink); }
.an-score .an-label { color: #D9D7F2; }
.ring.big { width: 128px; height: 128px; }
.ring.big span { width: 100px; height: 100px; font-size: 1rem; }
.ring.big b { font-size: 2.3rem; }
.delta { font-size: .82rem; color: var(--muted); }
.an-score .delta { color: #D9D7F2; }
.delta.up { color: var(--green); } .an-score .delta.up { color: #7CF0B7; }
.delta.down { color: var(--red); } .an-score .delta.down { color: #FFB4AE; }
.temp-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.temp-head b { font-size: 1.8rem; line-height: 1; }
.temp-frio { color: #2F6BFF; } .temp-morno { color: #D97706; } .temp-quente { color: var(--magenta); }
.temp-bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #2F6BFF, #FBBF24 50%, #E5007D); margin-top: 4px; }
.temp-bar i { position: absolute; top: -5px; width: 6px; height: 24px; border-radius: 3px; background: var(--ink); border: 2px solid #fff; transform: translateX(-50%); box-shadow: 0 1px 3px #0004; }
.temp-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.an-card p { margin: 0; }
.an-kpis { margin-bottom: 12px; }
.an-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.an-two h2 { font-size: 1.15rem; margin: 0 0 12px; display: flex; align-items: center; gap: 6px; }
.an-two h2 svg { width: 20px; height: 20px; color: var(--magenta); }
.an-two h3 { font-size: .95rem; margin: 14px 0 6px; }
.an-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.an-check li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.an-check .ck { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.an-check .ck svg { width: 16px; height: 16px; }
.an-check .st-ok .ck { background: #DCFCE7; color: #0B6B35; }
.an-check .st-partial .ck { background: #FEF3C7; color: #92400E; }
.an-check .st-bad .ck { background: #FDE2E0; color: var(--red); }
.an-check .st-unknown .ck { background: var(--soft); color: var(--muted); }
.an-check li > div { display: grid; gap: 2px; }
.an-check p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 42px; gap: 8px; align-items: center; font-size: .88rem; }
.bar-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--magenta); border-radius: 999px; }
.bar-row b { text-align: right; font-size: .85rem; }
.an-posts { display: grid; gap: 10px; }
.an-post { display: grid; grid-template-columns: 44px 1fr; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.an-rank { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; }
.an-post p { margin: 6px 0; }
.an-metrics { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.an-metrics span { display: inline-flex; align-items: center; gap: 4px; }
.an-metrics svg { width: 14px; height: 14px; }
.an-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.an-strats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.an-strat { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 6px; align-content: start; }
.an-num { width: 30px; height: 30px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; font-weight: 700; }
.an-strat ol { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); font-size: .93rem; }
.an-hook { margin: 0; font-weight: 600; color: var(--magenta); }
.an-hist { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.an-hist-item { flex: none; display: grid; gap: 2px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); min-width: 140px; }
.an-hist-item b { font-size: 1.4rem; }
.an-hist-item.on { border-color: var(--ink); box-shadow: var(--tag-shadow); }
.an-intro h2 { font-size: 1.25rem; }
.an-teaser { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: linear-gradient(100deg, #FCE7F3, #FFF6C7); border: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); }
.an-teaser > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.an-teaser > span:nth-child(2) > span { color: var(--ink-2); font-size: .92rem; }
.an-teaser > svg { width: 20px; height: 20px; transform: rotate(180deg); flex: none; }
.an-teaser .lc-ico { background: #fff; }
@media (max-width: 900px) {
  .an-hero { grid-template-columns: 1fr 1fr; }
  .an-summary { grid-column: 1 / -1; }
  .an-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .an-hero { grid-template-columns: 1fr; }
  .an-connect .row { width: 100%; } .an-connect .row .btn { flex: 1; }
  .bar-row { grid-template-columns: 90px 1fr 40px; }
}
.linkish { background: none; border: 0; padding: 0; color: var(--sky); text-decoration: underline; cursor: pointer; font: inherit; }
.an-kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ============ Menu por serviços ============ */
.sidenav { overflow-y: auto; gap: 2px; }
.nav-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9C9AC9; padding: 14px 12px 4px; }
.svc-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 800; flex: none; }
.navlink.svc { gap: 10px; }
.navlink.svc.open:not(.active) { color: #fff; }
.navlink.active .svc-n { background: var(--ink); color: var(--yellow); }
.navsub { display: grid; gap: 1px; margin: 0 0 4px 22px; padding-left: 12px; border-left: 2px solid #ffffff22; }
.navlink.sub { padding: 7px 10px; font-size: .92rem; font-weight: 500; }
.m-actions { display: inline-flex; align-items: center; gap: 8px; }
.m-acc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); }
.m-acc svg { width: 20px; height: 20px; }
.m-acc.on { background: var(--yellow); border-color: var(--ink); }
@media (max-width: 860px) { .tabbar a { font-size: .68rem; min-width: 0; } }

/* painel de serviços (Início) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-bottom: 32px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r-lg); border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--tag-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.svc-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.svc-card strong { font-size: 1.3rem; line-height: 1.15; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.svc-card .svc-n { width: 28px; height: 28px; font-size: .9rem; background: var(--ink); color: var(--yellow); }
.svc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); flex: none; }
.svc-ico svg { width: 24px; height: 24px; }
.svc-desc { color: var(--ink-2); font-size: .95rem; flex: 1; }
.svc-status { font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.svc-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .9rem; color: var(--magenta); }
.svc-go svg { width: 16px; height: 16px; transform: rotate(180deg); }
.svc-arte { background: linear-gradient(135deg, #FFF6C7, #FFFFFF 60%); }
.svc-arte .svc-ico { background: var(--yellow); }
.svc-whatsapp .svc-ico { background: #DCFCE7; color: #0B6B35; }
.svc-analise .svc-ico { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
.svc-educa .svc-ico { background: #E0E7FF; color: var(--sky); }

/* abas internas do Viral Arte */
.svc-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 20px; padding-bottom: 4px; scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; margin-right: 6px; white-space: nowrap; }
.svc-tag .svc-n { background: var(--ink); color: var(--yellow); }
.svc-tabs a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.svc-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.art-steps { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .92rem; }
.art-steps li { display: inline-flex; align-items: center; gap: 6px; }
.art-steps b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--soft); font-size: .75rem; }
.art-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-bottom: 16px; }
.art-opt { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.art-opt > span:last-child { display: grid; gap: 2px; }
.art-opt > span:last-child > span { color: var(--muted); font-size: .9rem; }
.art-opt strong { font-size: 1.1rem; }
.art-opt:hover, .art-opt.on { border-color: var(--ink); box-shadow: var(--tag-shadow); }
.art-opt .svc-ico { background: var(--yellow); }
.sidenav { width: 252px; }
@media (max-width: 860px) { .svc-tabs { margin: 0 -16px 18px; padding: 0 16px 4px; } .svc-tabs .svc-tag { display: none; } }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ Página pública: 4 serviços ============ */
.l-nav { display: flex; align-items: center; gap: 6px; }
.l-nav button { background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.l-nav button:hover { background: var(--soft); }
.l-nav a.l-blog { font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.l-nav a.l-blog:hover { background: var(--soft); }
@media (max-width: 560px) { .l-nav button { display: none; } }
.l-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--magenta); margin-bottom: 10px; }
.l-kicker .svc-n { width: 26px; height: 26px; background: var(--ink); color: var(--yellow); font-size: .85rem; }
.l-services { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 5vw, 64px) 24px; scroll-margin-top: 12px; }
.l-services h2, .l-educa h2, .l-analise h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-variation-settings: "wdth" 78; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 10px; }
.l-sub { font-size: 1.1rem; margin: 0 0 24px; }
.l-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .l-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .l-svc-grid { grid-template-columns: 1fr; } }
.l-svc-grid .svc-card:hover { transform: none; box-shadow: var(--tag-shadow); }
.l-svc-list { list-style: none; padding: 0; margin: 8px 0 6px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); flex: 1; }
.l-svc-list li { display: flex; gap: 8px; align-items: flex-start; }
.l-svc-list svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.l-services .svc-go { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; align-self: flex-start; }
.l-steps, .l-wa, .l-analise, .l-educa { scroll-margin-top: 12px; }
.l-analise { max-width: 1180px; margin: 0 auto; padding: 72px clamp(16px, 5vw, 64px) 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.l-analise .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.l-analise .l-wa-list li svg { background: #FCE7F3; color: var(--magenta); }
.l-an-card { display: grid; gap: 12px; }
.l-an-card .an-score { justify-items: center; }
.l-an-card > .an-card:last-child { box-shadow: 8px 8px 0 #DD2A7B; border-color: var(--ink); }
.l-educa { max-width: 1180px; margin: 0 auto; padding: 72px clamp(16px, 5vw, 64px) 24px; }
.l-educa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.l-educa-grid > div { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); }
.l-educa-grid svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #E0E7FF; color: var(--sky); margin-bottom: 6px; }
.l-educa-grid span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .l-analise { grid-template-columns: 1fr; } .l-educa-grid { grid-template-columns: 1fr; } }

/* ============ Criar com IA: passo a passo ============ */
.mtabs { display: inline-flex; background: #ffffff14; border-radius: 999px; padding: 4px; margin: 6px 0 14px; position: relative; z-index: 1; flex-wrap: wrap; }
.mtabs button { background: none; border: 0; color: #D9D8F0; font: inherit; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.mtabs button.on { background: var(--yellow); color: var(--ink); }
#mguided, #mfree { position: relative; z-index: 1; }
.mstep { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff !important; margin: 4px 0 10px !important; flex-wrap: wrap; }
.mstep b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .85rem; }
.mstep span { font-weight: 400; color: #B9B7DD; font-size: .88rem; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin-bottom: 14px; }
.goal-grid button { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--r-md); border: 1.5px solid #ffffff33; background: #ffffff10; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.goal-grid button svg { width: 20px; height: 20px; flex: none; color: var(--yellow); }
.goal-grid button:hover { background: #ffffff1f; }
.goal-grid button.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.goal-grid button.on svg { color: var(--ink); }
.mform { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 16px; margin-bottom: 14px; }
.mfield label { display: block; font-size: .88rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.mfield input { background: #fff; color: var(--ink); border-color: transparent; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchips button { background: #ffffff14; color: #fff; border: 1px solid #ffffff40; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .86rem; cursor: pointer; }
.mchips button small { opacity: .7; margin-left: 2px; }
.mchips button.on { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.mlabel { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: #fff; font-weight: 700; margin: 4px 0 6px; position: relative; z-index: 1; }
.mlabel span { font-weight: 400; font-size: .85rem; color: #B9B7DD; }
/* sugestões clicáveis nos modais (editor e robô) */
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.suggest button { background: var(--soft); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .85rem; cursor: pointer; }
.suggest button:hover { border-color: var(--ink); }
.suggest button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.suggest-label { display: block; font-size: .82rem; color: var(--muted); margin-top: 10px; font-weight: 600; }
.wq-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #FFF6C7; border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; margin: 10px 0 14px; }
.wq-cta > div { display: grid; gap: 2px; }
.wq-cta .small { color: var(--ink-2); }
.idea-day { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 18px; border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.idea-day::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, #E5007D 0%, transparent 70%); opacity: .5; pointer-events: none; }
.idea-body { display: grid; gap: 4px; flex: 1 1 320px; min-width: 0; position: relative; z-index: 1; }
.idea-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.idea-tag svg { width: 16px; height: 16px; }
.idea-body strong { font-size: 1.25rem; }
.idea-body p { margin: 0; color: #D9D8F0; }
.idea-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; position: relative; z-index: 1; }
.idea-act .btn-ghost { color: #fff; border-color: #ffffff55; }
/* janelas nunca mais largas que a tela (campos com exemplo longo esticavam a janela no celular) */
.modal-back { grid-template-columns: minmax(0, 1fr); }
.modal { min-width: 0; }
.modal input, .modal textarea, .modal select { min-width: 0; max-width: 100%; }
@media (max-width: 1000px) { .wa-grid { grid-template-columns: minmax(0, 1fr); } }
.wa-col, .wa-sec { min-width: 0; }
.wa-hours { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
.wa-hours input[type=time] { min-width: 0; width: 100%; }
.mtabs { display: flex; width: fit-content; max-width: 100%; flex-wrap: nowrap; }
.mtabs button { white-space: nowrap; }
@media (max-width: 480px) { .mtabs { width: 100%; } .mtabs button { flex: 1; padding: 7px 8px; font-size: .85rem; } }
/* Criar com IA: usar os dados do negócio */
.mbiz { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border-radius: var(--r-md); background: #ffffff12; border: 1px solid #ffffff2a; position: relative; z-index: 1; }
.mbiz-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; flex: 1 1 260px; min-width: 0; color: #fff; }
.mbiz-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--yellow); flex: none; }
.mbiz-check span { display: grid; gap: 2px; min-width: 0; }
.mbiz-check small { color: #C9C8E6; font-size: .84rem; overflow-wrap: anywhere; }
.mbiz-off { display: inline-flex; align-items: center; gap: 8px; color: #D9D8F0; font-size: .9rem; flex: 1 1 260px; }
.mbiz-off svg { width: 18px; height: 18px; flex: none; color: var(--yellow); }
.mbiz .linkish { color: var(--yellow); }
/* Publicação no TikTok */
.tt-box { border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 14px; margin-bottom: 14px; background: #FAFAFD; }
.tt-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tt-head > svg { width: 20px; height: 20px; }
.tt-acc { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: .9rem; font-weight: 600; min-width: 0; }
.tt-acc img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.tt-mode { display: flex; }
.tt-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tt-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; margin: 0; }
.tt-switch > span:first-child { display: grid; gap: 2px; font-weight: 400; }
.tt-commercial { display: grid; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.tt-commercial .check { align-items: flex-start; }
.tt-commercial .check > span { display: grid; gap: 1px; }
.tt-consent { margin: 4px 0 6px; }

.update-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:9999;display:flex;gap:12px;align-items:center;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:10px 12px 10px 16px;box-shadow:0 8px 30px rgba(0,0,0,.18);max-width:calc(100vw - 32px);font-size:.92rem}
.an-nets { margin: 0 0 16px; }
.an-nets button { display: inline-flex; align-items: center; gap: 6px; }
.an-nets button svg { width: 18px; height: 18px; }
.an-ig.tt > svg { background: #111; }

/* Perguntas frequentes e links da landing (SEO) */
.l-gal { max-width: 1180px; margin: 0 auto; padding: 48px clamp(16px, 5vw, 64px) 24px; scroll-margin-top: 12px; }
.l-gal h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-variation-settings: "wdth" 78; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 10px; }
.l-gal .lead { max-width: 48em; margin: 0 0 20px; }
.l-gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.l-gal-item { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--surface); aspect-ratio: 1; }
.l-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-gal-item figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.l-gal .small { margin: 0 0 16px; }
@media (max-width: 760px) { .l-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.l-blog-sec { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 64px) 56px; scroll-margin-top: 12px; }
.l-blog-sec h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-variation-settings: "wdth" 80; line-height: 1.05; margin: 0 0 8px; }
.l-blog-sec .lead { margin: 0 0 20px; color: var(--muted); }
.l-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.l-blog-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .15s; }
.l-blog-card:hover { transform: translate(-1px, -2px); }
.l-blog-card strong { font-size: 1.12rem; line-height: 1.25; }
.l-blog-cat { align-self: flex-start; padding: 4px 10px; border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(135deg, #6D28D9, #19C3E6); }
.l-blog-cat.c-instagram { background: linear-gradient(135deg, #E5007D, #9B3DF0); }
.l-blog-cat.c-whatsapp { background: linear-gradient(135deg, #0F7B5F, #25D366); }
.l-blog-more { margin-top: auto; color: var(--primary, #7C3AED); font-weight: 700; font-size: .95rem; }
@media (max-width: 860px) { .l-blog-grid { grid-template-columns: 1fr; } }
.l-faq { max-width: 860px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 64px) 56px; scroll-margin-top: 12px; }
.l-faq h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-variation-settings: "wdth" 80; margin: 0 0 16px; }
.l-faq details { background: #fff; border: 2px solid var(--ink); border-radius: 12px; margin: 0 0 10px; box-shadow: 3px 3px 0 var(--ink); }
.l-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style-position: inside; }
.l-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.l-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 18px; }
.l-links a { color: var(--ink); font-weight: 600; }
/* versão estática da landing (para o Google); quem já está logado não a vê */
.va-in #app > .prerender { display: none; }
#app > .pre-spin { display: none; }
.va-in #app > .pre-spin { display: grid; }


/* =====================================================================
   Identidade visual clean — sobrepõe o estilo antigo (bordas grossas e
   sombras duras). Cores: tinta #1E1B4B, violeta #7C3AED (ação), magenta
   #E5007D e ciano #19C3E6 (destaques), amarelo só em detalhes pequenos.
   ===================================================================== */
::selection { background: var(--primary-100); }
input[type=range], .check input, .net-pick input, .mbiz-check input { accent-color: var(--primary); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=tel], input[type=search], input[type=time], select, textarea { border-width: 1px; border-radius: var(--r-sm); }

/* botões */
.btn { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: background .15s, border-color .15s, box-shadow .15s, transform .08s; }
.btn:hover { background: var(--soft); border-color: #D9D7EA; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(124,58,237,.28); }
.btn-primary:hover { background: var(--primary-700); border-color: transparent; }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(124,58,237,.25); }
.btn-hot { background: var(--magenta); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(229,0,125,.25); }
.btn-hot:hover { background: #C8006D; }
.btn-ghost { box-shadow: none; }
.btn-danger { border-color: #F5C2C0; box-shadow: none; }

/* menu lateral claro */
.sidenav { background: var(--surface); color: var(--ink); border-right: 1px solid var(--line); }
.sidenav .brand b, .brand b { color: var(--magenta); }
.brand img, .sidenav .brand img, .l-top .brand img { transform: none; filter: none; border-radius: 0; box-shadow: none; } /* logo sem fundo (mark.svg) */
.brand:hover img { transform: scale(1.04); }
.navlink { color: var(--ink-2); font-weight: 600; }
.navlink:hover { background: var(--soft); color: var(--ink); }
.navlink.active { background: var(--primary-50); color: var(--primary-700); }
.navlink.svc.open:not(.active) { color: var(--ink); }
.nav-label { color: #9A98B6; }
.navsub { border-left-color: var(--line); }
.svc-n { background: var(--soft); color: var(--ink-2); }
.navlink.active .svc-n { background: var(--primary); color: #fff; }
.credit-pill { background: var(--soft); color: var(--ink); }
.credit-pill:hover { background: var(--primary-50); }
.credit-pill svg { color: var(--magenta); }
@media (max-width: 860px) {
  .tabbar { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .tabbar a { color: #8A88A6; }
  .tabbar a.active { color: var(--primary); }
  .tabbar a.create { color: #fff; }
  .tabbar a.create span.bubble { background: var(--primary); box-shadow: 0 6px 16px rgba(124,58,237,.35); }
  .m-credit svg { color: var(--yellow); }
}
.m-acc { border-width: 1px; }
.m-acc.on { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-700); }

/* superfícies */
.panel, .acc, .post-item, .stat, .table-wrap, .an-card, .an-connect, .an-post, .an-strat, .learn-card, .prompt-card, .date-row, .week-day, .fmt-item, .checklist li, .gloss div, .times li, .ai-action, .art-opt, .l-educa-grid > div, .wa-inbox, .plan, .cal .day, .chip, .svc-tabs a, .layer-list button, .net-pick label, .wa-status, .an-hist-item, .mat-table { border-width: 1px; border-color: var(--line); }
.panel, .acc, .stat, .an-card, .learn-card, .prompt-card, .art-opt, .plan, .l-educa-grid > div { box-shadow: var(--shadow-sm); }
.an-score { border-color: var(--ink); }
.empty { border: 1.5px dashed #D9D7EA; background: var(--surface); }
.modal { border: 0; box-shadow: 0 24px 60px rgba(30,27,75,.25); }
.modal-back { background: rgba(30,27,75,.45); backdrop-filter: blur(2px); }
.toast { box-shadow: var(--shadow-md); }

/* seleção e estados */
.chip.on, .svc-tabs a.on, .seg button.on, .suggest button.on, .cal .day.sel { background: var(--primary); border-color: var(--primary); color: #fff; }
.seg { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.seg button + button { border-left: 1px solid var(--line); }
.stage-bar .seg button.on { background: var(--primary); }
.net-pick label:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.thumb .frame { outline: 1px solid var(--line); }
.thumb:hover .frame { outline: 2px solid var(--primary); }
.format-pick { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.format-pick:hover { background: var(--primary-50); border-color: var(--primary-100); }
.format-pick .shape, .fmt-shape { border: 2px solid var(--primary); background: var(--primary-50); }
.tool.on { background: var(--primary-50); color: var(--primary-700); }
.layer-list button.on, .wa-contact.on { border-color: var(--primary-100); background: var(--primary-50); }
.media-grid button.on { border-color: var(--primary); }
.swatch.sel { outline-color: var(--primary); }
.spinner { border-top-color: var(--primary); }
.progress > i { background: var(--grad); }
.meter i, .bar i { background: var(--grad); }
.ai-orb { background: conic-gradient(#E5007D, #9B3DF0, #19C3E6, #E5007D); }
.ai-action:hover { border-color: var(--primary-100); box-shadow: var(--shadow-md); }
.ai-action svg { color: var(--primary); }
.ai-action .cost { background: var(--primary-50); color: var(--primary-700); }
.auth-tabs button { border-bottom-width: 2px; }
.auth-tabs button.on { border-color: var(--primary); color: var(--primary-700); }
.auth .panel { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.banner { border: 1px solid #F3DC8A; background: #FFF9E0; }
.banner.bad { border-color: #F5C2C0; background: #FFF4F3; }

/* cartões de serviço */
.svc-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary-100); }
.l-svc-grid .svc-card:hover { transform: none; box-shadow: var(--shadow-md); }
.svc-card .svc-n, .svc-tag .svc-n, .l-kicker .svc-n { background: var(--primary-50); color: var(--primary-700); }
.svc-go { color: var(--primary); }
.svc-arte { background: linear-gradient(135deg, #F7F1FF, #FFFFFF 62%); }
.svc-arte .svc-ico { background: var(--grad); color: #fff; }
.svc-educa .svc-ico { background: #E6F9FD; color: #0E7490; }
.art-opt:hover, .art-opt.on { border-color: var(--primary-100); background: var(--primary-50); box-shadow: none; }
.art-opt .svc-ico { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.art-steps b { background: var(--primary-50); color: var(--primary-700); }
.wq-cta { background: var(--primary-50); border: 1px solid var(--primary-100); }

/* blocos escuros (Criar com IA, ideia do dia, Educa) com o brilho da marca */
.magic, .idea-day, .learn-hero { background: radial-gradient(120% 140% at 100% 0%, #3B1D7A 0%, var(--ink) 55%); }
.magic::after, .idea-day::after, .learn-hero::after { background: radial-gradient(circle, rgba(229,0,125,.55), transparent 70%); opacity: .45; }
.magic h2 { color: #fff; }
.magic h2 svg { color: #F9A8D4; }
.mtabs button.on, .goal-grid button.on { background: #fff; color: var(--ink); border-color: #fff; }
.goal-grid button svg, .mbiz-off svg { color: #C4B5FD; }
.goal-grid button.on svg { color: var(--primary); }
.mstep b { background: var(--grad); color: #fff; }
.mbiz .linkish { color: #C4B5FD; }
.mbiz-check input { accent-color: #C4B5FD; }
.idea-tag { color: #67E8F9; }
.lh-kicker { background: rgba(255,255,255,.14); color: #fff; }
.ring { background: conic-gradient(var(--cyan) calc(var(--p) * 1%), #ffffff26 0); }

/* Educa, análise e planos */
.learn-card:hover { border-color: var(--primary-100); box-shadow: var(--shadow-md); }
.lc-ico { background: var(--primary-50); color: var(--primary-700); }
.track-h svg, .wa-sec h3 svg, .an-two h2 svg, .modal h2 svg { color: var(--primary); }
.formula { background: var(--primary-50); border: 1px solid var(--primary-100); box-shadow: none; }
.steps li::before, .l-steps li::before, .an-num { background: var(--grad); }
.week-day .wd, .an-hook { color: var(--primary); }
.an-rank { background: var(--primary-50); border: 0; color: var(--primary-700); }
.an-hist-item.on { border-color: var(--primary); box-shadow: none; background: var(--primary-50); }
.an-teaser { background: linear-gradient(100deg, #FCE7F3, #E6F9FD); border: 1px solid var(--line); }
.plan.hl { border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(124,58,237,.18); }
.plan .tag { background: var(--grad); }
.l-svc-list svg { color: var(--primary); }
.tt-box { border: 1px solid var(--line); }
.wa-num, .wa-avatar { background: var(--primary-50); color: var(--primary-700); }
.wa-phone { border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* página inicial */
.landing { background: radial-gradient(900px 500px at 85% -10%, #F3E8FF 0%, transparent 60%), radial-gradient(700px 400px at 0% 10%, #E6F9FD 0%, transparent 55%), var(--paper); }
.l-top .brand b { color: var(--magenta); }
.hero h1 .tag { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; border: 0; box-shadow: none; transform: none; padding: 0; }
.phone { box-shadow: 0 40px 80px rgba(124,58,237,.28), 0 10px 24px rgba(30,27,75,.18); }
.l-wa-phone { box-shadow: 0 30px 70px rgba(37,211,102,.22), var(--shadow-md); }
.l-an-card > .an-card:last-child { box-shadow: var(--shadow-md); border-color: var(--line); }
.l-steps li { border-top: 2px solid var(--line); }
.l-kicker { color: var(--primary); }
.l-wa-list li:first-child svg, .l-analise .l-wa-list li svg { background: var(--primary-50); color: var(--primary); }
.l-educa-grid svg { background: #E6F9FD; color: #0E7490; }
.l-faq details { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.l-band h3 { color: #C4B5FD; }

/* ============ Semana pronta ============ */
.wk-form { max-width: 720px; }
.wk-form .chips { margin-bottom: 0; }
.wk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.wk-list { display: grid; gap: 14px; max-width: 860px; }
.wk-post.done { background: #F6FDF9; border-color: #BFE8D2; }
.wk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.wk-head strong { font-size: 1.1rem; flex: 1 1 200px; }
.wk-day { font-weight: 700; text-transform: capitalize; color: var(--primary-700); }
.wk-status { margin: 10px 0 0; min-height: 1.2em; color: var(--green); font-weight: 600; }
.wk-status:empty { display: none; }
.wk-bar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 860px; padding: 14px 0; background: linear-gradient(transparent, var(--paper) 30%); }
@media (max-width: 860px) { .wk-bar { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); } }
.art-opt { text-decoration: none; }
/* objetivos especiais do segmento, no passo a passo */
.goal-grid button.special { border-color: #C4B5FD88; background: #7C3AED33; }

/* aviso "saiu uma versão nova": não espremer o texto no celular */
.update-bar span { flex: 1 1 auto; min-width: 0; }
.update-bar .btn { flex: none; white-space: nowrap; }
@media (max-width: 860px) {
  .update-bar { left: 12px; right: 12px; transform: none; max-width: none; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 12px); }
}

/* ---------- painel de atendimento do WhatsApp ---------- */
.wa-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.stat small { display: block; margin-top: 2px; }
.wa-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; align-items: end; height: 150px; }
.wa-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.wa-col i { display: block; width: 100%; background: var(--primary); border-radius: 4px 4px 2px 2px; min-height: 2px; }
.wa-col:hover i { background: var(--magenta); }
.wa-col span { font-size: .62rem; color: var(--muted); text-align: center; height: 12px; overflow: hidden; white-space: nowrap; }
.wa-clock { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; align-items: end; height: 110px; }
.wa-clock-h { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.wa-clock-h i { display: block; width: 100%; background: var(--primary-100); border-radius: 3px; min-height: 2px; }
.wa-clock-h.top i { background: var(--grad); }
.wa-clock-h span { font-size: .62rem; color: var(--muted); text-align: center; height: 12px; }
.wa-empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 34px 20px; text-align: center; color: var(--muted); margin-bottom: 16px; }
.wa-empty svg { width: 36px; height: 36px; color: var(--primary); margin-bottom: 10px; }
.wa-empty p { margin: 0 auto 14px; max-width: 46ch; }
.wa-empty strong { color: var(--ink); }
.wa-rep-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wa-rep-sum { background: var(--primary-50); color: var(--ink); border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 16px; font-size: .95rem; display: flex; gap: 8px; align-items: flex-start; }
.wa-rep-sum svg { width: 18px; height: 18px; color: var(--primary-700); flex: none; margin-top: 2px; }
.wa-temas { display: grid; gap: 12px; }
.wa-tema { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.wa-tema-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wa-tema-h b { font-size: 1.02rem; }
.chip-n { background: var(--soft); color: var(--muted); border-radius: 999px; padding: 3px 10px; font-size: .78rem; white-space: nowrap; }
.wa-tema-ex { margin: 0 0 10px; color: var(--muted); font-style: italic; font-size: .92rem; }
.wa-tema-r { background: var(--soft); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 12px; }
.wa-tema-r span { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.wa-tema-r p { margin: 4px 0 0; font-size: .95rem; }
.wa-tema-acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .wa-cols { height: 120px; }
  .wa-clock span { display: none; }
  .wa-tema-acts .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- agenda do WhatsApp ---------- */
.ag-dia { margin-bottom: 16px; }
.ag-dia h3 { margin: 0 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ag-dia h3 .muted { font-size: .82rem; font-weight: 500; }
.ag-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ag-item:first-of-type { border-top: 0; }
.ag-item.cancelado { opacity: .55; }
.ag-hora { text-align: center; background: var(--primary-50); border-radius: var(--r-sm); padding: 8px 4px; }
.ag-hora b { display: block; font-size: 1.05rem; color: var(--primary-700); }
.ag-hora span { font-size: .74rem; color: var(--muted); }
.ag-item.cancelado .ag-hora { background: var(--soft); }
.ag-item.cancelado .ag-hora b { color: var(--muted); text-decoration: line-through; }
.ag-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ag-info b { font-size: 1rem; }
.ag-info span { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ag-tag { font-size: .78rem; border-radius: 999px; padding: 4px 12px; background: var(--soft); color: var(--muted); }
.ag-tag.concluido { background: #E7F7EE; color: #15803D; }
.ag-tag.cancelado { background: #FDECEF; color: #B91C4A; }
.wa-bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.wa-bk-grid .field { margin-bottom: 10px; }
.wa-bk-grid label { font-size: .84rem; }
@media (max-width: 720px) {
  .ag-item { grid-template-columns: 62px 1fr; }
  .ag-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .wa-bk-grid { grid-template-columns: 1fr; }
}

/* ---------- cobranças por Pix ---------- */
.cb-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cb-item:first-of-type { border-top: 0; }
.cb-item.cancelado { opacity: .55; }
.cb-val { display: flex; flex-direction: column; gap: 4px; }
.cb-val b { font-size: 1.15rem; }
.cb-tag { font-size: .74rem; border-radius: 999px; padding: 3px 10px; background: var(--soft); color: var(--muted); align-self: flex-start; }
.cb-tag.informado { background: #FEF3C7; color: #92400E; }
.cb-tag.pago { background: #E7F7EE; color: #15803D; }
.cb-tag.cancelado { background: #FDECEF; color: #B91C4A; }
.cb-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cb-info span { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cb-form { display: grid; grid-template-columns: 1.4fr .8fr 1.6fr auto; gap: 0 12px; align-items: end; }
.cb-form .field { margin-bottom: 0; }
.cb-form .btn { min-height: 44px; }
@media (max-width: 860px) {
  .cb-form { grid-template-columns: 1fr; gap: 10px; }
  .cb-item { grid-template-columns: 1fr; }
  .cb-val { flex-direction: row; align-items: center; gap: 10px; }
  .cb-acts { justify-content: flex-start; }
}

/* ---------- Viral Educa: ficha, problemas e exemplos ---------- */
.learn-first { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 22px; border-radius: var(--r-lg); background: var(--grad); color: #fff; text-decoration: none; box-shadow: 0 16px 40px rgba(124,58,237,.22); }
.learn-first .lf-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255,255,255,.2); }
.learn-first .lf-ico svg { width: 24px; height: 24px; }
.learn-first .lf-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.learn-first strong { font-size: 1.08rem; }
.learn-first span span { font-size: .92rem; opacity: .92; }
.learn-first .lf-go { flex: none; transform: rotate(180deg); opacity: .85; }
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.prob { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; }
.prob-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700); }
.prob-ico svg { width: 20px; height: 20px; }
.prob h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.prob p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.prob .btn { align-self: flex-start; }
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.pain > div { border-radius: var(--r-md); padding: 14px 16px; }
.pain span { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.pain svg { width: 16px; height: 16px; }
.pain p { margin: 0; font-size: .95rem; }
.pain-bad { background: #FDECEF; color: #8E1038; }
.pain-good { background: #E7F7EE; color: #14532D; }
.ladder { display: grid; gap: 10px; }
.ladder-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.lr-lvl { font-weight: 700; font-size: .9rem; }
.lr-text { margin: 0 0 4px; font-size: .97rem; }
.lr-why { margin: 0; font-size: .85rem; color: var(--muted); }
.fichas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ficha { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.ficha h3 { margin: 0 0 12px; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.ficha h3 span { font-size: 1.3rem; }
.ficha dl { margin: 0 0 12px; display: grid; gap: 9px; }
.ficha dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; }
.ficha dd { margin: 2px 0 0; font-size: .92rem; }
.ficha-intro { background: var(--primary-50); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 20px; }
.ficha-intro p { margin: 0 0 8px; } .ficha-intro p:last-child { margin: 0; }
.ficha-form { display: grid; gap: 18px; }
.ficha-f label { font-weight: 700; }
.ficha-f .small { display: block; margin: 2px 0 6px; }
.ficha-ex { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ficha-ex .chip { font-size: .82rem; }
.ficha-out { background: var(--surface); border: 1.5px solid var(--primary-100); border-radius: var(--r-lg); padding: 18px 20px; margin-top: 22px; }
.ficha-out h2 { margin: 0 0 12px; font-size: 1.15rem; }
.ficha-out pre { margin: 0 0 14px; }
@media (max-width: 760px) {
  .pain, .fichas { grid-template-columns: 1fr; }
  .ladder-row { grid-template-columns: 1fr; }
  .ladder-row .btn { justify-self: start; }
  .learn-first { flex-direction: column; align-items: flex-start; }
  .learn-first .lf-go { display: none; }
}
@media (max-width: 620px) {
  .section-head .small.muted { display: none; }
}

/* ---------- landing de vendas ---------- */
.l-eyebrow { display: inline-block; background: var(--primary-50); color: var(--primary-700); font-weight: 700; font-size: .86rem; letter-spacing: .02em; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.l-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.l-trust li { display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.l-trust svg { width: 18px; height: 18px; color: #15803D; flex: none; }
.l-trust.center { justify-content: center; margin-top: 26px; }
.l-pain { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 64px) 8px; }
.l-pain h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-variation-settings: "wdth" 78; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 10px; }
.l-kicker-solo { display: inline-block; margin-bottom: 10px; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; margin-top: 26px; }
.pain-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--magenta); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); }
.pain-card .pc-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FDECEF; color: #B91C4A; }
.pain-card .pc-ico svg { width: 19px; height: 19px; }
.pain-card strong { font-size: 1.05rem; line-height: 1.25; }
.pc-cost { display: flex; gap: 7px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.pc-cost svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--magenta); }
.pain-reveal { margin-top: 26px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.pain-reveal h3 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.12; color: var(--yellow); font-variation-settings: "wdth" 82; }
.pain-reveal p { margin: 0 0 10px; color: #D9D8F0; max-width: 60ch; }
.pain-reveal .pr-strong { color: #fff; font-weight: 700; margin: 0; }
.pain-reveal .btn { white-space: nowrap; }
.l-segs { max-width: 1180px; margin: 36px auto 0; padding: 0 clamp(16px, 5vw, 64px); text-align: center; }
.l-segs ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.l-segs li { background: var(--soft); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.l-chips { list-style: none; padding: 0; margin: 28px 0 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.l-chips li { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.l-steps .l-chips li, .l-chips li { counter-increment: none; border-top: 1px solid var(--line); padding-top: 8px; }
.l-chips li::before { content: none !important; display: none !important; }
.l-chips svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
.l-educa-grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.l-compare { max-width: 1180px; margin: 0 auto; padding: 64px clamp(16px, 5vw, 64px) 24px; }
.l-compare h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-variation-settings: "wdth" 80; margin: 0 0 8px; }
.cmp { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 190px 1fr 1fr; }
.cmp-head { background: var(--soft); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.cmp-head span { padding: 12px 18px; }
.cmp-head .cmp-bad { color: #B91C4A; }
.cmp-head .cmp-good { color: #15803D; }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-row > span { padding: 14px 18px; display: flex; gap: 9px; align-items: flex-start; font-size: .95rem; }
.cmp-row .cmp-t { font-weight: 700; background: var(--paper); }
.cmp-row svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.cmp-row .cmp-bad { color: var(--muted); } .cmp-row .cmp-bad svg { color: #B91C4A; }
.cmp-row .cmp-good svg { color: #15803D; }
.l-final { background: var(--grad); color: #fff; margin: 48px clamp(16px, 5vw, 64px) 0; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 60px) clamp(20px, 4vw, 48px); text-align: center; box-shadow: 0 24px 60px rgba(124,58,237,.25); }
.l-final h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-variation-settings: "wdth" 80; line-height: 1.05; margin: 0 auto 12px; max-width: 20em; }
.l-final p { margin: 0 auto 22px; max-width: 46em; font-size: 1.08rem; opacity: .95; }
.l-final .btn-primary { background: #fff; color: var(--primary-700); border-color: transparent; }
.l-final .small { display: block; margin-top: 12px; opacity: .9; }
@media (max-width: 860px) {
  .pain-reveal { grid-template-columns: 1fr; }
  .pain-reveal .btn { justify-self: start; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; padding: 6px 0; }
  .cmp-row .cmp-t { background: transparent; padding-bottom: 4px; }
  .cmp-row > span { padding: 5px 18px; }
  .cmp-row .cmp-bad { text-decoration: line-through; text-decoration-color: rgba(185,28,74,.35); }
}

/* ---------- Franquia de mensagens da Meta ---------- */
.wa-cota { margin-bottom: 16px; }
.wa-cota-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.wa-cota-h > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--primary-700); }
.wa-cota-h > div { flex: 1; min-width: 0; }
.wa-cota-h h3 { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.3; }
.wa-cota-h p { margin: 0; font-size: .92rem; }
.wa-cota-n { flex: none; font-size: 1.35rem; line-height: 1.1; text-align: right; }
.wa-cota-n span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.wa-cota .bar { height: 8px; }
.wa-cota.warn { border-color: #F4C77B; background: #FFF9EF; }
.wa-cota.warn .wa-cota-h > svg, .wa-cota.warn .wa-cota-n { color: #8A5A00; }
.wa-cota.warn .bar > i { background: #E8A33D; }
.wa-cota.over { border-color: #F0A8B8; background: #FDF2F5; }
.wa-cota.over .wa-cota-h > svg, .wa-cota.over .wa-cota-n { color: #8E1038; }
.wa-cota.over .bar > i { background: #D4365F; }
@media (max-width: 560px) {
  .wa-cota-h { gap: 10px; }
  .wa-cota-h > svg { display: none; }
  .wa-cota-n { font-size: 1.2rem; }
}

/* ---------- Cadastro do negócio no primeiro acesso ---------- */
.ob-wrap { min-height: 100dvh; display: grid; place-items: start center; padding: 28px 16px 60px; background: var(--bg); }
.ob-card { width: 100%; max-width: 620px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px 28px 24px; }
.ob-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ob-head .brand { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.ob-head .brand img { width: 26px; height: 26px; }
.ob-step { font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ob-bar { margin-bottom: 20px; }
.ob-card h1 { margin: 0 0 4px; font-size: 1.5rem; line-height: 1.2; }
.ob-sub { margin: 0 0 20px; }
.ob-why { display: flex; gap: 12px; background: var(--primary-50); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 22px; }
.ob-why svg { flex: none; width: 22px; height: 22px; color: var(--primary-700); margin-top: 1px; }
.ob-why p { margin: 0; font-size: .93rem; }
.ob-kinds { display: grid; gap: 10px; }
.ob-kind { display: grid; grid-template-columns: 26px 1fr; gap: 4px 12px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; cursor: pointer; font: inherit; color: inherit; }
.ob-kind svg { grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; color: var(--muted); }
.ob-kind strong { font-size: 1rem; }
.ob-kind span { font-size: .88rem; color: var(--muted); }
.ob-kind:hover { border-color: var(--primary-700); }
.ob-kind.on { border-color: var(--primary-700); background: var(--primary-50); }
.ob-kind.on svg { color: var(--primary-700); }
.ob-score { background: var(--primary-50); border-radius: var(--r-md); padding: 15px 17px; margin-top: 4px; }
.ob-score-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 9px; font-size: .93rem; }
.ob-score .bar { height: 8px; }
.ob-score p { margin: 9px 0 0; }
.ob-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.ob-foot .btn-primary { margin-left: auto; }
@media (max-width: 560px) {
  .ob-wrap { padding: 16px 12px 40px; }
  .ob-card { padding: 20px 18px 18px; border-radius: var(--r-md); }
  .ob-card h1 { font-size: 1.3rem; }
}

/* ---------- Meus produtos ---------- */
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pr-cat { margin: 24px 0 10px; font-size: 1.05rem; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pr-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-sm); }
.pr-card.off { opacity: .62; }
.pr-card-img { width: 92px; height: 92px; border-radius: var(--r-sm, 10px); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pr-card-img svg { width: 26px; height: 26px; color: var(--muted); }
.pr-card-body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pr-card-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.pr-card-h strong { flex: 1 1 auto; min-width: 0; font-size: 1rem; line-height: 1.25; }
.pr-preco { flex: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.pr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-desc { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pr-acts { display: flex; gap: 6px; margin-top: auto; }
.pr-meta { margin-top: 24px; }
.pr-meta > strong { display: flex; align-items: center; gap: 8px; }
.pr-meta > strong svg { width: 18px; height: 18px; }
.pr-meta > p { margin: 8px 0 0; }
.cb-warn { background: #FFF3E0; color: #8A5A00; }
/* editor */
.pr-form { display: grid; gap: 16px; }
.pr-foto { display: grid; gap: 8px; justify-items: start; }
.pr-thumb { width: 96px; height: 96px; border-radius: var(--r-md); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.pr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pr-thumb svg { width: 28px; height: 28px; color: var(--muted); }
.pr-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr-form .field { margin: 0; }
.pv-list { display: grid; gap: 8px; }
.pv-row { display: grid; grid-template-columns: 1fr 104px auto; gap: 8px; align-items: center; }
.pv-row:has(.pv-est) { grid-template-columns: 1fr 100px 84px auto; }
.pv-row input { margin: 0; }
@media (max-width: 640px) {
  .pr-grid { grid-template-columns: 1fr; }
  .pr-2 { grid-template-columns: 1fr; }
  .pv-row, .pv-row:has(.pv-est) { grid-template-columns: 1fr auto; grid-auto-flow: row; }
  .pv-row .pv-preco, .pv-row .pv-est { grid-column: 1; }
}

/* ---------- Do produto para o post ---------- */
.pr-escolha { display: grid; gap: 10px; margin-bottom: 4px; }
.pr-escolha .art-opt { width: 100%; }
.pr-escolha .svc-ico { overflow: hidden; }
.pr-escolha .svc-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Feed para o catálogo da Meta ---------- */
.pr-feed { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pr-feed-url { display: flex; gap: 8px; }
.pr-feed-url input { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.pr-feed-url .btn { flex: none; }
.pr-passos { margin-top: 16px; }
.pr-passos summary { cursor: pointer; font-weight: 600; font-size: .93rem; }
.pr-passos ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }
.pr-passos p { margin: 10px 0 0; }
@media (max-width: 560px) { .pr-feed-url { flex-direction: column; } .pr-feed-url .btn { align-self: flex-start; } }

/* ---- Viral Educa: galeria de prompts ---- */
.gal-lados { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.gal-lado { text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; color: var(--ink); font: inherit; }
.gal-lado strong { font-size: 1.05rem; }
.gal-lado span { font-size: .85rem; color: var(--muted); }
.gal-lado.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--primary-50); }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.gal-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.gal-media { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--soft); }
.gal-media.has-antes { grid-template-columns: 1fr 1fr; }
.gal-media figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.gal-media.vert figure { aspect-ratio: 3 / 4; }
.gal-media.vert:not(.has-antes) { justify-items: center; }
.gal-media.vert:not(.has-antes) figure { width: min(100%, 300px); }
.gal-media img, .gal-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-media.vert img { object-fit: contain; }
.gal-media figcaption { position: absolute; left: 8px; top: 8px; background: rgba(30,27,75,.78); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.gal-depois figcaption { background: var(--magenta); }
.gal-media .xadrez { background: repeating-conic-gradient(#ECEBF4 0 25%, #fff 0 50%) 0 0 / 18px 18px; }
.gal-media .xadrez img { object-fit: contain; }
.gal-badge { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(30,27,75,.78); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.gal-badge svg { width: 12px; height: 12px; }
.gal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gal-body h3 { margin: 0; font-size: 1.08rem; }
.gal-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: -6px; }
.gal-pedido { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: .95rem; }
.gal-pedido.vazio { font-style: italic; color: var(--ink-2); }
.gal-porque { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.gal-porque li { display: flex; gap: 6px; align-items: flex-start; }
.gal-porque svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green); }
.gal-prompt { font-size: .88rem; }
.gal-prompt summary { cursor: pointer; font-weight: 600; color: var(--primary-700); }
.gal-prompt p { margin: 8px 0 0; }
.gal-prompt p:first-of-type { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; background: var(--soft); border-radius: var(--r-sm); padding: 10px; overflow-wrap: anywhere; }
.gal-body .pc-foot { margin-top: auto; }
.gal-mais { margin-top: 18px; }
.pc-type.t-bg { background: #E0F2FE; color: #075985; }
.gal-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.gal-teaser:hover { border-color: var(--ink); }
.gt-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gt-fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); display: block; }
.gt-txt { display: grid; gap: 6px; justify-items: start; }
.gt-txt strong { font-size: 1.1rem; }
.gt-txt > span:not(.btn) { color: var(--muted); font-size: .93rem; }
@media (max-width: 640px) {
  .gal-teaser { grid-template-columns: 1fr; }
  .gt-fotos { grid-template-columns: repeat(4, 1fr); }
  .gal-lados { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gal-lado { padding: 10px 12px; }
  .gal-lado span { font-size: .8rem; }
}

/* landing v43: história, resultado real, tabela das redes e créditos */
.pain-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.l-bridge { font-size: 1.1rem; margin: 22px 0 0; max-width: 46em; color: var(--ink-2); }
.l-story { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 5vw, 64px) 0; }
.l-story h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-variation-settings: "wdth" 80; margin: 0 0 10px; }
.l-story p { max-width: 44em; font-size: 1.08rem; color: var(--ink-2); margin: 0; }
.l-feat { padding-top: 24px; }
.l-real { margin: 8px 0 0; }
.l-real-row { display: flex; align-items: center; gap: 12px; max-width: 560px; }
.l-real-row img { flex: 1; min-width: 0; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--soft); }
.l-real-arrow svg { width: 22px; height: 22px; transform: rotate(180deg); color: var(--primary); }
.l-real figcaption { margin-top: 8px; max-width: 560px; }
.l-an-card { position: relative; }
.l-example { justify-self: start; background: var(--soft); color: var(--muted); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.l-educa .l-kicker svg { width: 18px; height: 18px; }
.l-nets { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 5vw, 64px) 32px; }
.l-nets h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-variation-settings: "wdth" 80; margin: 0 0 16px; }
.l-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.l-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.l-table th, .l-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.l-table tr:last-child th, .l-table tr:last-child td { border-bottom: 0; }
.l-table thead th { font-weight: 800; white-space: nowrap; }
.l-table thead svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.l-table tbody th { font-weight: 700; color: var(--ink-2); }
#lcosts { min-width: 0; }
#lcosts td { white-space: nowrap; text-align: right; font-weight: 700; }
.l-credits { margin: 22px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; box-shadow: var(--shadow-sm); }
.l-credits summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.l-credits > p { color: var(--ink-2); margin: 0 0 12px; }
.l-credits .l-table-wrap { margin-bottom: 12px; }
.plan li strong { font-weight: 800; }
.l-nets .l-table { table-layout: fixed; }
.l-nets .l-table th:first-child { width: 22%; }
.l-story .l-sign { margin-top: 12px; font-weight: 700; color: var(--ink); font-size: 1rem; }
/* v46: etiquetas de exemplo real / ilustrativo / demonstração e bloco "Antes de contratar" */
.l-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; border: 1px solid transparent; }
.l-badge-real { background: #DCFCE7; color: #166534; border-color: #BBF7D0; margin-bottom: 10px; }
.l-badge-ilus { background: var(--soft); color: var(--ink-2); border-color: var(--line); justify-self: start; }
.l-badge-demo { background: #E0F2FE; color: #075985; border-color: #BAE6FD; }
.l-badge-phone { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; }
.hero .phone { margin-bottom: 34px; }
.l-wa-demo { display: grid; gap: 10px; justify-items: center; align-content: start; }
.l-terms { margin: 22px 0 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.l-terms h3 { margin: 0 0 8px; font-size: 1.1rem; }
.l-terms ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.l-terms li { margin-bottom: 6px; }
