/* Landing + login do Orca, na mesma linguagem do painel (FleckMart). */
body { background: var(--bg); color: var(--ink); min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; font-size: 15px; line-height: 1.5; }
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32; animation: drift 18s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(1) { width: 560px; height: 560px; left: -180px; top: -160px; background: radial-gradient(circle, oklch(0.585 0.215 277), transparent 65%); }
.bg-orbs span:nth-child(2) { width: 640px; height: 640px; right: -220px; top: 15%; background: radial-gradient(circle, oklch(0.72 0.16 300), transparent 65%); opacity: 0.18; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 480px; height: 480px; left: 35%; bottom: -240px; background: radial-gradient(circle, oklch(0.76 0.12 215), transparent 65%); opacity: 0.12; animation-delay: -12s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 5vw, 64px); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(8px); }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 13.5px; }
.top-nav > a:not(.btn):hover { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--side-title); }
.logo-word { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.logo-word b { color: var(--brand-2); font-weight: inherit; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 0 18px oklch(0.585 0.215 277 / 0.4); }
.logo-mark::before { content: 'O'; }
.logo-center { justify-content: center; margin-bottom: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-s); border: 1px solid transparent; background: transparent; color: var(--ink); font-weight: 550; font-size: 13.5px; text-decoration: none; transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform 60ms; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-lg { min-height: 56px; padding: 0 22px; font-size: 16px; font-weight: 650; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

main { position: relative; z-index: 1; flex: 1; }
.hero { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 64px) 40px; text-align: center; }
.eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-soft-ink); font-weight: 700; margin: 0 0 18px; }
.hero h1 { font-weight: 750; font-size: clamp(34px, 5.6vw, 62px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--brand-2); }
.lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--ink-3); font-size: 13px; margin: 14px 0 0; }

.hero-visual { position: relative; margin: 56px auto 0; max-width: 880px; display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; justify-content: center; text-align: left; }
.mock { border-radius: var(--radius-l); box-shadow: var(--shadow-2); overflow: hidden; text-align: left; }
.mock-phone { background: var(--p-bg); color: var(--p-ink); border: 1px solid var(--p-line); padding: 18px; font-size: 13px; transform: rotate(-2deg); animation: float 7s ease-in-out infinite; }
.mock-cover { background: var(--p-bg-2); border-radius: 12px; padding: 18px; display: grid; gap: 8px; }
.mock-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-ink-3); }
.mock-cover strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.mock-total { font-size: 22px; font-weight: 800; color: var(--p-accent); }
.mock-rows { padding: 12px 4px 4px; display: grid; gap: 10px; }
.mock-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--p-line); }
.mock-row small { display: block; color: var(--p-ink-3); font-size: 11px; }
.mock-row.is-optional { color: var(--p-ink-2); }
.mock-accept { margin-top: 14px; background: var(--p-ink); color: var(--p-bg); border-radius: 999px; padding: 12px; text-align: center; font-weight: 800; }
.mock-card { background: var(--surface); border: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; animation: float2 7s ease-in-out infinite; }
.mock-event { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.mock-event strong { display: block; font-size: 13.5px; font-weight: 600; }
.mock-event small { color: var(--ink-3); font-size: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); flex: none; }
.dot-ok { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.dot-star { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.features { max-width: 1120px; margin: 40px auto; padding: 0 clamp(20px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-1); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.feature:hover { border-color: var(--brand); box-shadow: var(--ring); }
.feature-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-soft-ink); font-size: 12.5px; font-weight: 700; }
.feature h3 { margin: 14px 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 13.5px; }

.pricing { max-width: 1120px; margin: 40px auto 80px; padding: 0 clamp(20px, 5vw, 64px); display: flex; justify-content: center; }
.price-card { width: min(100%, 460px); text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 36px 32px; box-shadow: var(--shadow-2); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 6px 0 20px; }
.price .num { font-size: 48px; font-weight: 750; letter-spacing: -0.03em; }
.price small { color: var(--ink-3); font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; color: var(--ink-2); font-size: 14px; }
.price-card li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); margin-right: 10px; vertical-align: middle; }

.auth-card { width: min(100%, 480px); margin: clamp(16px, 6vw, 60px) auto; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-l); box-shadow: var(--shadow-2); }
.auth-card h1 { font-weight: 700; letter-spacing: -0.025em; font-size: 26px; margin: 0 0 4px; }
.muted { color: var(--ink-3); margin: 0 0 20px; font-size: 14px; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
input { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; height: 52px; padding: 0 14px; color: var(--ink); font-size: 16px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
input:focus { border-color: var(--brand); box-shadow: var(--ring); }
input::placeholder { color: var(--ink-3); }
.form-error { margin: 0; color: var(--danger); font-size: 13px; }
.switch { text-align: center; color: var(--ink-3); font-size: 13.5px; margin: 16px 0 0; }
.switch a { color: var(--brand-soft-ink); }

.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 20px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

@media (max-width: 720px) {
  .top-nav > a:not(.btn) { display: none; }
  .hero-visual { grid-template-columns: 1fr; max-width: 360px; gap: 18px; }
  .hero-side { text-align: center; }
  .style-chips { justify-content: center; }
  .mock-card { display: none; }
  .hero-side-note { display: none; }
  .phone { width: min(100%, 300px); margin: 0 auto; }
  .steps3-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 84px; }
}

/* Cadastro em dois passos */
.steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.steps-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); }
.steps-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 570; font-size: 14.5px; }
.steps-back:hover { color: var(--ink); }
.steps-bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.steps-bar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width var(--t-slow) var(--ease); }
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.pack-card { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); text-align: left; font: inherit; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform 60ms; }
.pack-card:hover, .pack-card:focus-visible { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.pack-card:active { transform: translateY(1px); }
.pack-card.is-loading { min-height: 76px; background: linear-gradient(100deg, var(--surface) 40%, var(--surface-2) 50%, var(--surface) 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pack-card > svg:last-child { color: var(--ink-3); flex: none; }
.pack-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-soft-ink); flex: none; }
.pack-card-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pack-card-text strong { font-size: 15px; font-weight: 650; line-height: 1.2; }
.pack-card-text small { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.pack-chosen { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--brand-soft); margin: -6px 0 18px; font-size: 14px; }
.pack-chosen strong { color: var(--brand-soft-ink); }
.link-btn { margin-left: auto; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; padding: 0 4px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
[data-form="signup"] .auth-card, .auth-card:has([data-form="signup"]:not([hidden])) { width: min(100%, 600px); }

@media (max-width: 600px) {
  .packs { grid-template-columns: minmax(0, 1fr); }
  .auth-card { padding: 22px 18px; margin: 12px auto; }
}

/* Modo claro do site: mesma escolha do painel (theme.js). As esferas de fundo
   ficam mais discretas e o topo vira branco translúcido. */
[data-mode='light'] .bg-orbs span { opacity: 0.16; }
[data-mode='light'] .bg-orbs span:nth-child(2) { opacity: 0.1; }
[data-mode='light'] .bg-orbs span:nth-child(3) { opacity: 0.08; }
[data-mode='light'] .top { background: color-mix(in srgb, var(--surface) 84%, transparent); }
[data-mode='light'] .btn-ghost { background: var(--surface); }
[data-mode='light'] .btn-ghost:hover { background: var(--surface-2); }
[data-mode='light'] .logo-mark { box-shadow: 0 1px 2px oklch(0.2 0.02 272 / 0.15); }
[data-mode='light'] .mock-card { background: var(--surface); }
[data-mode='light'] .pack-card { background: var(--surface); }
[data-mode='light'] .pack-card:hover { background: var(--surface-2); }

/* Exemplos por ramo na landing */
.examples { max-width: 1120px; margin: 40px auto; padding: 0 clamp(20px, 5vw, 64px); text-align: center; }
.examples h2 { font-weight: 750; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 auto 12px; max-width: 24ch; }
.examples .lead { margin: 0 auto 22px; max-width: 56ch; }
.example-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.example-chips .chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform 60ms; }
.example-chips .chip:hover, .example-chips .chip:focus-visible { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.example-chips .chip:active { transform: translateY(1px); }
.example-chips .chip.is-loading { min-width: 140px; min-height: 40px; background: linear-gradient(100deg, var(--surface) 40%, var(--surface-2) 50%, var(--surface) 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

/* Hero: exemplo real dentro de um celular */
.phone { position: relative; width: 320px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #0b0b10; padding: 12px; box-shadow: var(--shadow-2), 0 30px 80px oklch(0.585 0.215 277 / 0.25); animation: float 8s ease-in-out infinite; }
.phone-top { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; border-radius: 0 0 16px 16px; background: #0b0b10; z-index: 2; display: grid; place-items: center; }
.phone-top span { width: 44px; height: 5px; border-radius: 99px; background: #2a2a33; }
.phone-screen { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #111; display: block; }
.hero-side { display: grid; gap: 14px; }
.hero-side-title { margin: 0; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.hero-side-note { margin: 0; color: var(--ink-3); font-size: 13px; }
.style-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.style-chips .chip { cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); transition: border-color var(--t-fast), background var(--t-fast); }
.style-chips .chip:hover { border-color: var(--brand); }
.style-chips .chip.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.mock-card { animation: none; }

/* Três passos */
.steps3 { max-width: 1120px; margin: 72px auto 24px; padding: 0 clamp(20px, 5vw, 64px); text-align: center; }
.steps3 h2, .examples h2, .faq h2 { font-weight: 750; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 auto 28px; max-width: 24ch; }
.steps3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.step3 { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--shadow-1); }
.step3-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; }
.step3 h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.step3 p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.features { margin-top: 16px; }

/* Preço e perguntas */
.price-note { margin: 12px 0 0; color: var(--ink-3); font-size: 13px; }
.faq { max-width: 720px; margin: 0 auto 80px; padding: 0 clamp(20px, 5vw, 64px); text-align: center; }
.faq-list { display: grid; gap: 8px; text-align: left; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-2); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.pricing { margin-bottom: 36px; }

/* Botão fixo no celular */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-hidden { display: none; }

@media (max-width: 720px) {
  .top { padding: 12px 16px; }
  .top-nav { gap: 8px; }
  .top-nav .btn { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
}
