/* Conversão Fácil — landing page (HTML/CSS puro) */

:root {
  color-scheme: dark;
  --bg: #0c0e16;
  --bg-2: #11141f;
  --surface: #161a27;
  --surface-2: #1d2233;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #f3f4f8;
  --text-2: #a7adc2;
  --text-3: #6f7690;
  --blue: #3d6bff;
  --violet: #8a6cff;
  --grad: linear-gradient(115deg, #3d6bff 0%, #8a6cff 100%);
  --wa: #25d366;
  --wa-bg: #0b141a;
  --wa-head: #1f2c34;
  --wa-out: #005c4b;
  --wa-in: #202c33;
  --pix: #3ed6a6;
  --boleto: #f5c451;
  --cart: #b79cff;
  --paid: #3ed6a6;
  --radius: 14px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 1rem; }
.dim { color: var(--text-3); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons / links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.5rem; padding: 0 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: transform 150ms, filter 150ms, background-color 150ms; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 3.25rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgb(61 107 255 / 0.8); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line-2); }
.btn-light { background: #fff; color: #14162a; }
.btn-light:hover { filter: brightness(0.94); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 0.1); }
.link-quiet { font-size: 0.875rem; font-weight: 500; color: var(--text-2); }
.link-quiet:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform 150ms; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(12 14 22 / 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.brand img { height: 2.25rem; width: auto; }
.nav, .header-actions { display: none; }
.nav { gap: 1.75rem; }
.nav a { font-size: 0.875rem; color: var(--text-2); transition: color 150ms; }
.nav a:hover { color: var(--text); }
.header-actions { align-items: center; gap: 1.25rem; }
.menu-toggle { display: inline-flex; padding: 0.5rem; margin-right: -0.5rem; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 1rem; padding-bottom: 1.25rem; }
.mobile-menu nav > a:not(.btn) { padding: 0.625rem 0; font-size: 1rem; color: var(--text-2); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 0.75rem; height: 3rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-aura { position: absolute; inset: -20% -10% auto auto; width: 46rem; height: 46rem; max-width: 120%; background: radial-gradient(closest-side, rgb(138 108 255 / 0.28), transparent 70%), radial-gradient(closest-side at 30% 60%, rgb(61 107 255 / 0.25), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
.kicker { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.pulse { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--wa); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa); opacity: 0; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.hero h1 { margin-top: 1.25rem; font-size: clamp(2.5rem, 9vw, 4.75rem); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em; text-wrap: balance; }
.lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.hero-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.hero-facts { margin-top: 3rem; display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero-facts dt { font-weight: 700; font-size: 0.9375rem; }
.hero-facts dd { font-size: 0.8125rem; color: var(--text-3); }

/* phone */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 4.5rem 0 2rem; }
.phone { position: relative; width: 100%; max-width: 19rem; border-radius: 2.25rem; background: var(--wa-bg); border: 8px solid #1b1f2c; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgb(0 0 0 / 0.8), 0 0 120px -40px rgb(138 108 255 / 0.6); overflow: hidden; }
.phone-notch { position: absolute; top: 0.5rem; left: 50%; width: 5rem; height: 1.25rem; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; }
.wa-head { display: flex; align-items: center; gap: 0.625rem; padding: 2.25rem 0.875rem 0.75rem; background: var(--wa-head); }
.wa-head strong { display: block; font-size: 0.8125rem; font-weight: 600; }
.wa-head small { font-size: 0.6875rem; color: var(--text-2); }
.wa-avatar { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--grad); font-size: 0.75rem; font-weight: 700; color: #fff; }
.wa-body { display: flex; flex-direction: column; gap: 0.5rem; min-height: 22rem; padding: 1rem 0.75rem 1.25rem; background-color: var(--wa-bg); background-image: radial-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa-msg { max-width: 86%; padding: 0.5rem 0.625rem 0.375rem; border-radius: 0.625rem; font-size: 0.8125rem; line-height: 1.45; }
.wa-msg b { font-weight: 700; }
.wa-msg time { display: block; margin-top: 0.125rem; text-align: right; font-size: 0.625rem; color: rgb(255 255 255 / 0.55); }
.wa-msg.out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0.125rem; }
.wa-msg.in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0.125rem; }

.float { position: absolute; display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border-radius: 0.875rem; background: rgb(22 26 39 / 0.92); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.9); backdrop-filter: blur(8px); font-size: 0.75rem; }
.float strong { display: block; font-size: 0.8125rem; }
.float small { color: var(--text-3); white-space: nowrap; }
.float-a { top: 0; left: 50%; transform: translateX(-50%); }
.float-b { bottom: 4.5rem; right: 0; color: var(--pix); }
.float-b strong { color: var(--text); }
.float-c { bottom: 0.5rem; left: 8%; color: var(--paid); border-color: rgb(62 214 166 / 0.4); }
.float-c strong { color: var(--paid); }

.ftag { display: inline-flex; align-items: center; height: 1.375rem; padding: 0 0.5rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; border: 1px solid currentColor; }
.ftag-pix { color: var(--pix); background: rgb(62 214 166 / 0.1); }
.ftag-boleto { color: var(--boleto); background: rgb(245 196 81 / 0.1); }
.ftag-cart { color: var(--cart); background: rgb(183 156 255 / 0.1); }
.ftag-paid { color: var(--paid); background: rgb(62 214 166 / 0.16); }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 0.75rem; }
.sec-index { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; color: var(--violet); }
.sec-index::before { content: "/ "; color: var(--text-3); }
.sec-head h2 { font-size: clamp(1.75rem, 5vw, 2.875rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; max-width: 50rem; }

/* ---------- momentos (lista editorial) ---------- */
.moments { padding: 5rem 0; border-top: 1px solid var(--line); }
.moment-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.moment { display: grid; gap: 0.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.moment-name .ftag { height: 1.875rem; padding: 0 0.875rem; font-size: 0.8125rem; }
.moment-problem { font-size: 1.125rem; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.moment-fix { position: relative; padding-left: 1.5rem; color: var(--text-2); line-height: 1.6; }
.moment-fix::before { content: "→"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }

/* ---------- story (scrollytelling) ---------- */
.story { padding: 5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-grid { margin-top: 3rem; display: grid; gap: 2rem; }
.story-stage { position: sticky; top: 4.75rem; z-index: 2; }
.stage { position: relative; height: 22rem; border-radius: 1.25rem; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 2.25rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 1rem 50%, #3a3f52 4px, transparent 5px), radial-gradient(circle at 1.75rem 50%, #3a3f52 4px, transparent 5px), radial-gradient(circle at 2.5rem 50%, #3a3f52 4px, transparent 5px); }
.layer { position: absolute; inset: 2.25rem 0 0; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; opacity: 0; transform: translateY(10px); transition: opacity 350ms ease, transform 350ms ease; pointer-events: none; }
.layer.is-active { opacity: 1; transform: none; }
.screen-title { font-size: 0.9375rem; font-weight: 700; }
.toast { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; border-radius: 0.75rem; background: linear-gradient(115deg, rgb(61 107 255 / 0.22), rgb(138 108 255 / 0.22)); border: 1px solid rgb(138 108 255 / 0.5); }
.toast strong { display: block; font-size: 0.875rem; }
.toast small { font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); }
.toast-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--pix); box-shadow: 0 0 0 4px rgb(62 214 166 / 0.2); }
.row.ghost { display: flex; justify-content: space-between; padding: 0.875rem; border-radius: 0.75rem; border: 1px solid var(--line); }
.row.ghost span { height: 0.5rem; border-radius: 999px; background: var(--surface-2); }
.row.ghost span:first-child { width: 45%; }
.row.ghost span:last-child { width: 18%; }
.field { display: grid; gap: 0.375rem; }
.field label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.input { padding: 0.5rem 0.75rem; border-radius: 0.5rem; background: var(--bg); border: 1px solid var(--line-2); font-size: 0.8125rem; }
.input.tall { line-height: 1.6; color: var(--text-2); }
.input i { font-style: normal; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; color: var(--violet); }
.pills { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pill { padding: 0.25rem 0.625rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.75rem; color: var(--text-3); }
.pill.on { color: var(--text); border-color: rgb(138 108 255 / 0.6); background: rgb(138 108 255 / 0.16); }
.order-card { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0.875rem; border-radius: 0.75rem; border: 1px solid var(--line-2); }
.order-card strong { display: block; font-size: 0.875rem; }
.order-card small { font-size: 0.75rem; color: var(--text-3); }
.wa-button { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.4rem 0.75rem; border-radius: 0.5rem; background: var(--wa); color: #06281a; font-size: 0.8125rem; font-weight: 700; box-shadow: 0 0 0 4px rgb(37 211 102 / 0.18); }
.wa-msg.solo { max-width: 100%; align-self: stretch; }
.ok-line { font-size: 0.75rem; font-weight: 600; color: var(--pix); }

.story-steps { display: grid; gap: 0.75rem; }
.step { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; transition: border-color 250ms, background-color 250ms, opacity 250ms; opacity: 0.55; }
.step.is-active { opacity: 1; border-color: rgb(138 108 255 / 0.55); background: rgb(138 108 255 / 0.07); }
.step-n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; flex-shrink: 0; transition: all 250ms; }
.step.is-active .step-n { background: var(--grad); border-color: transparent; color: #fff; }
.step h3 { font-size: 1.125rem; font-weight: 700; }
.step p { margin-top: 0.375rem; color: var(--text-2); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- builder ---------- */
.builder { padding: 5rem 0; }
.builder-grid { margin-top: 3rem; display: grid; gap: 2.5rem; align-items: center; }
.builder-controls { display: grid; gap: 1.5rem; }
.ctrl { display: grid; gap: 0.625rem; }
.ctrl-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.seg { display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 0.25rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); max-width: 26rem; }
.seg-btn { height: 2.5rem; padding: 0 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--text-2); transition: all 200ms; }
.seg-btn.is-active { background: var(--grad); color: #fff; }
.text-input { height: 3rem; max-width: 26rem; padding: 0 1rem; border-radius: 0.75rem; background: var(--surface); border: 1px solid var(--line-2); font-size: 1rem; }
.text-input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(138 108 255 / 0.25); }
.tpl { padding: 1.125rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-2); font-size: 1rem; line-height: 1.75; color: var(--text-2); }
.tpl code, .vars-note code { font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; color: var(--violet); background: rgb(138 108 255 / 0.12); border-radius: 0.375rem; padding: 0.0625rem 0.375rem; white-space: nowrap; }
.vars-note { font-size: 0.875rem; color: var(--text-3); line-height: 2; }
.builder-preview { display: grid; justify-items: center; gap: 1rem; }
.phone-sm .wa-body { min-height: 15rem; }
.preview-caption { font-size: 0.8125rem; color: var(--text-3); text-align: center; }
[data-preview] { transition: opacity 200ms; }
[data-preview].swap { opacity: 0.2; }

/* ---------- team (kanban) ---------- */
.team { padding: 5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board { margin-top: 3rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 1fr); gap: 0.875rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.col { display: flex; flex-direction: column; gap: 0.625rem; padding: 0.875rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-snap-align: start; }
.col-head { display: flex; align-items: center; justify-content: space-between; padding: 0.125rem 0.25rem 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--text-2); }
.col-head b { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.col-win { border-color: rgb(62 214 166 / 0.35); background: linear-gradient(180deg, rgb(62 214 166 / 0.08), var(--surface) 60%); }
.col-win .col-head span { color: var(--paid); }
.kcard { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.125rem 0.5rem; padding: 0.75rem; border-radius: 0.625rem; background: var(--bg); border: 1px solid var(--line); }
.kcard strong { font-size: 0.875rem; }
.kcard small { grid-column: 1; white-space: nowrap; font-family: var(--mono); font-size: 0.6875rem; color: var(--text-3); }
.kcard .ftag { grid-column: 2; grid-row: 1 / span 2; }
.roles { margin-top: 3rem; display: grid; gap: 2rem; }
.role { padding-top: 1.25rem; border-top: 2px solid transparent; border-image: var(--grad) 1; }
.role h3 { font-size: 1.125rem; font-weight: 700; }
.role p { margin-top: 0.5rem; color: var(--text-2); line-height: 1.6; }

/* ---------- faq ---------- */
.faq { padding: 5rem 0; }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-head p { margin-top: 0.5rem; font-size: 0.9375rem; }
.qa > div { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.qa > div:first-child { padding-top: 0; }
.qa dt { font-size: 1.0625rem; font-weight: 700; }
.qa dd { margin-top: 0.5rem; color: var(--text-2); line-height: 1.65; }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; background: var(--grad); }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 100% 0%, rgb(255 255 255 / 0.18), transparent 60%); pointer-events: none; }
.final-inner { position: relative; z-index: 1; display: grid; gap: 2rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.final h2 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; color: #fff; }
.final-side p { font-size: 1.0625rem; line-height: 1.65; color: rgb(255 255 255 / 0.85); max-width: 30rem; }
.final-cta { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: 0.875rem; color: var(--text-3); }
.footer-inner img { height: 2rem; width: auto; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-inner nav a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .final-cta { flex-direction: row; flex-wrap: wrap; }
  .float-b { right: 4%; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 1.5rem; }
  .moments, .story, .builder, .team, .faq { padding: 7rem 0; }
  .moment { grid-template-columns: 14rem 1fr 1fr; gap: 2.5rem; align-items: start; padding: 2.25rem 0; }
  .roles { grid-template-columns: repeat(3, 1fr); }
  .stage { height: 24rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  .nav, .header-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 5rem; padding-bottom: 6rem; }
  .story-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; }
  .story-stage { top: 7rem; }
  .story-steps { gap: 1rem; padding: 2rem 0 8rem; }
  .step { padding: 1.75rem; min-height: 14rem; }
  .builder-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .board { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .final-inner { grid-template-columns: 1.2fr 0.8fr; align-items: end; padding-top: 6.5rem; padding-bottom: 6.5rem; }
}

@media (max-width: 959.98px) {
  /* no celular o palco fica no topo, compacto, enquanto os passos rolam por baixo */
  .story-stage { top: 4rem; margin: 0 -1rem; padding: 0.75rem 1rem; background: var(--bg-2); }
  .stage { height: 20.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
}
