:root {
  --bg: #FFF8F3;
  --bg-2: #FFF1E8;
  --surface: #FFFFFF;
  --ink: #17131F;
  --ink-2: #3A3346;
  --muted: #6E6779;
  --line: #EEE4DC;
  --brand: #FF4D2E;
  --brand-2: #FF2E63;
  --brand-soft: #FFE6DE;
  --violet: #6D4AFF;
  --ok: #138A43;
  --ok-soft: #DDF5E6;
  --err: #C8261E;
  --err-soft: #FDE3E1;
  --warn-soft: #FFF3C4;
  --yellow: #FFE600;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 19, 31, .04), 0 8px 24px rgba(23, 19, 31, .06);
  --shadow-lg: 0 24px 60px rgba(23, 19, 31, .14);
  --grad: linear-gradient(135deg, #FF6A3D 0%, #FF2E63 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px;
  padding: .78em 1.35em; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(255, 77, 46, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(255, 77, 46, .38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-danger { background: var(--err-soft); color: var(--err); }
.btn-sm { padding: .5em .95em; font-size: .85rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--brand); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Cartões e formulários */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: .35em; }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .35em; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=datetime-local],
input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .72em .9em; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 77, 46, .12); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.check { display: flex; gap: .55em; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.check input { margin-top: .25em; accent-color: var(--brand); }

.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .74rem; font-weight: 800; padding: .3em .7em;
  border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }
.badge.warn { background: var(--warn-soft); color: #7A5B00; }
.badge.dark { background: var(--ink); color: #fff; }

.flash { border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 14px; font-weight: 600; font-size: .92rem;
  background: var(--ok-soft); color: var(--ok); }
.flash.erro { background: var(--err-soft); color: var(--err); }
.flashes-floating { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 90; width: min(560px, 100% - 32px); }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.progress { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .6s ease; }

/* ---------- Site público ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.site-nav { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.12rem; text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: .5em .85em; border-radius: 999px; color: var(--ink-2); }
.nav-links a:hover { background: var(--bg-2); }
.nav-cta { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }

section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.path { border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: transform .18s, box-shadow .18s; border: 1px solid var(--line); background: #fff; }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.path.primary { background: var(--grad); color: #fff; border: 0; box-shadow: 0 16px 40px rgba(255, 46, 99, .28); }
.path .tag { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.path.primary .tag { color: #FFE3D9; }
.path:not(.primary) .tag { color: var(--brand); }
.path strong { font-size: 1.08rem; line-height: 1.25; }
.path p { font-size: .88rem; margin: 0; opacity: .82; }
.path .go { margin-top: 8px; font-weight: 800; font-size: .92rem; }
.path.soon { cursor: default; }
.path.soon:hover { transform: none; box-shadow: none; }
.path.soon .go { color: var(--muted); }
.soon-tag { display: inline-block; margin-left: 6px; padding: .1em .55em; border-radius: 999px; background: var(--brand-soft, #FFE9E2);
  color: var(--brand); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.soon h2 { font-size: 1.5rem; }
.soon p { max-width: 460px; margin: 10px auto 18px; }
.proof { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.proof .dots { display: flex; }
.proof .dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: var(--grad); }
.proof .dots span:nth-child(2) { background: linear-gradient(135deg, #6D4AFF, #B44DFF); }
.proof .dots span:nth-child(3) { background: linear-gradient(135deg, #12B886, #0CA678); }
.proof .dots span:first-child { margin-left: 0; }

/* Celular animado */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone { width: 300px; aspect-ratio: 9 / 17; border-radius: 38px; background: #0E0B14; padding: 10px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 30%, #3B2A55 0%, #1A1325 60%, #0E0B14 100%); }
.screen .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen .chip { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff;
  font-size: .68rem; font-weight: 700; padding: .4em .9em; border-radius: 999px; white-space: nowrap; }
.screen .cap { position: absolute; left: 14px; right: 14px; bottom: 26%; text-align: center; font-weight: 900; font-size: 1.45rem;
  line-height: 1.12; color: #fff; text-transform: uppercase; letter-spacing: -.01em;
  text-shadow: 0 3px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 6px 14px rgba(0, 0, 0, .5); }
.screen .cap b { color: var(--yellow); display: inline-block; transform: scale(1.1); margin: 0 .14em; }
.screen .bar { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 4px; background: rgba(255, 255, 255, .25); border-radius: 9px; overflow: hidden; }
.screen .bar span { display: block; height: 100%; width: 0; background: #fff; }
.ghost-phone { position: absolute; width: 230px; aspect-ratio: 9 / 18; border-radius: 30px; background: #120E1A;
  top: 9%; opacity: .6; filter: blur(.5px); overflow: hidden; border: 7px solid #0E0B14; }
.ghost-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ghost-phone.l { left: 2%; transform: rotate(-7deg); }
.ghost-phone.r { right: 2%; transform: rotate(7deg); }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg);
  font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite; }
.float-card .score { background: var(--ok-soft); color: var(--ok); border-radius: 8px; padding: .25em .5em; font-weight: 800; }
.float-card.a { left: -4%; top: 22%; }
.float-card.b { right: -2%; bottom: 18%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Ferramentas */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; }
.tool .demo { border-radius: 16px; background: var(--bg-2); padding: 16px; margin: 6px 0 18px; min-height: 160px; }
.tool p { color: var(--muted); font-size: .95rem; }
.tool .link { margin-top: auto; }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .38em .8em; font-size: .78rem; font-weight: 700; }
.langs .l { display: flex; gap: 10px; align-items: baseline; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: .9rem; }
.langs .l b { font-size: .7rem; color: var(--brand); width: 22px; }
.wave { display: flex; align-items: center; gap: 3px; height: 46px; }
.wave i { flex: 1; background: var(--ink); border-radius: 9px; animation: wave 1.2s ease-in-out infinite; }
.wave.alt i { background: var(--brand); animation-delay: -.6s; }
@keyframes wave { 50% { transform: scaleY(.35); } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.step .n { font-size: .8rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: .3em .8em; display: inline-block; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

.dark-band { background: var(--ink); color: #fff; border-radius: 34px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.dark-band p { color: #C9C2D6; }
.dark-band .eyebrow { color: #FF8A6B; }
.reframe-demo { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
.dark-band > * { min-width: 0; }
input[type=file] { max-width: 100%; }
.rf-wide { position: relative; width: 260px; aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, #3A2B52, #1B1426); overflow: hidden; }
.rf-wide .face { position: absolute; width: 30px; height: 38px; border-radius: 50% 50% 45% 45%; background: #E8B79A; top: 30%; }
.rf-wide .face.f1 { left: 22%; } .rf-wide .face.f2 { left: 68%; background: #C98F6E; }
.rf-wide .body { position: absolute; width: 56px; height: 60px; border-radius: 26px 26px 0 0; bottom: 0; background: #FF6A3D; }
.rf-wide .body.b1 { left: calc(22% - 13px); } .rf-wide .body.b2 { left: calc(68% - 13px); background: #6D4AFF; }
.rf-wide .crop { position: absolute; top: 0; bottom: 0; width: 28%; border: 3px solid var(--yellow); border-radius: 6px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .45);
  animation: pan 5s ease-in-out infinite; left: 12%; }
@keyframes pan { 0%, 40% { left: 12%; } 50%, 90% { left: 58%; } 100% { left: 12%; } }
.rf-arrow { font-size: 1.6rem; color: #FF8A6B; }
.rf-tall { width: 92px; aspect-ratio: 9 / 16; border-radius: 12px; background: linear-gradient(160deg, #3A2B52, #1B1426); position: relative; overflow: hidden; border: 2px solid #fff3; }
.rf-tall .face { position: absolute; left: 50%; top: 32%; transform: translateX(-50%); width: 34px; height: 42px; border-radius: 50% 50% 45% 45%; background: #E8B79A; animation: swap 5s steps(1) infinite; }
.rf-tall .body { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 70px; height: 62px; border-radius: 30px 30px 0 0; background: #FF6A3D; animation: swapb 5s steps(1) infinite; }
@keyframes swap { 0%, 49% { background: #E8B79A; } 50%, 100% { background: #C98F6E; } }
@keyframes swapb { 0%, 49% { background: #FF6A3D; } 50%, 100% { background: #6D4AFF; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.pill-list span { border: 1px solid #ffffff2e; border-radius: 999px; padding: .42em .9em; font-size: .85rem; font-weight: 600; }

.styles-row { display: flex; gap: 12px; flex-wrap: wrap; }
.style-prev { flex: 1; min-width: 150px; border-radius: 16px; padding: 22px 12px; text-align: center; background: linear-gradient(160deg, #2A1F3D, #120E1A);
  font-weight: 900; text-transform: uppercase; font-size: 1.05rem; color: #fff; letter-spacing: -.01em; }
.style-prev small { display: block; margin-top: 10px; font-size: .7rem; font-weight: 700; color: #ffffff99; text-transform: none; letter-spacing: 0; }
.sp-destaque { text-shadow: 0 2px 0 #000, 0 -2px 0 #000, 2px 0 #000, -2px 0 #000; }
.sp-destaque b { color: var(--yellow); }
.sp-caixa { text-transform: none; }  /* como sai no vídeo: Caixa não é em maiúsculas */
.sp-caixa span { background: #111; padding: .15em .35em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sp-caixa b { color: var(--brand); }
.sp-karaoke b { color: var(--yellow); }
.sp-neon b { color: #22FF88; text-shadow: 0 0 12px #22FF88; }
.sp-minimal { text-transform: none; font-weight: 700; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feature .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.stat .v { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.stat .l { color: var(--muted); font-size: .9rem; }
.stat.hl { background: var(--grad); color: #fff; border: 0; }
.stat.hl .l { color: #FFE3D9; }
.quote { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.quote blockquote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; font-size: 1.15rem; font-weight: 600; }
.quote blockquote footer { margin-top: 14px; font-size: .88rem; color: var(--muted); font-weight: 500; }

/* Planos */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; }
.billing-toggle button { border: 0; background: transparent; border-radius: 999px; padding: .55em 1.2em; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.billing-toggle button.on { background: var(--ink); color: #fff; }
.billing-toggle .save { color: var(--ok); font-size: .78rem; }
[hidden] { display: none !important; }
.plan-buy { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
button.link { background: none; border: 0; padding: 2px; font: inherit; cursor: pointer; }
.plan-once { align-self: center; }
.sub-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 14px; }
.pay-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 800; cursor: pointer; color: var(--ink); }
.pay-tabs button small { font-weight: 600; font-size: .78rem; color: var(--muted); }
.pay-tabs button.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.pix-qr { display: block; margin: 8px auto 12px; max-width: 100%; height: auto; image-rendering: pixelated; }
.pix-copy { display: flex; gap: 8px; }
.pix-copy input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: .8rem; }
.dot-wait { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-right: 6px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(255, 77, 46, .18); }
.plan .ribbon { position: absolute; top: -12px; left: 28px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; padding: .35em .9em; border-radius: 999px; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan .billed { font-size: .82rem; color: var(--muted); min-height: 1.3em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: .93rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23138A43' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: auto; }
.included { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.included h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.included ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--ink-2); }
.included li { padding: 4px 0; }
.team-card { margin-top: 18px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; }
.team-card p { color: #C9C2D6; margin: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

.cta-final { background: var(--grad); color: #fff; border-radius: 34px; padding: 64px 32px; text-align: center; }
.cta-final p { color: #FFE3D9; font-size: 1.1rem; }
.cta-final .btn-dark { background: #fff; color: var(--ink); }

.site-footer { padding: 48px 0 36px; color: var(--muted); font-size: .9rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Autenticação */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth .card { width: min(440px, 100%); padding: 32px; }
.auth .logo { margin-bottom: 22px; }
.auth .error { background: var(--err-soft); color: var(--err); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }

/* ---------- App ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.sidebar .logo { padding: 4px 10px 18px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: .68em .85em; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.side-link:hover { background: var(--bg); }
.side-link.on { background: var(--brand-soft); color: var(--brand); }
.side-link svg { width: 19px; height: 19px; flex: none; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.credit-box { background: var(--bg); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.credit-box .v { font-size: 1.35rem; font-weight: 800; }
.main { padding: 28px 32px 60px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head > div:first-child { flex: 1 1 320px; min-width: 0; }
.page-head h1 { font-size: 1.85rem; margin: 0; overflow-wrap: anywhere; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.topbar { display: none; }

.new-project { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 30px; }
.url-row { display: flex; gap: 10px; }
.url-row input { font-size: 1.02rem; padding: .9em 1.1em; border-radius: 999px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 12px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.drop { border: 2px dashed var(--line); border-radius: 18px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop strong { color: var(--ink); }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.opts label { font-size: .78rem; color: var(--muted); }
.obs { margin-top: 18px; }
.obs label { font-weight: 800; font-size: .95rem; }
.obs textarea { margin-top: 6px; border-color: var(--brand); background: #FFFCFA; font-size: .98rem; }
.obs .tiny { margin: 6px 0 0; }
.pick-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pick-group { margin-top: 16px; min-width: 0; }
.pick-label { font-size: .78rem; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.lock { display: inline-block; font-size: .68rem; font-weight: 800; color: var(--violet); background: #EEE9FF; border-radius: 999px; padding: .1em .6em; }
.seg-pick input:disabled + span { opacity: .45; cursor: not-allowed; }
.check input:disabled { cursor: not-allowed; }
@media (max-width: 1000px) {
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pick-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .opts, .pick-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .credits-explain th, .credits-explain td { padding: 9px 7px; font-size: .84rem; white-space: normal; }
  .credits-explain .badge { font-size: .68rem; }
  .reframe-demo { gap: 10px; }
  .rf-wide { width: auto; flex: 1 1 0; max-width: 260px; min-width: 0; }
  .rf-tall { width: 70px; flex: none; }
}

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.proj:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.proj .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); aspect-ratio: 16 / 9; }
.proj .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.proj .thumbs .empty { grid-column: 1 / -1; display: grid; place-items: center; color: #ffffff88; font-size: .85rem; }
.proj .body { padding: 14px 16px; }
.proj .t { font-weight: 700; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.clip { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.clip .media { position: relative; aspect-ratio: 9 / 16; background: #120E1A; }
.clip .media video, .clip .media img { width: 100%; height: 100%; object-fit: cover; }
.clip .media .over { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .85rem; text-align: center; padding: 16px; }
.clip .score { position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, .65); color: #fff; border-radius: 999px; padding: .3em .7em; font-size: .75rem; font-weight: 800; }
.clip .score.hot { background: var(--grad); }
.clip .info { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.clip .info .t { font-weight: 700; font-size: .93rem; line-height: 1.3; }
.clip .actions { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #ffffff33; border-top-color: #fff; animation: spin 1s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.status-card { display: flex; gap: 18px; align-items: center; }
.complete-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border-color: var(--brand); }
.status-card .grow .progress { margin-top: 10px; }

.editor { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.editor > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.nudge .btn { padding-inline: .4em; }
.editor .player { position: sticky; top: 20px; }
.editor video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 22px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: .8em 1em; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--brand); border-color: var(--brand); }
.tab { display: none; }
.tab.on { display: block; }
.trim { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nudge { display: flex; gap: 6px; margin-top: 6px; }
.nudge button { flex: 1; }
.transcript { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .9rem; background: #fff; }
.transcript .seg { padding: 6px 8px; border-radius: 8px; cursor: pointer; display: flex; gap: 10px; }
.transcript .seg:hover { background: var(--bg); }
.transcript .seg.in { background: var(--brand-soft); }
.transcript .seg time { color: var(--muted); font-size: .78rem; flex: none; width: 46px; padding-top: 2px; }
.style-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.style-pick label { cursor: pointer; margin: 0; flex: 1 1 130px; display: flex; }
.style-pick input { position: absolute; opacity: 0; pointer-events: none; }
.style-pick .style-prev { min-width: 0; padding: 16px 8px; font-size: .86rem; border: 3px solid transparent;
  display: flex; flex-direction: column; justify-content: center; transition: border-color .15s; }
.style-pick input:checked + .style-prev { border-color: var(--brand); }
.style-pick input:checked + .style-prev small { color: #fff; }
.style-pick input:checked + .style-prev small::before { content: "✓ "; color: var(--brand); }
.style-pick input:focus-visible + .style-prev { outline: 2px solid var(--brand); outline-offset: 2px; }
.seg-pick { display: inline-flex; background: var(--bg-2); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg-pick label { margin: 0; }
.seg-pick input { display: none; }
.seg-pick span { display: block; padding: .5em .9em; border-radius: 9px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink-2); }
.seg-pick input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery .item { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery .item .img { aspect-ratio: 9 / 16; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 12px; }
.gallery .item .img.r1x1 { aspect-ratio: 1; } .gallery .item .img.r16x9 { aspect-ratio: 16 / 9; } .gallery .item .img.r4x5 { aspect-ratio: 4 / 5; }
.gallery .item img { width: 100%; height: 100%; object-fit: cover; }
.gallery .item .meta { padding: 10px 12px; font-size: .8rem; }
.model-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.model-pick label { margin: 0; cursor: pointer; }
.model-pick input { display: none; }
.model-pick .m { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; height: 100%; }
.model-pick .m b { display: block; font-size: .9rem; }
.model-pick .m span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.model-pick input:checked + .m { border-color: var(--brand); background: var(--brand-soft); }
.model-pick input:disabled + .m { opacity: .45; cursor: not-allowed; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.kpi .v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.kpi .l { font-size: .82rem; color: var(--muted); }

.legal { padding: 30px 0 70px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }
.notice { background: var(--warn-soft); border-radius: 14px; padding: 14px 18px; font-size: .9rem; color: #5C4500; margin-bottom: 22px; }

.camp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.camp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.camp-card .prize { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.rank-row td:first-child { font-weight: 800; width: 50px; }

@media (max-width: 1000px) {
  .hero-grid, .dark-band, .quote { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 10px; }
  .tools, .steps, .plans, .included, .grid-3 { grid-template-columns: 1fr; }
  .stats, .kpis, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .editor .player { position: static; max-width: 340px; margin: 0 auto; }
  .dark-band { padding: 34px 22px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .hide-m { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open { flex-wrap: wrap; border-radius: 24px; }
  .site-nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; margin: 6px 0 0; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 30% 0 0; z-index: 80; transform: translateX(-102%); transition: transform .2s; height: 100%; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
  .topbar button { background: none; border: 0; padding: 6px; cursor: pointer; }
  .main { padding: 20px 16px 50px; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .paths, .grid-2, .trim { grid-template-columns: 1fr; }
  .url-row { flex-direction: column; }
  .float-card.a { left: 0; } .float-card.b { right: 0; }
  .ghost-phone { display: none; }
  .phone { width: 260px; }
  .cta-final { padding: 44px 20px; border-radius: 26px; }
  .stats, .kpis { grid-template-columns: 1fr 1fr; }
  .stat .v { font-size: 1.5rem; }
}
