@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #1b1411;
  --ink-2: #5b4e47;
  --cream: #fbf6ef;
  --paper: #ffffff;
  --line: #eadfd3;
  --brand: #e4572e;
  --brand-2: #c8341f;
  --gold: #ffc24b;
  --green: #2f9e6a;
  --blue: #2f6fe4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 30, 10, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--brand); margin: 0 0 .3rem; }
.eyebrow a { color: inherit; text-decoration: none; }
code { background: #f3eadf; padding: .05em .35em; border-radius: 6px; font-size: .9em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); padding: .7rem 1.2rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(200, 52, 31, .25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200, 52, 31, .3); }
.btn.big { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn.small { padding: .45rem .9rem; font-size: .85rem; }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink-2); }
.btn.danger { color: #b3261e; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 11px; background: conic-gradient(from 200deg, var(--gold), var(--brand), #d62976, var(--gold)); flex: none; }
.logo-mark::before { content: ""; position: absolute; inset: 9px; border: 3.5px solid #fff; border-top-color: transparent; border-radius: 50%; }
.logo-mark::after { content: ""; position: absolute; left: 15.25px; top: 6px; width: 3.5px; height: 12px; background: #fff; border-radius: 2px; }
.logo-on { background: linear-gradient(120deg, var(--brand), #d62976); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Public ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem clamp(1rem, 4vw, 3rem); position: sticky; top: 0; z-index: 10; background: rgba(251, 246, 239, .88); backdrop-filter: blur(10px); }
.top-nav { display: flex; align-items: center; gap: 1.3rem; }
.top-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 4rem; max-width: 1240px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand), #d62976); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero-cta form { margin: 0; }
.center-row { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--ink-2); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .4rem; }
.hero-phones { position: relative; height: 600px; }
.phone { position: absolute; width: 250px; aspect-ratio: 9 / 16; border-radius: 34px; padding: 9px; background: #111; box-shadow: 0 30px 60px rgba(40, 20, 10, .3); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone.p1 { left: 0; top: 60px; transform: rotate(-7deg); }
.phone.p2 { left: 32%; top: 0; z-index: 2; width: 270px; }
.phone.p3 { right: 0; top: 80px; transform: rotate(7deg); }
.band { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; }
.band > h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); text-align: center; font-weight: 800; margin-bottom: 1.5rem; }
.band .lead.center { margin: -.6rem auto 2rem; }
.band.dark { max-width: none; background: var(--ink); color: #fff; }
.band.dark > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.muted-d { color: #cbbdb2; margin-top: 2rem; }
.steps, .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps article { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fde6dc; color: var(--brand-2); font-weight: 800; margin-bottom: .8rem; }
.steps p, .card-d p { margin: 0; color: var(--ink-2); }
.card-d { background: #2a211d; border-radius: var(--radius); padding: 1.6rem; border: 1px solid #3b2f29; }
.card-d h3 { color: var(--gold); }
.card-d p { color: #e0d4ca; }
.segs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.seg { background: var(--paper); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: .2rem; opacity: .6; border: 2px dashed var(--line); }
.seg.on { opacity: 1; border: 2px solid var(--brand); box-shadow: var(--shadow); }
.seg-ico { font-size: 1.8rem; }
.seg small { color: var(--ink-2); }
.seg.on small { color: var(--green); font-weight: 700; }
.final { text-align: center; }
.final .lead { margin: 0 auto; }
.foot { display: flex; justify-content: space-between; padding: 2rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line); font-weight: 700; }

/* Auth */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: var(--paper); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .9rem; }
.auth-card h1 { font-size: 1.6rem; }

/* Forms */
label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
input, select, textarea { font: inherit; font-weight: 400; padding: .7rem .85rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(228, 87, 46, .15); }
input[type="color"] { padding: .2rem; height: 46px; }
input[type="checkbox"] { width: auto; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.alert { background: #fde8e6; color: #8c1d18; padding: .7rem 1rem; border-radius: 12px; margin: 0 0 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.switch { flex-direction: row; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--brand); }
.daypick, .tagpick { display: flex; flex-wrap: wrap; gap: .45rem; }
.daypick label, .tagpick label { cursor: pointer; }
.daypick input, .tagpick input { position: absolute; opacity: 0; pointer-events: none; }
.daypick span, .tagpick span { display: inline-block; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; }
.daypick input:checked + span, .tagpick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.daypick input:focus-visible + span, .tagpick input:focus-visible + span { outline: 3px solid rgba(228, 87, 46, .4); }
.form-grid { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.form-grid .col { display: flex; flex-direction: column; gap: 1rem; }
.photo-drop { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); border: 2px dashed var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hint { position: relative; z-index: 1; background: rgba(255, 255, 255, .92); padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; }
.photo-drop img:not([hidden]) ~ .photo-hint { align-self: end; margin-bottom: 1rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .5rem; }
.actions form { margin: 0; }
.danger-zone { margin-top: 2.5rem; }
.stack { display: flex; flex-direction: column; gap: .8rem; }
.settings { display: flex; flex-direction: column; gap: 1.2rem; max-width: 860px; }
.settings .panel { display: flex; flex-direction: column; gap: 1rem; }
.copyrow { display: flex; gap: .5rem; }
.copyrow input { font-size: .85rem; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: #fff; padding: 1.4rem 1rem; display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 0; height: 100vh; }
.side .logo { color: #fff; }
.company-chip { display: flex; gap: .7rem; align-items: center; background: #2a211d; border-radius: 14px; padding: .75rem; }
.company-chip .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.company-chip strong { display: block; font-size: .9rem; line-height: 1.2; }
.company-chip small { color: #bba99d; font-size: .75rem; }
.side nav { display: flex; flex-direction: column; gap: .25rem; }
.side nav a { color: #e8ddd4; text-decoration: none; padding: .65rem .8rem; border-radius: 12px; font-weight: 500; }
.side nav a:hover { background: #2a211d; }
.side nav a.on { background: var(--brand); color: #fff; font-weight: 700; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: .7rem; }
.side-foot .muted { color: #bba99d; font-size: .9rem; }
.demo-note { font-size: .8rem; color: #ffd98a; margin: 0; }
.main { padding: 2rem clamp(1rem, 3vw, 2.6rem) 4rem; max-width: 1200px; width: 100%; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.head h1 { margin: 0; }
.head-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.head-actions form { margin: 0; }
.pill { display: inline-block; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eee; margin: 0; }
.pill.on { background: #dff4e9; color: #1d7a4f; }
.pill.off { background: #f3e6e2; color: #8c3b26; }
.notice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fff4d9; border: 1px solid #f5dc9e; padding: .8rem 1rem; border-radius: 14px; margin-bottom: 1rem; }
.notice.soft { background: #fff; border-color: var(--line); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.kpi { background: var(--paper); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.kpi small { color: var(--ink-2); font-size: .8rem; }
.kpi strong { display: block; font-size: 1.9rem; font-weight: 800; }
.panel { background: var(--paper); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.panel-head a { font-size: .9rem; }
.empty { background: var(--paper); border-radius: var(--radius); padding: 2.4rem; text-align: center; box-shadow: var(--shadow); }
.empty.big { padding: 3.5rem 2rem; }
.empty p { color: var(--ink-2); max-width: 32em; margin: 0 auto 1.3rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.table th { color: var(--ink-2); font-weight: 600; }

/* Story cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.scard { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .5rem; }
.sthumb { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #2a211d; box-shadow: 0 8px 20px rgba(40, 20, 10, .15); transition: transform .15s; }
.scard:hover .sthumb { transform: translateY(-3px); }
.sthumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 8px; top: 8px; font-size: .7rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; background: #fff; color: var(--ink); }
.badge.big { position: static; font-size: .85rem; padding: .45rem .9rem; }
.badge.wait { background: #fff1c7; color: #7a5600; }
.badge.ok { background: #dde8ff; color: #1d4bb0; }
.badge.done { background: #dff4e9; color: #1d7a4f; }
.badge.ready { background: #ffe0d3; color: #a33a17; }
.badge.off { background: #eee; color: #666; }
.badge.err { background: #fde8e6; color: #8c1d18; }
.smeta { display: flex; flex-direction: column; line-height: 1.3; }
.smeta strong { font-size: 1.05rem; }
.smeta span { font-weight: 500; font-size: .9rem; }
.smeta small { color: var(--ink-2); font-size: .78rem; }

/* Stories page */
.daybar { display: flex; gap: .4rem; align-items: center; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.4rem; }
.dchip { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: .5rem .3rem; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); }
.dchip small { font-size: .72rem; color: var(--ink-2); }
.dchip strong { font-size: 1.1rem; }
.dchip.today { border-color: var(--brand); }
.dchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dchip.on small { color: #d8cbc1; }
.nav-arrow { font-size: 1.6rem; text-decoration: none; color: var(--ink); padding: 0 .4rem; }
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.2rem; }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; background: var(--paper); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.tl-why { font-size: .82rem; }
.tl-why strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); margin-top: .2rem; }
.tl-why ul { margin: .2rem 0 .6rem; padding-left: 1.1rem; color: var(--ink-2); }

/* Story detail */
.story-layout { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 2rem; align-items: start; }
.story-preview { position: sticky; top: 1.5rem; }
.story-preview img { border-radius: 26px; box-shadow: 0 24px 50px rgba(40, 20, 10, .25); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.story-side .actions.wrap { margin: 0 0 1.2rem; }
.why dt { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); margin-top: .8rem; }
.why dd { margin: .2rem 0 0; }
.why ul { margin: 0; padding-left: 1.1rem; }
.alts { display: flex; flex-wrap: wrap; gap: .4rem; }
.alts span { background: #f6efe7; padding: .3rem .7rem; border-radius: 999px; font-size: .85rem; }
.alts span.win { background: var(--ink); color: #fff; }
.alts small { opacity: .7; }

/* Product list */
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.pitem { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; background: var(--paper); border-radius: var(--radius); padding: .8rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.pitem:hover { transform: translateY(-2px); }
.pitem.inactive { opacity: .55; }
.pphoto { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3eadf; display: grid; place-items: center; color: var(--ink-2); font-size: .75rem; }
.pphoto img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pinfo small { color: var(--ink-2); font-size: .78rem; }
.price s { color: var(--ink-2); font-size: .85rem; }
.price b { color: var(--brand-2); }
.days { display: flex; gap: 3px; }
.days span { width: 20px; height: 20px; display: grid; place-items: center; font-size: .65rem; border-radius: 6px; background: #f1e9df; color: #b6a597; font-weight: 700; }
.days span.on { background: var(--ink); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-phones { height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 200px; } .phone.p2 { width: 220px; left: 30%; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .story-layout, .form-grid { grid-template-columns: 1fr; }
  .story-preview { position: static; max-width: 360px; }
  .form-grid .col:first-child { max-width: 340px; }
}
@media (max-width: 760px) {
  .top-nav a:not(.btn):not([href="/entrar"]) { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: .8rem 1rem; gap: .8rem; }
  .company-chip, .side-foot .demo-note { display: none; }
  .side nav { flex-direction: row; overflow-x: auto; width: 100%; order: 3; }
  .side nav a { white-space: nowrap; padding: .5rem .8rem; }
  .side-foot { margin: 0 0 0 auto; flex-direction: row; align-items: center; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 120px 1fr; }
  .phone { width: 160px; } .phone.p2 { width: 180px; left: 27%; }
  .hero-phones { height: 380px; }
}

/* v2: sales sequences, scheduling, Instagram setup */
.phase { font-weight: 700; padding: .05rem .45rem; border-radius: 999px; font-size: .72rem; }
.ph-antecipacao { background: #efe6ff; color: #5b2bb5; }
.ph-desejo { background: #ffe6ef; color: #b0245a; }
.ph-conversao { background: #dff4e9; color: #1d7a4f; }
.ph-urgencia { background: #ffe8cc; color: #a64b00; }
.seqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: .6rem; }
.seq { border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .45rem; }
.seq-steps { display: flex; flex-wrap: wrap; gap: .35rem; }
.step { text-decoration: none; font-size: .8rem; padding: .3rem .6rem; border-radius: 10px; }
.step b { margin-right: .2rem; }
.row4 { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.howto { background: #faf5ee; border-radius: 12px; padding: .7rem 1rem; }
.howto summary { cursor: pointer; font-weight: 700; }
.howto ol { padding-left: 1.2rem; margin: .6rem 0; }
.howto li { margin-bottom: .35rem; }
p.notice { display: block; }
@media (max-width: 760px) { .row4 { grid-template-columns: 1fr; } }

/* v3: StoryOn wallet */
.balance-chip { display: flex; flex-direction: column; background: #2a211d; border: 1.5px solid #3b2f29; border-radius: 14px; padding: .7rem .8rem; text-decoration: none; color: #fff; line-height: 1.25; }
.balance-chip strong { font-size: 1.15rem; }
.balance-chip small { color: #bba99d; font-size: .75rem; }
.balance-chip.low { border-color: #e4572e; }
.balance-chip.low small:last-child { color: #ffb199; }
.notice.stop { background: #fde8e6; border-color: #f4b8b1; color: #6d1a14; }
.wallet-box { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1rem; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; text-decoration: none; box-shadow: var(--shadow); }
.wallet-box small { display: block; color: #cbbdb2; font-size: .78rem; }
.wallet-box strong { font-size: 1.35rem; font-weight: 800; }
.kpi small + strong + small { display: block; }
.hero-kpi { background: linear-gradient(135deg, var(--brand), #d62976); color: #fff; }
.hero-kpi small { color: #ffe3da; }
.recharge { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; margin-top: .8rem; }
.rchip { cursor: pointer; }
.rchip input { position: absolute; opacity: 0; }
.rchip span { display: flex; flex-direction: column; padding: .7rem 1.1rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; min-width: 130px; }
.rchip small { color: var(--ink-2); font-weight: 500; }
.rchip input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(228, 87, 46, .15); }
.rchip input:focus-visible + span { outline: 3px solid rgba(228, 87, 46, .4); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pos { color: var(--green); font-weight: 700; }
.neg { color: #a33a17; font-weight: 600; }
/* landing pricing */
.hero .brand-line { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; color: var(--ink-2); margin: 0 0 .6rem; }
.price-tag { display: inline-flex; align-items: baseline; gap: .4rem; background: #fff; border-radius: 16px; padding: .6rem 1rem; box-shadow: var(--shadow); font-weight: 600; margin-top: .4rem; }
.price-tag strong { font-size: 1.6rem; font-weight: 800; color: var(--brand-2); }
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: start; }
.price-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 2rem; }
.price-card .big-price { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--gold); }
.price-card ul { padding-left: 1.1rem; color: #e0d4ca; }
.price-card li { margin-bottom: .4rem; }
.faq details { background: #fff; border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: .7rem; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: .5rem 0 0; color: var(--ink-2); }
@media (max-width: 980px) { .pricing, .two-col { grid-template-columns: 1fr; } .wallet-box { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .balance-chip { display: none; } }

/* v4: simple product form, weekly distribution */
.step { border: 1.5px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .9rem; background: #fff; }
.step legend { font-weight: 800; padding: 0 .4rem; }
.legend-sm { font-weight: 600; font-size: .9rem; margin: 0 0 .4rem; }
.daypick.fixed input:checked + span { background: var(--brand); border-color: var(--brand); }
.daypick input:disabled + span { opacity: .35; cursor: not-allowed; }
.ai-status { margin: 0; padding: .55rem .8rem; border-radius: 12px; font-size: .88rem; background: #f3eadf; }
.ai-status.busy { background: #fff4d9; }
.ai-status.ok { background: #efe6ff; color: #3d1d80; }
.ai-status.err { background: #fde8e6; color: #8c1d18; }
.ai-filled { border-color: #8f5cf0 !important; background: #faf7ff !important; }
label small.muted { font-weight: 400; }
.week { overflow-x: auto; }
.week table { border-collapse: collapse; width: 100%; min-width: 620px; }
.week th, .week td { padding: .45rem .4rem; text-align: center; border-bottom: 1px solid var(--line); font-size: .85rem; }
.week th:first-child, .week td:first-child { text-align: left; }
.week td.on span { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.week td.fix span { background: var(--brand); }
.week td.na { color: #cbbdb2; }
.week th.today { color: var(--brand-2); }
.week small { color: var(--ink-2); }
.freq-tag { font-size: .72rem; color: var(--ink-2); }
.dot-leg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.dot-leg.fix { background: var(--brand); }

/* v5: Instagram connection */
.ig-status { display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: 14px; background: #f6efe7; margin-bottom: 1rem; }
.ig-status strong { display: block; }
.ig-status span { color: var(--ink-2); font-size: .9rem; }
.ig-dot { width: 14px; height: 14px; border-radius: 50%; background: #b6a597; flex: none; }
.ig-conectado { background: #e6f6ee; } .ig-conectado .ig-dot { background: var(--green); }
.ig-expirado { background: #fff1d6; } .ig-expirado .ig-dot { background: #e0a100; }
.ig-erro { background: #fde8e6; } .ig-erro .ig-dot { background: #c62828; }
.ig-btn { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.ig-panel { max-width: 860px; }
.ig-panel .actions form { margin: 0; }
.howto.dev { margin-top: 1rem; border: 1px dashed #c9b8a8; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid #f3e6da; border-top-color: var(--brand); margin: 0 auto 1rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { max-width: 820px; }
.legal h1 { margin-bottom: .2rem; }
.legal h2 { margin-top: 1.6rem; }

/* v6: BYOK */
.ai-panel { max-width: 860px; }
.ai-panel .actions form { margin: 0; }
.ai-form { margin-top: 1rem; }
.ai-err { display: block; color: #8c1d18; font-size: .85rem; }

.ai-status.warn { background: #fff4d9; color: #6b4a00; }
.ai-status.warn a { font-weight: 700; }

/* v8: platform admin */
.admin-panel { max-width: 860px; }
.admin-panel h3 { margin-top: 1.4rem; font-size: 1rem; }
.urls dt { font-weight: 700; font-size: .85rem; margin-top: .6rem; }
.urls dd { margin: .15rem 0 0; }
.urls code { word-break: break-all; }
.test-result { border-radius: 14px; padding: .9rem 1rem; margin: 1rem 0; background: #f6efe7; }
.test-result.ok { background: #e6f6ee; }
.test-result.aviso { background: #fff4d9; }
.test-result.erro { background: #fde8e6; }
.test-result p { margin: .3rem 0; }
.test-result ul { margin: .3rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
