/* SmartOwners — páginas públicas internas (/sobre, /contato, /recursos…)
   Complementa o landing-styles.css em vez de engordá-lo: aquele arquivo já
   tem 1.060 linhas sem separação por seção, e o que entra aqui só é usado
   fora da home.

   O bloco de formulário é o motivo de este arquivo existir: o landing-styles
   estiliza `a` e `button`, mas não toca em `input`, `textarea` nem `select` —
   até agora nenhuma página no visual da landing tinha formulário. */

/* ============= Nav v2 =============
   O landing-styles.css define `.nav`, `.nav-inner`, `.nav-links` e `.nav-cta`.
   Aqui entra só o que não existia: dropdown, hambúrguer e menu mobile. */

.nav-links { align-items: center; }

/* ── Dropdown ──────────────────────────────────────── */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-800);
  transition: color 0.15s ease;
}
.nav-drop-btn:hover,
.nav-drop-btn[aria-expanded='true'] { color: var(--plum-700); }

/* Item da página atual — com 12 páginas no ar, saber onde se está deixou de
   ser detalhe. */
.nav-links .is-current,
.nav-drop-btn.is-current {
  color: var(--plum-800);
  font-weight: 700;
}
.nav-mobile-link.is-current { color: var(--plum-700); }
.nav-caret {
  font-size: 10px;
  transition: transform 0.18s ease;
}
.nav-caret.up { transform: rotate(180deg); }

/* Abre para a direita a partir do botão, e não centralizado nele: o painel
   cresceu para caber as 4 categorias com até 5 itens, e centralizado ele
   estouraria a borda esquerda da janela — o botão fica no começo da nav. */
.nav-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 90;
  width: min(920px, calc(100vw - 56px));
  padding: 22px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-pop);
}
/* Ponte invisível entre o botão e o painel: sem ela o mouse "cai" no vão de
   14px e o menu fecha antes de a pessoa alcançar o primeiro item. */
.nav-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
/* As categorias têm tamanhos bem diferentes (Operação tem 5 itens, Financeiro
   tem 1). `align-items: start` deixa cada coluna com a própria altura em vez
   de esticar todas até a mais alta. */
.nav-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 20px;
}
.nav-panel-col { display: flex; flex-direction: column; gap: 10px; }
.nav-panel-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.nav-panel-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.nav-panel-link:hover { background: var(--ink-100); }
.nav-panel-link strong {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-950);
}
/* Resumo limitado a 2 linhas: com 10 recursos, deixar o texto correr solto
   faz o painel passar da altura da tela em notebook. */
.nav-panel-link span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nav-panel-all {
  display: inline-block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-200);
  width: 100%;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--plum-700);
}

/* ── Hambúrguer + menu mobile ──────────────────────── */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-right: -10px;
}
.nav-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger-bar.on:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger-bar.on:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  padding: 12px 28px 28px;
  background: var(--paper);
  border-top: 1px solid var(--ink-200);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
}
.nav-mobile-acc,
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* 52px de alvo: a régua de toque é 44px, e aqui sobra folga. */
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-950);
  border-bottom: 1px solid var(--ink-200);
  text-align: left;
}
.nav-mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0 10px 14px;
  border-left: 2px solid var(--plum-200);
  margin: 6px 0 6px 4px;
}
.nav-mobile-sub a {
  min-height: 46px;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--ink-600);
}
.nav-mobile-sub a.is-all { color: var(--plum-700); font-weight: 600; }
.nav-mobile-foot {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile-foot .btn { text-align: center; }

.nav-sheet-enter-active,
.nav-sheet-leave-active { transition: opacity 0.18s ease, transform 0.18s ease; }
.nav-sheet-enter-from,
.nav-sheet-leave-to { opacity: 0; transform: translateY(-6px); }

@media (max-width: 900px) {
  .nav-panel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* O landing-styles só escondia `.nav-links` em 640px — abaixo disso não
     havia navegação nenhuma. Agora o corte é aqui, e o menu mobile assume. */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: block; }
}

/* ============= Rodapé v2 =============
   Quatro colunas de links além da marca (eram três). */
.footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.footer-mail {
  font-size: 14px;
  color: color-mix(in oklch, var(--plum-200) 90%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--plum-400) 45%, transparent);
  padding-bottom: 1px;
}
.footer-mail:hover { color: var(--lime); }
.footer-bottom { gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============= Hero centralizado (home) =============
   O `.eyebrow` e o `.hero-h1 .accent` do landing-styles.css são desenhados
   para fundo escuro — o accent é um gradiente que termina em lime, que sobre
   papel branco fica praticamente invisível (lime tem lightness 0.88). Aqui o
   destaque é plum, com o lime aparecendo só no traço de baixo, onde é adorno
   e não texto. */
.heroc {
  background: var(--paper);
  padding: 72px 0 0;
  overflow: hidden;
}
.heroc-inner { text-align: center; }

.heroc-eyebrow {
  background: color-mix(in oklch, var(--plum-100) 80%, transparent);
  border-color: color-mix(in oklch, var(--plum-300) 55%, transparent);
  color: var(--plum-800);
}
.heroc-eyebrow .dot {
  background: var(--plum-600);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--plum-400) 30%, transparent);
}

.heroc-h1 {
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  line-height: 1.03;
  font-weight: 900;
  margin: 22px auto 0;
  max-width: 19ch;
}
.heroc-h1 .accent {
  position: relative;
  color: var(--plum-700);
  font-style: italic;
  white-space: nowrap;
}
.heroc-h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, color-mix(in oklch, var(--lime) 55%, transparent), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  animation: heroc-underline 0.9s cubic-bezier(.16,1,.3,1) 0.45s forwards;
}
@keyframes heroc-underline { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .heroc-h1 .accent::after { animation: none; transform: scaleX(1); }
  .heroc-eyebrow .dot { animation: none; }
}

.heroc-lead {
  margin: 20px auto 0;
  max-width: 60ch;
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-600);
}

.heroc-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.heroc-trust {
  margin: 24px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--ink-500);
}
.heroc-trust span { display: inline-flex; align-items: center; gap: 7px; }
.heroc-trust .check { color: var(--ok); font-weight: 700; }

/* ── Print do produto ──────────────────────────────── */
.heroc-shot-wrap {
  position: relative;
  margin-top: 56px;
  padding-bottom: 8px;
}
.heroc-glow {
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(760px, 82%);
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, color-mix(in oklch, var(--plum-500) 34%, transparent), transparent 70%);
  filter: blur(58px);
  pointer-events: none;
}
/* A moldura reserva 16:9 desde o primeiro byte: o pôster e o iframe ocupam
   exatamente o mesmo espaço, então trocar um pelo outro no clique não empurra
   a página (CLS zero). */
.heroc-frame {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--plum-950);
  border: 1px solid var(--ink-200);
  box-shadow: 0 40px 80px -32px rgba(20, 8, 40, 0.38), 0 12px 28px -18px rgba(20, 8, 40, 0.22);
}

.heroc-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* O pôster inteiro é o botão — alvo de clique do tamanho do vídeo, não só o
   círculo de play. */
.heroc-play-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  position: relative;
}
.heroc-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heroc-play-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 40, 0.18);
  transition: background 0.2s ease;
}
.heroc-play-btn:hover::after { background: rgba(20, 8, 40, 0.3); }

.heroc-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--cta, oklch(0.88 0.20 128));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s ease;
}
.heroc-play-btn:hover .heroc-play { transform: translate(-50%, -50%) scale(1.08); }
.heroc-play-btn:focus-visible .heroc-play {
  outline: 3px solid var(--plum-600);
  outline-offset: 4px;
}
.heroc-play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent var(--cta-ink, oklch(0.28 0.10 140));
}
@media (prefers-reduced-motion: reduce) {
  .heroc-play, .heroc-play-btn::after { transition: none; }
}

@media (max-width: 760px) {
  .heroc { padding-top: 48px; }
  .heroc-h1 { max-width: none; }
  /* Na tela pequena o topo é promessa + ação; a ilustração espera a rolagem.
     O recorte mostra a parte de cima do painel, que é a reconhecível. */
  .heroc-shot-wrap { margin-top: 40px; }
  /* O vídeo mantém 16:9 no celular — recortar vídeo corta conteúdo, ao
     contrário do print de painel que a versão anterior exibia aqui. */
  .heroc-play { width: 60px; height: 60px; }
  .heroc-play::before { border-width: 11px 0 11px 18px; margin-left: 5px; }
  .heroc-actions { flex-direction: column; align-items: stretch; }
  .heroc-actions .btn { text-align: center; }
}

/* ============= Páginas de recurso ============= */

/* ── Trilha ────────────────────────────────────────── */
.rc-crumb {
  padding: 22px 0 0;
  background: var(--paper);
}
.rc-crumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
}
.rc-crumb a { transition: color 0.15s ease; }
.rc-crumb a:hover { color: var(--plum-700); }
.rc-crumb [aria-current='page'] { color: var(--ink-800); font-weight: 600; }

/* ── Hero ──────────────────────────────────────────── */
.rc-hero { padding: 40px 0 84px; background: var(--paper); }
.rc-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .rc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.rc-hero-h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.06;
  font-weight: 900;
  margin-top: 14px;
  max-width: 15ch;
}
.rc-hero-lead {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-600);
}

.rc-highlight {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ink-200);
}
.rc-highlight-num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--plum-700);
}
.rc-highlight-num small { font-size: 24px; vertical-align: top; }
.rc-highlight-label {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-600);
  max-width: 34ch;
}

.rc-includes { margin-top: 26px; }
.rc-includes-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.rc-includes ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-800);
}
.rc-check { color: var(--ok); font-weight: 800; flex-shrink: 0; }

.rc-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 560px) {
  .rc-hero-actions { flex-direction: column; align-items: stretch; }
  .rc-hero-actions .btn { text-align: center; }
}

/* ── Visual do hero ────────────────────────────────── */
.rc-frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--ink-200);
  box-shadow: 0 30px 64px -28px rgba(20, 8, 40, 0.32);
}
.rc-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ink-100);
  border-bottom: 1px solid var(--ink-200);
}
.rc-frame-dot { width: 9px; height: 9px; border-radius: 50%; background: #d4cce4; }
.rc-frame-dot:nth-child(1) { background: #f0a8a8; }
.rc-frame-dot:nth-child(2) { background: #f2d39a; }
.rc-frame-dot:nth-child(3) { background: #a8d8b0; }
.rc-frame-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  background: #fff;
}

/* Estado sem captura de tela — painel desenhado, não imagem faltando. */
.rc-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  min-height: 300px;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--plum-900), var(--plum-950));
  border: 1px solid color-mix(in oklch, var(--plum-400) 26%, transparent);
  box-shadow: 0 30px 64px -30px rgba(20, 8, 40, 0.5);
}
.rc-panel-ic {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 26px;
  background: color-mix(in oklch, var(--plum-700) 55%, transparent);
  color: var(--cta, oklch(0.88 0.20 128));
}
.rc-panel-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: white;
}
.rc-panel-sub {
  font-size: 15px;
  line-height: 1.55;
  color: color-mix(in oklch, var(--plum-200) 88%, transparent);
}

/* ── Ficha técnica ─────────────────────────────────── */
.rc-specs-sec { background: var(--ink-100); }

/* ── Próximo passo ─────────────────────────────────── */
.rc-next-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rc-next-title { max-width: 22ch; }
.rc-next-all {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--plum-700);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.rc-next-all:hover { color: var(--plum-900); }

.rc-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .rc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .rc-grid { grid-template-columns: 1fr; } }

.rc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ink-200);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rc-card:hover {
  transform: translateY(-3px);
  border-color: var(--plum-300);
  box-shadow: 0 14px 34px -18px color-mix(in oklch, var(--plum-700) 35%, transparent);
}
.rc-card-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: color-mix(in oklch, var(--plum-200) 40%, transparent);
  color: var(--plum-700);
}
.rc-card-cat {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.rc-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-950);
}
.rc-card-sum {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-600);
}
.rc-card-go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--plum-700);
}

/* ============= Hub de recursos ============= */
.rh-hero { background: var(--plum-950); color: white; padding: 88px 0 80px; }
.rh-hero .section-tag { color: var(--plum-300); }
.rh-hero-h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  margin-top: 14px;
  max-width: 20ch;
}
.rh-hero-lead {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in oklch, var(--plum-200) 92%, transparent);
}
.rh-hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.rh-cats {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .rh-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rh-cats { grid-template-columns: 1fr; } }

.rh-cat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ink-200);
}
.rh-cat-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: color-mix(in oklch, var(--plum-200) 40%, transparent);
  color: var(--plum-700);
}
.rh-cat-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-950);
}
.rh-cat-desc { font-size: 14px; line-height: 1.5; color: var(--ink-600); }
.rh-cat-count {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-500);
}

.rh-lib-sec { background: var(--ink-100); }

/* ============= Formulário público ============= */
.pform {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .pform-row { grid-template-columns: 1fr; }
}

.pform-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.pform-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
}

/* 16px no mobile é regra, não estética: abaixo disso o iOS dá zoom ao focar
   o campo e a página inteira sai do lugar. */
.pform-input,
.pform-select,
.pform-textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 13px 14px;
  color: var(--ink-950);
  background: white;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.pform-textarea {
  resize: vertical;
  min-height: 132px;
}
.pform-input::placeholder,
.pform-textarea::placeholder { color: var(--ink-400); }

.pform-input:focus,
.pform-select:focus,
.pform-textarea:focus {
  outline: none;
  border-color: var(--plum-500);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--plum-400) 28%, transparent);
}

/* Seta própria: `appearance: none` some com a nativa. */
.pform-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.pform-error {
  margin: 0;
  font-size: 13.5px;
  color: var(--err);
}
.pform-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
}

/* O botão precisa reafirmar o que o `.btn` da landing já dá, porque
   `button { background: none; border: 0 }` do reset vem depois no cascade
   quando não há classe utilitária competindo. */
.pform-submit { align-self: flex-start; }
.pform-submit:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 560px) {
  .pform-submit { align-self: stretch; text-align: center; }
}

.pform-spin {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid color-mix(in oklch, currentColor 30%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: pform-spin 0.7s linear infinite;
}
@keyframes pform-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pform-spin { animation-duration: 2.4s; }
}

/* Prefixo do SharedPhoneInput: o componente expõe estas variáveis para que
   cada contexto escolha a própria cor, mantendo o default do dashboard. */
.pform-phone {
  --phone-prefix-bg: var(--ink-100);
  --phone-prefix-border: var(--ink-300);
  --phone-prefix-ink: var(--ink-600);
  --phone-prefix-radius: var(--radius-sm);
}

/* ============= Estado de sucesso ============= */
.pform-done {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--ok) 8%, white);
  border: 1px solid color-mix(in oklch, var(--ok) 32%, transparent);
}
.pform-done-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--ok) 18%, white);
  color: var(--ok);
  font-size: 22px;
  font-weight: 800;
}
.pform-done h3 {
  margin-top: 16px;
  font-size: 20px;
  color: var(--ink-950);
}
.pform-done p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-600);
}
