/* Ximples — site institucional. Mobile first. */

/* Inter (variável, subconjunto latino, OFL — ver /fonts/OFL-Inter.txt). Servida daqui, sem Google Fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallback com as métricas da Inter: a troca de fonte não desloca o layout (CLS). */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-soft: #eef2ff;
  --accent: #f97316;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --dark: #0b1020;
  --radius: 14px;
  --shadow: 0 20px 50px rgb(15 23 42 / 0.12);
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.025em;
}
p {
  margin: 0;
}
a {
  color: var(--primary);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
body {
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgb(79 70 229 / 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: #cbd5e1;
}
.btn-white {
  background: #fff;
  color: var(--primary-dark);
}
.btn-outline-white {
  color: #fff;
  border-color: rgb(255 255 255 / 0.5);
}
.btn-outline-white:hover {
  border-color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo-light {
  color: #fff;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
  border: 0;
  padding: 0;
  margin-right: -8px;
  background: none;
  color: inherit;
}
.js .menu-button {
  display: grid;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s;
}
.menu-button span::before,
.menu-button span::after {
  content: '';
  position: absolute;
}
.menu-button span::before {
  top: -6px;
}
.menu-button span::after {
  top: 6px;
}
.menu-button[aria-expanded='true'] span {
  background: transparent;
}
.menu-button[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-button[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}
/* Sem JS: no celular, só o botão de criar loja fica no cabeçalho. */
.nav {
  display: flex;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 4px;
}
html:not(.js) .nav a:not(.btn) {
  display: none;
}
.nav a.btn {
  color: #fff;
  padding: 10px 16px;
}
.js .nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 12px 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgb(15 23 42 / 0.08);
}
.js .nav.is-open {
  display: flex;
}
.js .nav a.btn {
  margin-top: 8px;
  padding: 12px 18px;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: radial-gradient(1200px 500px at 80% -10%, #e0e7ff 0, transparent 60%), radial-gradient(800px 400px at -10% 20%, #ffedd5 0, transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 800;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 560px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cta-row .btn {
  flex: 1 1 200px;
}
.cta-center {
  justify-content: center;
}
.hero-note {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
}
.hero-note li {
  position: relative;
  padding-left: 20px;
}
.hero-note li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #15803d;
  font-weight: 800;
}
.hero-visual {
  position: relative;
  padding: 10px 0 40px;
}
.mock {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.mock-bar em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 10px;
}
.mock-body {
  padding: 20px;
}
.mock-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: #fff7ed;
}
.mock-lines i {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: #1c1917;
  margin-bottom: 10px;
}
.mock-lines i.thin {
  height: 8px;
  background: #a8a29e;
}
.w80 {
  width: 90%;
}
.w60 {
  width: 70%;
}
.w40 {
  width: 50%;
}
.mock-lines b {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
}
.mock-image {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #7c3aed);
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.mock-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
}
.mock-card div {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  margin-bottom: 8px;
}
.mock-card i {
  display: block;
  height: 7px;
  width: 80%;
  border-radius: 4px;
  background: #cbd5e1;
  margin-bottom: 6px;
}
.c1 {
  background: linear-gradient(135deg, #f97316, #db2777);
}
.c2 {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}
.c3 {
  background: linear-gradient(135deg, #e11d48, #9333ea);
}
.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}
.float-sale {
  left: 0;
  max-width: calc(100% - 8px);
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-sale .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px #dcfce7;
}
.float-pix {
  right: 0;
  top: -8px;
  color: #15803d;
}

/* Tipos */
.types {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: #fff;
}
.types-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}
.type-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.type-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
}

/* Seções */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
}
.section-lead {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 16px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.feature .ico,
.method .ico {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 14px;
}

/* Pagamentos */
.methods {
  display: grid;
  gap: 16px;
}
.method {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.method h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.method p {
  color: var(--muted);
  font-size: 15px;
}
.flow-title {
  font-size: 20px;
  margin: 48px 0 20px;
}
.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.flow li {
  counter-increment: flow;
  position: relative;
  padding: 20px 20px 20px 64px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.flow strong {
  display: block;
  margin-bottom: 4px;
}
.flow p {
  color: var(--muted);
  font-size: 15px;
}

/* Ximples Payments: formas de pagamento + oferta do plano Grátis */
.xp {
  display: grid;
  gap: 16px;
}
.xp .methods {
  grid-template-columns: 1fr;
}
.xp .method {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  padding: 20px;
}
.xp .method .ico {
  grid-row: span 2;
  margin-bottom: 0;
}
.xp .method h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.xp-offer {
  padding: 28px 24px;
  border: 2px solid var(--primary);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 24px 50px rgb(79 70 229 / 0.14);
}
.xp-kicker {
  font-size: 18px;
}
.xp-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 8px;
}
.xp-price span,
.price span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.xp-fee {
  font-weight: 700;
  color: var(--primary);
}
.xp-note {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.fineprint {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Migração */
.section.migrate-section {
  padding: 0 0 72px;
  background: var(--bg-alt);
}
.migrate {
  display: grid;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--dark);
  color: #cbd5e1;
}
.migrate h2 {
  color: #fff;
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: 8px;
}
.migrate a:not(.btn) {
  color: #c7d2fe;
}
.migrate .migrate-small {
  margin-top: 8px;
  font-size: 13px;
  color: #94a3b8;
}
.section.migrate-section-white {
  background: var(--bg);
}
.ico-lg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.1);
  color: #c7d2fe;
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
}

.demo {
  display: grid;
  gap: 40px;
  align-items: center;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}
.checks li {
  padding-left: 30px;
  position: relative;
  font-weight: 500;
}
.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.demo-card {
  display: block;
  text-decoration: none;
  color: #1c1917;
  background: linear-gradient(160deg, #fffaf5, #ffedd5);
  border: 1px solid #f1e4d8;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.demo-card:hover {
  transform: translateY(-3px);
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.demo-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #7c3aed);
}
.demo-title {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 24px 0;
  letter-spacing: -0.02em;
}
.demo-products {
  display: grid;
  gap: 8px;
}
.demo-products span {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.p1 {
  background: linear-gradient(135deg, #f97316, #db2777);
}
.p2 {
  background: linear-gradient(135deg, #16a34a, #0d9488);
}
.p3 {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}
.demo-url {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: #c2410c;
}

.diffs {
  display: grid;
  gap: 16px;
}
.diffs article {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  border-top: 4px solid var(--primary);
}
.diffs h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.diffs p {
  color: var(--muted);
}


/* Preços */
.pricing {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 50px rgb(79 70 229 / 0.18);
}
.price-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 20px;
}
.price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.price-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.price.price-ask {
  font-size: 28px;
  line-height: 1.2;
  margin: 16px 0 8px;
}
.price-fee {
  font-weight: 600;
  color: var(--primary);
}
.price-desc {
  color: var(--muted);
  margin: 12px 0 20px;
  font-size: 15px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-card li {
  padding-left: 26px;
  position: relative;
}
.price-card li.li-strong {
  font-weight: 700;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 28px 18px 0;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding-bottom: 18px;
  color: var(--muted);
}

/* CTA final */
.final-cta {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.final-inner h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto;
}
.final-inner p {
  margin-top: 16px;
  font-size: 18px;
  opacity: 0.9;
}
.final-inner .cta-row {
  max-width: 520px;
  margin: 28px auto 0;
}

/* Rodapé */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-about {
  margin-top: 12px;
  max-width: 320px;
  font-size: 14px;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.site-footer nav a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  padding: 11px 0;
}
.site-footer nav a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 13px;
  color: #94a3b8;
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
}
.notfound h1 {
  font-size: 44px;
  font-weight: 800;
}
.notfound p {
  color: var(--muted);
  margin: 12px 0 24px;
}

/* Preços dinâmicos */
.pricing-status {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: var(--muted);
}
.pricing-status .btn {
  margin-top: 16px;
}
.pricing-footnote {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  max-width: 820px;
}
.pricing-footnote p + p {
  margin-top: 8px;
}
/* Sem JS, os cartões estáticos do <noscript> substituem os esqueletos. */
html:not(.js) #pricing-cards {
  display: none;
}
.price-card.is-skeleton {
  min-height: 640px;
  border-style: dashed;
  background: linear-gradient(100deg, #fff 30%, var(--bg-alt) 50%, #fff 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}
.sim-cta {
  text-align: center;
}

/* Simulador */
.sim {
  display: grid;
  gap: 24px;
}
.sim-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.sim-box h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.sim-box > p {
  color: var(--muted);
  font-size: 15px;
}
.fields {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field > label,
.field > legend {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  padding: 0;
}
.field input,
.field select {
  width: 100%;
  min-height: 46px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  padding: 10px 12px;
  border: 1px solid #94a3b8;
  border-radius: 10px;
  background: #fff;
}
.field select:disabled {
  background: var(--bg-alt);
  color: var(--muted);
}
.field-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.field-error {
  font-size: 13px;
  color: #b91c1c;
  margin-top: 6px;
}
.segmented {
  display: flex;
  gap: 6px;
}
.segmented label {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
}
.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 6px;
  border: 1px solid #94a3b8;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
}
.segmented input:checked + span {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.segmented input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.sim-summary {
  font-weight: 600;
  font-size: 17px;
}
.sim-results {
  display: grid;
  gap: 16px;
}
.sim-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.sim-plan.is-best {
  border: 2px solid #15803d;
  box-shadow: 0 20px 40px rgb(21 128 61 / 0.14);
}
.sim-best-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #15803d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.sim-plan h4 {
  margin: 0;
  font-size: 18px;
}
.sim-plan dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 15px;
}
.sim-plan dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.sim-plan dt {
  color: var(--muted);
}
.sim-plan dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.sim-plan .sim-month {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.sim-month strong {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.sim-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.sim-result-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.sim-result-box.is-positive {
  background: #f0fdf4;
  border-color: #86efac;
  color: #14532d;
}
.sim-result-box.is-negative {
  background: #fff7ed;
  border-color: #fdba74;
  color: #7c2d12;
}
.sim-result-box small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 13px;
}
.compare-fields {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.sim-disclaimer {
  font-size: 13px;
  color: var(--muted);
}

/* Segurança */
.security-grid article {
  border-top-color: #15803d;
}

/* Páginas legais */
.legal {
  padding: 48px 0 80px;
}
.legal-inner {
  max-width: 800px;
  overflow-wrap: anywhere;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
}
.legal-updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}
.legal h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}
.legal p,
.legal li {
  color: #334155;
}
.legal p + p {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 12px 0;
}
.legal li {
  margin-bottom: 6px;
}
.legal-notice {
  margin: 24px 0 8px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-left: 5px solid var(--accent);
  color: #7c2d12;
}
.legal-notice strong {
  color: #7c2d12;
}
.legal-intro {
  margin-top: 24px;
}
.legal-toc {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.legal-toc ol {
  margin: 8px 0 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.legal th {
  background: var(--bg-alt);
}
.legal tr:last-child td {
  border-bottom: 0;
}
.category-list {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}
.category-list li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid #dc2626;
  border-radius: 0 12px 12px 0;
  background: #fff;
  margin: 0;
}
.category-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}
mark {
  background: #fef08a;
  color: #713f12;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}
.footer-company {
  margin-top: 6px;
}
.footer-company mark {
  font-weight: 500;
}

/* Celular: cartões de recurso em linha (ícone à esquerda), para a página não ficar longa demais. */
@media (max-width: 639.98px) {
  .feature,
  .method {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 18px;
  }
  .feature .ico,
  .method .ico {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .feature h3,
  .method h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }
  .demo-card {
    display: none;
  }
  .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding: 20px;
  }
  .step-n {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .step h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }
}

/* Telas muito estreitas (320–399px): textos longos de botão quebram linha em vez de vazar do cartão. */
@media (max-width: 399.98px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
  .xp-offer,
  .price-card {
    padding: 24px 20px;
  }
}

/* Telas maiores */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .features,
  .methods,
  .diffs {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .fields {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-fields {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-3 {
    grid-template-columns: 1fr;
  }
  .cta-row .btn {
    flex: 0 0 auto;
  }
  .migrate {
    padding: 32px;
  }
}

@media (min-width: 900px) {
  .js .menu-button {
    display: none;
  }
  .nav,
  .js .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  html:not(.js) .nav a:not(.btn) {
    display: inline;
  }
  .nav a {
    padding: 0;
    font-size: 15px;
    color: var(--muted);
  }
  .nav a:hover {
    color: var(--text);
  }
  .nav a.btn,
  .js .nav a.btn {
    margin: 0;
    padding: 9px 16px;
    color: #fff;
  }
  .nav-login {
    color: var(--text) !important;
  }
  .hero {
    padding: 88px 0 96px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
  .features,
  .methods {
    grid-template-columns: repeat(3, 1fr);
  }
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .xp {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 24px;
  }
  .migrate {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
  }
  .section.migrate-section {
    padding-bottom: 96px;
  }
  .pricing .is-skeleton {
    min-height: 660px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .demo {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .diffs {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing,
  .sim-results {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .fields {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .section {
    padding: 96px 0;
  }
  .float-sale {
    left: -28px;
  }
  .float-pix {
    right: -20px;
  }
}

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

/* Rodapé simples (404) */
.footer-legal {
  margin-bottom: 8px;
}
.site-footer .footer-legal a {
  display: inline;
  color: #cbd5e1;
}

/* ---------- Alpha (2026-09-27): home de modelo único e página /taxas ---------- */
.alpha-badge {
  margin-bottom: 16px;
}
.alpha-badge a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.alpha-badge a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* Oferta única */
.offer {
  display: grid;
  gap: 24px;
  align-items: start;
}
.offer-card {
  max-width: 460px;
}
.offer-when {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.offer-card .price-fee {
  margin-bottom: 20px;
}
.offer-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.offer-points li {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}
.offer-points strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 4px;
}

/* Transparência + simulador */
.section-cta {
  margin-top: 24px;
}
.sim-single {
  margin-top: 40px;
  max-width: 820px;
}
.breakdown {
  margin: 20px 0 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.breakdown > div:last-child {
  border-bottom: 0;
}
.breakdown dt {
  color: var(--muted);
}
.breakdown dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.breakdown .is-total {
  background: var(--bg-alt);
}
.breakdown .is-total dt,
.breakdown .is-total dd {
  color: var(--text);
  font-weight: 800;
}

/* Alpha: feedback */
.alpha {
  display: grid;
  gap: 28px;
  align-items: center;
}
.alpha-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.alpha-links a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.alpha-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.alpha-links a::after {
  content: ' →';
  color: var(--primary);
}

/* Página /taxas */
.fees-page .eyebrow {
  margin-bottom: 8px;
}
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 8px;
}
.terms-grid > div {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.terms-grid dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.terms-grid dd {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.terms-grid dd small {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.terms-grid .terms-main {
  grid-column: 1 / -1;
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}
.legal .fees-table,
.legal .fees-example {
  min-width: 0;
}
.fees-table td,
.fees-example td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fees-example .is-total th,
.fees-example .is-total td {
  font-weight: 800;
  background: var(--bg-alt);
}
.fees-note,
.fees-status {
  font-size: 14px;
  color: var(--muted);
}
.fees-status {
  padding: 16px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin: 16px 0;
}
.fees-page .cta-row {
  margin-top: 36px;
}

@media (min-width: 640px) {
  .steps-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .terms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .steps-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 40px;
  }
  .alpha {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
  }
}
@media (min-width: 900px) {
  .fields-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Reposicionamento Ximples AI (2026-09-27): home, /ai, /recursos, /precos, /alpha.
   Componentes: hero com painel, prova visual, ecossistema, vitrine da IA, cartões de
   conversa, fluxo de contexto, módulos, domínio, preço, controle, recursos, custos.
   ========================================================================== */
.ico-sm {
  width: 16px;
  height: 16px;
}
.nav a[aria-current='page'] {
  color: var(--primary);
}
.nav-ai::before {
  content: '✦ ';
  color: var(--primary);
}
.hero-accent {
  color: var(--primary);
}
.hero-micro {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.center {
  text-align: center;
}
.section-tight {
  padding: 56px 0;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.badge-ok {
  background: #dcfce7;
  color: #166534;
  margin: 0 8px 0 0;
}
.badge-soon {
  background: #fff7ed;
  color: #9a3412;
  margin: 0 8px 0 0;
}
.status-title .badge:not(.badge-ok):not(.badge-soon) {
  margin: 0 8px 0 0;
}

/* Hero: painel da loja + resposta da IA */
.app-body {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 210px;
}
.app-side {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 14px 8px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.app-side i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
}
.app-side i.on {
  background: var(--primary);
}
.app-main {
  padding: 16px;
}
.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.app-kpis div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.app-kpis small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.app-kpis strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.app-chart i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #818cf8, var(--primary));
}
.float-ai {
  left: 0;
  bottom: 0;
  max-width: min(320px, calc(100% - 8px));
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}
.float-ai-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}
.float-ai-q {
  justify-self: end;
  background: var(--primary);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
  padding: 5px 10px;
}
.float-ai-a {
  background: var(--bg-alt);
  border-radius: 12px 12px 12px 4px;
  padding: 6px 10px;
  font-weight: 600;
}
.mock-caption {
  position: absolute;
  right: 0;
  bottom: -18px;
  font-size: 11px;
  color: #94a3b8;
}
@media (max-width: 399.98px) {
  .hide-xs {
    display: none;
  }
  .app-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Prova visual */
.proof {
  display: grid;
  gap: 16px;
}
.proof-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.proof-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 15px;
}
.proof-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 17px;
}
.proof-screen {
  height: 150px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.proof-screen i {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: #cbd5e1;
}
.proof-store {
  background: linear-gradient(160deg, #fffaf5, #ffedd5);
}
.ps-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #7c3aed);
}
.ps-grid,
.ps-methods,
.ps-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ps-grid b {
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}
.ps-grid b:nth-child(2) {
  background: linear-gradient(135deg, #16a34a, #0d9488);
}
.ps-grid b:nth-child(3) {
  background: linear-gradient(135deg, #f97316, #db2777);
}
.ps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ps-row i {
  flex: 0 0 55%;
}
.ps-row em {
  font-style: normal;
  font-weight: 800;
}
.ps-methods b {
  font-size: 12px;
  text-align: center;
  padding: 6px 0;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
}
.ps-methods b:first-child {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.ps-pay {
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.ps-kpi {
  grid-template-columns: repeat(2, 1fr);
}
.ps-kpi b {
  height: 44px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
}
.ps-lines {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.section-cta.center {
  margin-top: 28px;
}

/* Ecossistema: cartão da IA em destaque */
.feature-ai {
  border: 2px solid var(--primary);
  background: linear-gradient(160deg, #fff, var(--primary-soft));
}

/* Seção escura da Ximples AI */
.section-dark {
  background: radial-gradient(900px 400px at 85% 0%, rgb(99 102 241 / 0.35), transparent 60%), var(--dark);
  color: #cbd5e1;
}
.section-dark h2 {
  color: #fff;
}
.section-dark .section-lead {
  color: #cbd5e1;
}
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a5b4fc;
}
.checks-light li {
  color: #e2e8f0;
}
.checks-light li::before {
  background: rgb(134 239 172 / 0.18);
  color: #86efac;
}
.ai-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

/* Painel da IA (mock) */
.ai-panel {
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 60px rgb(2 6 23 / 0.35);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}
.ai-panel-light {
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  color: var(--primary);
}
.ai-panel-head span {
  margin-left: auto;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}
.ai-panel-body {
  padding: 18px;
  display: grid;
  gap: 12px;
  min-height: 280px;
  align-content: start;
}
.ai-panel-note {
  padding: 0 18px 12px;
  font-size: 11px;
  color: #94a3b8;
  text-align: right;
}
.ai-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.45;
}
.ai-msg-user {
  justify-self: end;
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg-bot {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.ai-thinking {
  font-size: 14px;
  color: var(--muted);
}
.ai-thinking::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: ai-pulse 1s ease-in-out infinite;
}
@keyframes ai-pulse {
  50% {
    opacity: 0.25;
  }
}
.ai-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.ai-steps li {
  padding-left: 24px;
  position: relative;
}
.ai-steps li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  top: 3px;
}
.ai-result {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  background: var(--primary-soft);
}
.ai-result span {
  font-size: 14px;
  color: var(--muted);
}
.ai-btn {
  display: inline-block;
  justify-self: start;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.ai-btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
/* Animação (só com JS e sem "reduzir movimento"): itens aparecem em sequência. */
.ai-demo-anim [data-demo-thinking],
.ai-demo-anim [data-demo-steps] li,
.ai-demo-anim [data-demo-result] {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.ai-demo-anim .is-in {
  opacity: 1 !important;
  transform: none !important;
}
.ai-demo-anim [data-demo-thinking].is-done {
  display: none;
}
.ai-demo-anim .typing::after {
  content: '▍';
  animation: ai-pulse 0.8s steps(1) infinite;
}

/* Cartões de conversa */
.chat-cards {
  display: grid;
  gap: 16px;
}
.chat-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.chat-card .ai-msg {
  max-width: 92%;
}

/* Fluxo de contexto */
.context,
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.context .section-lead + .section-lead {
  margin-top: 12px;
}
.context-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  justify-items: center;
}
.context-flow li {
  width: 100%;
  max-width: 380px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  position: relative;
  margin-bottom: 26px;
}
.context-flow li:not(:last-child)::after {
  content: '↓';
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  color: var(--primary);
  font-weight: 800;
}
.context-flow li span {
  display: block;
  font-weight: 800;
}
.context-flow li small {
  color: var(--muted);
  font-size: 14px;
}
.context-flow .is-ai {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.context-flow .context-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  border-style: dashed;
  margin-bottom: 0;
}
.context-chips b {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
}

/* Módulos da IA */
.ai-modules,
.ai-detail {
  display: grid;
  gap: 16px;
}
.ai-module,
.ai-detail-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.ai-module .ico,
.ai-detail-card .ico,
.resource .ico {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}
.ai-module h3,
.ai-detail-card h3 {
  font-size: 18px;
  margin-top: 6px;
}
.ai-module p {
  color: var(--muted);
  font-size: 15px;
}
.ai-detail-card .checks {
  margin: 8px 0 12px;
  font-size: 15px;
}
.prompt-chip {
  justify-self: start;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px dashed #a5b4fc;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
}

.steps-5 .step h3 {
  font-size: 19px;
}

/* Domínio */
.domain-demo {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.url-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.url-pill .ico {
  color: #15803d;
}
.url-pill-main {
  border: 2px solid var(--primary);
  font-size: 18px;
}
.url-or {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
}

/* Preço */
.fee-split {
  display: grid;
  gap: 4px;
  margin: 16px 0 20px;
  padding: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
}
.fee-split strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}
.fee-split p:last-child strong {
  font-size: 17px;
}
.fee-split span {
  font-size: 14px;
  color: var(--muted);
}
.fee-plus {
  font-weight: 800;
  color: var(--primary);
}
.offer-side {
  display: grid;
  gap: 20px;
}
.offer-explain {
  color: var(--muted);
  max-width: 720px;
  margin-top: 20px;
}
.offer-side .offer-explain {
  margin-top: 0;
}

/* Controle: revisão antes de aplicar */
.review-mock {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.review-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--primary);
}
.review-title {
  font-weight: 700;
  font-size: 17px;
}
.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.review-list li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 600;
}
.review-list li::before {
  content: '✓ ';
}
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-actions .ai-btn {
  margin-top: 0;
}
.review-note {
  font-size: 13px;
  color: var(--muted);
}
.diff {
  display: grid;
  gap: 8px;
}
.diff p {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.diff small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.diff-before {
  background: #fef2f2;
  color: #7f1d1d;
}
.diff-after {
  background: #f0fdf4;
  color: #14532d;
}

.final-note {
  font-size: 15px !important;
}
.footer-cta {
  margin-top: 16px;
}
.footer-cta .btn {
  color: #fff !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
}

/* Páginas internas */
.page-hero {
  padding: 48px 0 24px;
  background: radial-gradient(900px 360px at 85% -20%, #e0e7ff 0, transparent 60%);
}
.page-hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  max-width: 900px;
}
.chips-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chips-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.chips-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.resources {
  display: grid;
  gap: 16px;
}
.resource {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: 84px;
}
.resource h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.resource p {
  color: #334155;
}
.resource p + p {
  margin-top: 8px;
}
.res-problem {
  color: var(--muted) !important;
  font-style: italic;
}
.res-benefit {
  font-weight: 700;
  color: var(--text) !important;
}
.resource-ai {
  border: 2px solid var(--primary);
  background: linear-gradient(160deg, #fff, var(--primary-soft));
}
.providers {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.provider {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.provider h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.provider p {
  color: var(--muted);
}
.prose .section-lead + .section-lead {
  margin-top: 14px;
}

/* /precos */
.cost-cards {
  display: grid;
  gap: 12px;
  align-items: stretch;
}
.cost-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.cost-card p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.cost-main {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}
.cost-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 6px 0 8px;
}
.cost-value small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.cost-value-sm {
  font-size: 24px;
}
.cost-plus {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.legal-embed h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}
.legal-embed .fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.legal-embed .fees-table th,
.legal-embed .fees-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.legal-embed .fees-table thead th {
  background: #fff;
}
.sim-center {
  margin: 0 auto;
}
.sim-title {
  font-size: 22px !important;
  margin-bottom: 6px;
}
.included {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.included li {
  padding: 14px 16px 14px 44px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
}
.included li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: #15803d;
  font-weight: 800;
}
.included small {
  font-weight: 500;
  color: var(--muted);
}

/* /alpha */
.status-cols {
  display: grid;
  gap: 32px;
}
.status-title {
  font-size: 20px !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.status-soon {
  margin-top: 28px;
}
.soon-list {
  color: var(--muted);
  padding-left: 20px;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .proof,
  .chat-cards,
  .ai-modules,
  .ai-detail,
  .providers,
  .included {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .status-cols {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero {
    padding: 64px 0 32px;
  }
}
@media (min-width: 900px) {
  .proof,
  .chat-cards,
  .ai-modules,
  .ai-detail {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .steps-5 .step {
    padding: 22px;
  }
  .ai-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 64px;
  }
  .context,
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .float-ai {
    left: -28px;
  }
  .cost-cards {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
  .cost-wide {
    grid-column: 1 / -1;
  }
  .resources {
    grid-template-columns: repeat(2, 1fr);
  }
  .included {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-hero {
    padding: 80px 0 40px;
  }
}
/* Menu com 4 links + Entrar + botão: no intervalo 900–1023px, reduz o espaçamento. */
@media (min-width: 900px) and (max-width: 1023.98px) {
  .nav,
  .js .nav {
    gap: 16px;
  }
  .nav a {
    font-size: 14px;
  }
}
.legal-embed {
  max-width: 820px;
}
.legal-embed p + p {
  margin-top: 8px;
}
