/* ui.css + tokens.css linked explicitly in HTML (no @import cascade). */

/* ─── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; }

/* ─── Container / shell ───────────────────────────────── */
.container {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: 24px;
}

.shell {
  width: min(100%, 1400px);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

/* Landing CTAs a bit larger than painel defaults */
.btn--lg { height: var(--btn-h-lg); padding: 0 28px; font-size: var(--text-base); }

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav__brand.brand .brand__word { font-size: 20px; letter-spacing: -0.03em; }

.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav__links a {
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--blue-800); }
.nav__links a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}
.nav__links-entrar { display: none; }

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  appearance: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid rgba(30, 111, 196, 0.28);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-600);
}
.nav__toggle:hover { border-color: var(--blue-600); }
.nav__toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav--scrolled {
  background: var(--bg-page);
  box-shadow: none;
  border-bottom-color: var(--line);
}

/* ─── Hero — marca full-bleed + assinatura de profundidade ─ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 92% 28%, rgba(30, 111, 196, 0.22), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 90%, rgba(14, 34, 72, 0.55), transparent 50%),
    linear-gradient(180deg, var(--blue-900) 0%, #0e2248 100%);
  color: #e2e8f0;
  padding: 48px 0 0;
  overflow-x: clip;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(126, 200, 244, 0.35) 50%, transparent 92%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 48%);
  gap: 36px clamp(24px, 4vw, 56px);
  align-items: end;
  width: 100%;
  margin-inline: 0;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(16px, 3vw, 48px);
}

.hero__copy {
  max-width: 38rem;
  padding-bottom: 48px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.hero__brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__title-em {
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #dbeafe;
}

.hero__brand-word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.hero__sub {
  margin: 0 0 26px;
  max-width: 42ch;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: #94a3b8;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
}
.hero__ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.hero__note {
  margin: 0;
  font-size: var(--text-sm);
  color: #64748b;
}
.hero__note-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero__note-link:hover { color: #fff; }

.hero__product {
  min-width: 0;
  padding-bottom: 40px;
}

@media (min-width: 1100px) {
  .hero__product {
    transform: translateY(8px);
  }
}

/* Painel do produto no hero — chrome do mock + vídeo no recorte */
.product-panel {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(7, 18, 40, 0.45);
}
.hero-demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a1628;
  overflow: hidden;
}
.hero-demo__video,
.hero-demo__poster,
.hero-demo__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.hero-demo__poster {
  z-index: 0;
  pointer-events: none;
  margin: 0;
}
.hero-demo__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: #0a1628;
}
.hero-demo.is-ready .hero-demo__video {
  opacity: 1;
}
.hero-demo.is-ready .hero-demo__poster {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-demo__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(7, 18, 40, 0.4);
}
.hero-demo__play:hover {
  background: var(--blue-600, #1e6fc4);
  border-color: transparent;
}
.hero-demo__play:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 10px 28px rgba(7, 18, 40, 0.4);
}
.hero-demo__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
.hero-demo.is-ready .hero-demo__play,
.hero-demo.is-playing .hero-demo__play {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo__video {
    transition: none;
  }
  .hero-demo.is-ready .hero-demo__poster {
    transition: none;
  }
}
.product-panel__chrome {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--blue-900);
  color: #cbd5e1;
  font-size: 13px;
}
.product-panel__crumb { color: var(--blue-300); font-weight: 500; }
.product-panel__sep { opacity: 0.45; }
.product-panel__title { font-weight: 600; color: #fff; }
.product-panel__meta {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.product-panel__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  background: var(--bg-page);
  min-height: 0;
}
.product-panel__list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
}
.product-panel__toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 2px;
  padding: 0 2px 6px;
}
.product-panel__filter {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}
.product-panel__filter.is-on {
  background: var(--blue-50);
  color: var(--blue-800);
}
.product-panel__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(88px, 110px);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.product-panel__row.is-selected {
  border-color: rgba(30, 111, 196, 0.4);
  background: #f8fbff;
}
.product-panel__pos {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--blue-50);
  color: var(--blue-800);
}
.product-panel__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.product-panel__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.product-panel__status {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.product-panel__aside {
  padding: 14px 14px 16px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.product-panel__aside-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-panel__aside-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--blue-50);
  color: var(--blue-800);
  flex-shrink: 0;
}
.product-panel__aside-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.product-panel__aside-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.product-panel__breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-panel__bd-item {
  margin: 0;
  padding: 8px 10px;
  background: var(--bg-page);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-panel__bd-item strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.product-panel__bd-item span {
  font-size: 12px;
  color: var(--text-mid);
}
.product-panel__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.product-panel__action {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--text-mid);
  background: var(--white);
}
.product-panel__action--ok {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

/* Legacy product-mock (unused in hero; kept for safety) */
.product-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.product-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--blue-900) 0%, #0e2248 100%);
  color: #cbd5e1;
}
.product-mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}
.product-mock__label {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
}
.product-mock__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-page);
}
.product-mock__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(88px, 110px);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 13px;
}
.product-mock__row.is-selected {
  border-color: rgba(30, 111, 196, 0.45);
  box-shadow: 0 0 0 1px rgba(30, 111, 196, 0.12), var(--shadow-card);
  background: #f8fbff;
}
.product-mock__pos {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  background: var(--bg-page);
  color: var(--muted);
  border: 1px solid var(--line);
}
.product-mock__pos--1 { background: #eff6ff; color: var(--blue-800); border-color: var(--blue-100); }
.product-mock__pos--2 { background: #f1f5f9; color: #475569; }
.product-mock__pos--3 { background: #fff7ed; color: #9a3412; border-color: #ffedd5; }
.product-mock__who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.product-mock__name {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-mock__chip {
  display: inline-flex;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: var(--blue-50);
  color: var(--blue-800);
}
.product-mock__meter .score-meter__track { max-width: 100%; }
.product-mock__meter .score-meter__pct { font-size: 18px; }
.product-mock__detail {
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.product-mock__detail-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-mock__breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-mock__bd-item {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
}
.product-mock__bd-q {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.product-mock__bd-a {
  margin: 0;
  font-size: 12px;
  color: var(--text-mid);
}

/* Split / prose / assimetria */
.section--tight { padding-top: 40px; padding-bottom: 40px; }
.section--band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--problem {
  padding: 72px 0 76px;
  background:
    linear-gradient(180deg, #e8f1fa 0%, var(--blue-50) 42%, #f3f6fa 100%);
  border-block: 1px solid rgba(30, 111, 196, 0.12);
}
.problem {
  width: min(100%, 40rem);
  margin-inline: auto;
  text-align: center;
}
.problem__title {
  margin: 0 0 22px;
  font-size: clamp(1.55rem, 2.7vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.22;
  color: var(--text);
}
.problem__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--blue-600);
  border-radius: 1px;
}
.problem__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 36rem;
  margin-inline: auto;
}
.problem__pain {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--text-mid);
  text-wrap: pretty;
}
.problem__fix {
  margin: 0;
  padding: 16px 18px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
  text-wrap: pretty;
  background: var(--surface);
  border: 1px solid rgba(30, 111, 196, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.problem__brand {
  color: var(--blue-800);
  font-weight: 700;
}

/* Assinatura tipográfica da landing (só títulos centralizados) */
.section__head--center .section__title {
  letter-spacing: -0.038em;
}
.section__head--center .section__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--blue-600);
  border-radius: 1px;
}
.section__head--center .section__lead {
  margin-top: 16px;
}

.section--flow {
  padding: 80px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--plans {
  padding: 80px 0;
  background: var(--bg-page);
}
.section--limits .limits {
  max-width: none;
  width: 100%;
}

.prose-block { max-width: 40rem; }
.section__head {
  margin-bottom: 36px;
  max-width: 40rem;
}
.section__head--wide {
  max-width: 48rem;
  margin-bottom: 40px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 42rem;
}
.section__head--center .section__title,
.section__head--center .section__lead {
  margin-inline: auto;
  max-width: none;
}
.section__head--limits {
  max-width: 36rem;
  margin-bottom: 40px;
}
.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.25;
  max-width: 34ch;
}
.section__lead {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 52ch;
}
.section__lead--follow { margin-top: 14px; }

/* Fluxo: 1–2 à esquerda, 3–4 à direita */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  column-gap: clamp(32px, 6vw, 80px);
  row-gap: 0;
  max-width: none;
  width: 100%;
  border-top: 1px solid var(--line);
}
.flow__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.flow__num {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue-600);
  line-height: 1.1;
  padding-top: 0;
}
.flow__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.flow__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* Limites: serve / não faz — largura total, título centralizado */
.limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px clamp(48px, 8vw, 120px);
  max-width: none;
  width: 100%;
}
.limits__h {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-800);
}
.limits__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.limits__list li {
  font-size: var(--text-md);
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.limits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}
.limits__note {
  margin: 28px auto 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 44ch;
  text-align: center;
}

/* FAQ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}
.faq__item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-md);
  padding: 16px 0;
  list-style: none;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p {
  margin: 0 0 16px;
  font-size: var(--text-md);
  color: var(--muted);
  line-height: var(--leading-loose);
}
.faq__item a { color: var(--blue-600); text-decoration: underline; }

/* ─── Sections ────────────────────────────────────────── */
.section {
  padding: 72px 0;
}

.section__intro {
  text-align: left;
  margin-bottom: 36px;
  max-width: 40rem;
}

.section__intro .section__title { margin-left: 0; margin-right: 0; }
.section__intro .section__sub {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.section__intro--plans .section__sub {
  max-width: 52ch;
}

.section__label {
  display: none;
}

.section__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

/* ─── Steps ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.steps--four {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px 36px;
  box-shadow: var(--shadow-card);
}

.step__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.step__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.3;
}

.step__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── Advantages ──────────────────────────────────────── */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.advantage {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 28px 8px 8px;
}

.advantage__mark {
  width: 28px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
  margin-bottom: 16px;
}

.advantage h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.advantage p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── Plans ───────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.plan--featured {
  border-color: var(--blue-600);
  border-width: 2px;
  box-shadow: none;
}

.plan__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.plan__name {
  margin: 0 0 10px;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.plan__price {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan__value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.plan__freq {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

.plan__period {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.plan__lead {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text);
}

.plan__features {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan__features li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  opacity: 0.85;
}

.plan__cta { width: 100%; margin-top: auto; }

.plan--featured .plan__cta {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: none;
}
.plan--featured .plan__cta:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.plan__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.plans-legal {
  margin: 28px auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.plans-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plans-legal a:hover {
  color: var(--text);
}

.plans-toggle {
  display: none;
  appearance: none;
  width: 100%;
  max-width: 440px;
  margin: 16px 0 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-800);
  cursor: pointer;
}
.plans-toggle:hover { background: var(--blue-50); }
.plans-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* ─── Login section ───────────────────────────────────── */
.section--login {
  padding-top: 80px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.login-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.login-copy__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38ch;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--surface-2);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.login-tab {
  appearance: none;
  border: 0;
  background: transparent;
  height: 38px;
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.login-tab.is-active {
  background: var(--surface);
  color: var(--blue-800);
  border: 1px solid var(--line);
}
.login-tab:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

/* ─── Form fields (reutilizados na landing) ───────────── */
.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: var(--focus);
}
input.is-error { border-color: var(--danger); }

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ghost {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--white);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.ghost:hover { background: var(--bg-page); }
.ghost:focus-visible {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: var(--focus);
}

.hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hint.error { color: var(--danger); }

.alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.alert.error  { background: var(--danger-bg); color: var(--danger); }
.alert.success { background: var(--ok-bg); color: var(--ok); }

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  user-select: none;
}
.login-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--blue-600);
  flex-shrink: 0;
  cursor: pointer;
}
.login-remember:focus-within {
  color: var(--text);
}

.login-help {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.login-signup {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
}
.login-signup a {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.login-signup a:hover { color: var(--blue-800); }
.login-signup a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

/* ─── Páginas legais / contato ────────────────────────── */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-page .legal {
  flex: 1;
  padding: 56px 0 80px;
}
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 44px 48px 48px;
  box-shadow: var(--shadow-card);
}
.legal-doc .section__label { margin-bottom: 12px; }
.legal-doc__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.15;
  color: var(--text);
}
.legal-doc__updated {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
}
.legal-doc__body h2 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-doc__body h2:first-child { margin-top: 0; }
.legal-doc__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
}
.legal-doc__body ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
}
.legal-doc__body li { margin-bottom: 6px; }
.legal-doc__body code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.legal-doc__body p:last-child,
.legal-doc__body ul:last-child { margin-bottom: 0; }
.legal-doc__email {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background: var(--blue-50);
  color: var(--blue-800);
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.legal-doc__email:hover { text-decoration: none; color: var(--blue-600); }

@media (max-width: 640px) {
  .legal-doc { padding: 28px 22px 32px; }
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--blue-900);
  color: #94a3b8;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand.brand .brand__word { font-size: 18px; }

.footer__copy {
  margin: 0;
  font-size: 13px;
  flex: 1;
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--white); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
    gap: 28px 32px;
  }
}

@media (max-width: 900px) {
  .limits {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .flow {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }
  .hero {
    padding: 40px 0 0;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
    min-height: 0;
    padding-right: clamp(16px, 4vw, 56px);
  }
  .hero__copy { padding-bottom: 8px; }
  .hero__product {
    margin-right: 0;
    transform: none;
    padding-bottom: 32px;
    padding-right: 0;
  }
  .product-panel {
    border-radius: var(--radius-sm);
  }
  .product-panel__workspace {
    grid-template-columns: 1fr;
  }
  .product-panel__list {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .product-panel__aside {
    padding-top: 12px;
  }
  .product-panel__meta { display: none; }
}

@media (max-width: 640px) {
  .nav__toggle { display: inline-flex; margin-left: 0; min-width: 44px; min-height: 44px; }
  .nav__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    height: auto;
    min-height: 56px;
    gap: 8px;
    padding-block: 8px;
  }
  .nav__brand { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
  .nav__toggle { grid-column: 2; grid-row: 1; }
  .nav__ctas {
    grid-column: 3;
    grid-row: 1;
    gap: 6px;
  }
  .nav__ctas .btn {
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .nav__entrar { display: none; }
  .nav__links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 2px;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links-entrar {
    display: flex;
    font-weight: 700;
    color: var(--blue-700);
  }
  .nav__links a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav__links a:hover { background: var(--blue-50); color: var(--blue-800); }

  .hero { padding: 28px 0 0; }
  .hero__grid {
    gap: 22px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__brand { margin-bottom: 14px; gap: 8px; }
  .hero__brand-word { font-size: 18px; }
  .hero__brand-mark { width: 28px; height: 28px; }
  .hero__title {
    font-size: clamp(24px, 6.5vw, 30px);
    margin: 0 0 12px;
  }
  .hero__sub {
    margin: 0 0 20px;
    max-width: none;
    font-size: 15px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }
  .hero__actions .btn { width: 100%; min-height: 48px; }
  .hero__note { font-size: 12px; line-height: 1.45; }
  .hero__product { padding-bottom: 28px; }
  .hero__copy { padding-bottom: 8px; }

  .section { padding: 48px 0; }
  .section--problem {
    padding: 52px 0 56px;
  }
  .problem__title {
    margin-bottom: 18px;
    font-size: clamp(22px, 6vw, 28px);
  }
  .problem__title::after { margin-top: 12px; }
  .problem__copy { gap: 14px; }
  .problem__pain,
  .problem__fix { font-size: 15px; }
  .problem__fix { padding: 14px 14px; }
  .section--flow,
  .section--plans { padding: 48px 0; }
  .section__head--center {
    max-width: none;
    padding-inline: 0;
  }
  .section__title { font-size: clamp(22px, 6vw, 28px); max-width: none; }
  .flow__item { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .flow__num { font-size: 22px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__copy { flex: unset; }
  .footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: 0;
    gap: 14px;
  }
  .plans .plan--more { display: none; }
  .plans.is-expanded .plan--more { display: flex; }
  .plans-toggle {
    display: block;
  }
  .shell { padding-inline: 16px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 22px; }
  .nav__brand .brand__word { font-size: 18px; }
  .product-panel__row {
    grid-template-columns: 24px minmax(0, 1fr) minmax(64px, 84px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .login-tab,
  input,
  .ghost,
  .nav__links a,
  .footer__links a {
    transition: none;
  }
}
