/* ==========================================================================
   Plug Suite — site do produto
   Paleta portada de vsul-erp-app/src/index.css (design system "Nimbus"), com
   os papéis reequilibrados para a web: no app o azul é pontual e o preto
   estrutura, e é assim que o site usa as duas cores. A única divergência
   proposital é a fonte de título — Space Grotesk aqui, Fraunces no app.
   ========================================================================== */

:root {
  /* Superfícies */
  --bg-grad-start: #dce7fb;
  --bg-grad-end: #e7f3e4;
  --bg-base: #eef2f1;
  --surface: #ffffff;
  --surface-muted: #f4f6f9;
  --surface-dark: #16181d;

  /* Marca / acentos */
  --brand-blue: #2f5cff;
  --brand-blue-ink: #eaf0ff;
  --brand-teal: #6d97a6;   /* o "verde" da marca */
  --brand-blue-soft: #93aaff; /* azul legível sobre fundo escuro */
  --brand-teal-ink: #33535e;  /* verde escurecido, para texto sobre branco */
  --brand-teal-bg: #eaf1f3;   /* verde diluído, para superfície */
  --brand-teal-soft: #a8cbd6; /* verde legível sobre fundo escuro */
  --brand-yellow: #f5d949;
  --brand-yellow-ink: #4a3f05;
  --brand-black: #14161a;
  --accent-pill: #ffe14d;

  /* Texto */
  --ink: #14161a;
  --ink-2: #6b7280;
  --ink-3: #9ca3af;

  /* Bordas */
  --line: rgba(20, 22, 26, 0.08);
  --line-strong: rgba(20, 22, 26, 0.14);

  /* Estado — usado só dentro do mockup do app (o "+12%" e o selo "Pago"),
     porque ali a tela reproduz o próprio ERP. No site quem faz esse papel é o
     verde da marca (--brand-teal). */
  --success: #1a7f5a;
  --success-bg: #e4f5ec;
  --danger: #b42318;
  --danger-bg: #fdeceb;
  --warning: #8a6100;
  --warning-bg: #fdf3d7;

  /* Tipografia */
  --font-display: 'Space Grotesk', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Raio e sombra */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(20, 22, 26, 0.04), 0 8px 24px -12px rgba(20, 22, 26, 0.12);
  --shadow-panel: 0 1px 3px rgba(20, 22, 26, 0.05), 0 20px 48px -20px rgba(20, 22, 26, 0.16);
  --shadow-float: 0 12px 32px -8px rgba(20, 22, 26, 0.25);

  /* Papel das cores no site: o preto estrutura (header, blocos escuros), o
     AZUL é a cor de ação e de item ativo — como no dock do ERP —, o verde
     #6d97a6 apoia e o amarelo fica reservado ao mockup do app. */
  --action: var(--brand-blue);
  --action-hover: #2449d8;

  /* Layout */
  --shell: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(120% 140% at 8% 0%, var(--bg-grad-start) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 100%, var(--bg-grad-end) 0%, transparent 55%),
    var(--bg-base);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button, input { font: inherit; color: inherit; }
button:not(:disabled), summary, label[for] { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); padding: 10px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  text-decoration: none; font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}
.shell-narrow { max-width: 780px; }

/* ============================== Botões ============================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--action); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(47, 92, 255, .8);
}
.btn-primary:hover { background: var(--action-hover); box-shadow: 0 14px 26px -12px rgba(47, 92, 255, .9); }

/* Botão sobre fundo escuro: mesmo azul, com brilho para descolar do preto. */
.btn-on-dark {
  background: var(--brand-blue); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(47, 92, 255, .95);
}
.btn-on-dark:hover { background: #4a72ff; }

.btn-outline {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* No header o "Começar grátis" sai do azul para o verde da marca — texto em
   preto, porque branco sobre #6d97a6 não tem contraste suficiente. */
.site-header .btn-primary {
  background: var(--brand-teal); color: var(--brand-black);
  box-shadow: 0 8px 20px -10px rgba(109, 151, 166, .9);
}
.site-header .btn-primary:hover { background: #7ea7b6; }

.btn-ghost { background: transparent; color: rgba(255, 255, 255, .8); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--ink); font-size: .8125rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ============================== Header ============================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(12px);
  background: rgba(22, 24, 29, .92);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px -18px rgba(20, 22, 26, .9);
}

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700;
}
/* Logo puramente tipográfica, no mesmo desenho da marca do Solução Análises:
   Manrope 800 em caixa alta. Sem símbolo. */
.brand-name {
  font-family: 'Manrope', var(--font-sans);
  font-size: 1.15rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand-name-alt { color: var(--brand-blue-soft); }

/* No rodapé a marca fica sobre fundo claro. */
.site-footer .brand-name { color: var(--ink); }
.site-footer .brand-name-alt { color: var(--brand-blue); }

.nav {
  display: flex; align-items: center; gap: 22px;
  margin-right: auto;
}
/* Mesmo gesto do dock do ERP: o item atual é um bloco azul de canto arredondado
   com texto branco; os demais ficam em branco esmaecido. */
.nav a {
  font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .72);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a.is-active { color: #fff; background: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 17px; height: 2px; border-radius: 2px;
  background: #fff; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =============================== Hero =============================== */

.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-card);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(109, 151, 166, .22);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
}

h1.display {
  /* A frase é longa: a escala fica menor que a de um slogan curto para caber
     em três linhas e o hero não empurrar o restante da dobra. */
  margin: 20px 0 18px;
  font-size: clamp(1.85rem, 1.15rem + 2.3vw, 2.9rem);
  line-height: 1.12;
  max-width: 15ch;
}
/* O trecho que carrega a promessa fica no azul da marca, sublinhado de leve. */
.hl {
  color: var(--brand-blue);
  box-shadow: inset 0 -.12em rgba(47, 92, 255, .2);
}

.lede {
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  color: var(--ink-2);
  max-width: 54ch;
}
.lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-assurances {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 24px;
  font-size: .8125rem; color: var(--ink-2);
}
.hero-assurances li { display: flex; align-items: center; gap: 7px; }
.hero-assurances li::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 15px;
  border-radius: 50%;
  background: var(--brand-teal-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333535e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* ------------------------- Mockup do produto ------------------------- */

.hero-visual { position: relative; }

.app-frame {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}

.app-dock {
  background: var(--surface-dark);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.dock-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, .1);
}
.dock-btn.is-active { background: var(--brand-blue); }
.dock-btn-muted { margin-top: auto; background: rgba(255, 255, 255, .06); }

.app-body { padding: 20px; display: grid; gap: 14px; }

.app-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.pill {
  font-size: .6875rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  white-space: nowrap;
}
.pill-yellow { background: var(--accent-pill); color: var(--brand-yellow-ink); }

.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--surface-muted);
  display: grid; gap: 3px;
}
.app-card-label { font-size: .6875rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.app-card-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.app-card-trend { font-size: .6875rem; color: var(--ink-3); }
.app-card-trend.up { color: var(--success); font-weight: 600; }

.app-chart {
  display: flex; align-items: flex-end; gap: 7px;
  height: 84px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.app-chart span {
  flex: 1; height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--brand-blue) 0%, rgba(47, 92, 255, .35) 100%);
}
.app-chart span:last-child { background: linear-gradient(180deg, var(--brand-yellow) 0%, rgba(245, 217, 73, .4) 100%); }

.app-rows { display: grid; gap: 8px; }
.app-row {
  display: grid; grid-template-columns: 34px 1fr auto;
  align-items: center; gap: 10px;
}
.app-row > span:first-child { height: 8px; border-radius: 4px; background: var(--line-strong); }
.app-row > span:nth-child(2) { height: 8px; border-radius: 4px; background: var(--line); }
.app-row em {
  font-style: normal; font-size: .6875rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  background: var(--surface-muted); color: var(--ink-2);
}
.app-row em.ok { background: var(--success-bg); color: var(--success); }
.app-row em.warn { background: var(--warning-bg); color: var(--warning); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  box-shadow: var(--shadow-float);
}
.float-card strong { display: block; font-size: .8125rem; }
.float-card small { display: block; font-size: .6875rem; color: var(--ink-2); }

/* Os cartões flutuantes moram na borda do frame — se avançarem para dentro,
   tapam justamente os números que provam o produto. */
.float-card-a { left: -26px; top: -16px; max-width: 62%; }
.float-icon {
  width: 28px; height: 28px; flex: 0 0 28px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--brand-teal); color: #fff;
  font-weight: 700;
}

.float-card-b {
  right: -22px; bottom: -18px;
  flex-direction: column; align-items: flex-start; gap: 0;
}
.float-card-b strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

/* ============================== Seções ============================== */

.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt {
  background: rgba(255, 255, 255, .55);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 660px; margin-bottom: 40px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  margin: 16px 0 12px;
}
.section-head .section-title { margin-top: 16px; }
.section-lede { color: var(--ink-2); font-size: 1.0625rem; max-width: 62ch; }

/* ------------------------------ Pitch ------------------------------- */

.pitch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: clamp(24px, 4vw, 44px);
}
.pitch .section-title { margin-top: 0; }

.pitch-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 28px;
}
.pitch-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--surface-muted);
}
.pitch-col-good {
  background: var(--brand-blue-ink);
  border-color: rgba(47, 92, 255, .28);
}
.pitch-tag {
  display: inline-block;
  font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.pitch-col-good .pitch-tag { color: var(--brand-blue); }
.pitch-col ul { display: grid; gap: 10px; font-size: .9375rem; }
.pitch-col li { display: flex; gap: 10px; align-items: flex-start; }
.pitch-col li::before {
  content: "✕"; flex: 0 0 auto;
  color: var(--danger); font-size: .8125rem; font-weight: 700; line-height: 1.6;
}
.pitch-col-good li::before { content: "✓"; color: var(--brand-teal-ink); }

/* ------------------------------ Passos ------------------------------ */

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--brand-teal); color: var(--brand-black);
  font-family: var(--font-display); font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .9375rem; }
.step p strong { color: var(--ink); }

.callout {
  display: flex; align-items: flex-start; gap: 18px;
  margin-top: 20px;
  background: var(--surface-dark); color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-panel);
}
.callout p { color: rgba(255, 255, 255, .75); font-size: .9375rem; }
.callout p strong { color: var(--brand-blue-soft); font-weight: 600; }
.callout-badge {
  flex: 0 0 auto;
  background: var(--brand-blue); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}

/* ------------------------------ Módulos ----------------------------- */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.module-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: grid; gap: 10px; align-content: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-panel);
}
.module-card.is-free {
  border-color: rgba(109, 151, 166, .45);
  background: linear-gradient(180deg, var(--brand-teal-bg) 0%, var(--surface) 42%);
}

.module-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--brand-blue-ink); color: var(--brand-blue);
}
.module-icon svg { width: 20px; height: 20px; }
.module-card.is-free .module-icon { background: var(--brand-teal); color: #fff; }

.module-name { font-size: 1.0625rem; font-weight: 700; }
.module-desc { font-size: .875rem; color: var(--ink-2); }

.module-price {
  margin-top: 4px;
  font-size: .8125rem; font-weight: 700;
  color: var(--ink);
}
.module-card.is-free .module-price { color: var(--brand-teal-ink); }

.module-tag {
  position: absolute; top: 16px; right: 16px;
  font-size: .625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-teal); color: var(--brand-black);
}

.modules-note {
  margin-top: 22px;
  font-size: .875rem; color: var(--ink-2);
  max-width: 68ch;
}

/* --------------------------- Calculadora ---------------------------- */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.picker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 22px;
}
.picker-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-2);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.picker-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.pick {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .15s ease, background .15s ease;
}
.pick:hover { border-color: var(--line-strong); background: var(--surface-muted); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }

.pick-box {
  width: 20px; height: 20px; flex: 0 0 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.pick-box::after {
  content: ""; width: 11px; height: 11px;
  background: #fff center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transition: opacity .12s ease;
}
.pick input:checked + .pick-box { background: var(--brand-blue); border-color: var(--brand-blue); }
.pick input:checked + .pick-box::after { opacity: 1; }
.pick:has(input:checked) { border-color: rgba(47, 92, 255, .4); background: var(--brand-blue-ink); }
.pick input:focus-visible + .pick-box { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

.pick-text { display: grid; }
.pick-name { font-size: .9375rem; font-weight: 600; }
.pick-price { font-size: .75rem; color: var(--ink-2); }

.pick.is-locked { background: var(--brand-teal-bg); border-color: rgba(109, 151, 166, .45); cursor: default; }
.pick.is-locked:hover { background: var(--brand-teal-bg); }
.pick.is-locked .pick-box { background: var(--brand-teal); border-color: var(--brand-teal); }
.pick.is-locked .pick-box::after { opacity: 1; }
.pick.is-locked .pick-price { color: var(--brand-teal-ink); font-weight: 600; }

.summary {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--surface-dark); color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-panel);
}
.summary-label {
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.summary-amount {
  display: flex; align-items: baseline; gap: 6px;
  margin: 8px 0 6px;
}
.summary-amount .currency { font-size: 1rem; color: rgba(255, 255, 255, .6); }
.summary-amount strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 600; letter-spacing: -.02em;
}
.summary-amount .per { font-size: .875rem; color: rgba(255, 255, 255, .6); }

.summary-detail { font-size: .8125rem; color: rgba(255, 255, 255, .65); }

.summary-list {
  display: grid; gap: 7px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
}
.summary-list li {
  display: flex; justify-content: space-between; gap: 12px;
  color: rgba(255, 255, 255, .78);
}
.summary-list li span:last-child { color: #fff; font-weight: 600; }
.summary-list li.is-free span:last-child { color: var(--brand-teal-soft); }

.summary-compare {
  font-size: .75rem; line-height: 1.5;
  color: var(--brand-teal-soft);
  background: rgba(109, 151, 166, .16);
  border: 1px solid rgba(109, 151, 166, .45);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
}

.summary-foot {
  margin-top: 12px;
  font-size: .75rem; text-align: center;
  color: rgba(255, 255, 255, .5);
}

/* ---------------------------- Comparativo --------------------------- */

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9375rem;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface-muted);
}
.compare thead th.is-us { color: var(--brand-blue); background: var(--brand-blue-ink); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { color: var(--ink-2); }
.compare td.is-us { color: var(--ink); background: rgba(47, 92, 255, .05); }
.compare td.is-us strong { color: var(--brand-blue); }

/* ----------------------------- Personas ----------------------------- */

.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.persona {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: grid; gap: 10px; align-content: start;
}
.persona h3 { font-size: 1.0625rem; }
.persona p { font-size: .875rem; color: var(--ink-2); }
.persona-plan {
  margin-top: 4px; padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: .8125rem; color: var(--ink-2);
}
.persona-plan strong { color: var(--brand-blue); }

/* ----------------------------- Confiança ---------------------------- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 38px);
}
.trust-item h3 {
  font-size: .9375rem; margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-teal);
}
.trust-item p { font-size: .875rem; color: var(--ink-2); }

/* -------------------------------- FAQ ------------------------------- */

.faq { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  font-weight: 600; font-size: .9375rem;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem; color: var(--ink-2); line-height: 1;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 10px;
  font-size: .9375rem; color: var(--ink-2);
}

/* ------------------------------- CTA -------------------------------- */

.cta { padding: clamp(48px, 6vw, 80px) 0; }
.cta-box {
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(47, 92, 255, .38) 0%, transparent 58%),
    radial-gradient(90% 140% at 100% 100%, rgba(109, 151, 166, .32) 0%, transparent 58%),
    var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-panel);
}
.cta-title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
.cta-lede {
  margin: 14px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .72);
}

.cta-form {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 28px auto 0;
  max-width: 520px;
}
.cta-form input {
  flex: 1 1 260px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, .45); }
.cta-form input:focus-visible { outline-color: var(--brand-blue-soft); }
.cta-form input.has-error { border-color: #ff8f85; }

.cta-note {
  margin-top: 14px;
  font-size: .8125rem; color: rgba(255, 255, 255, .55);
}
.cta-note.is-error { color: #ff8f85; }
.cta-note.is-ok { color: var(--brand-teal-soft); }

/* ------------------------------ Rodapé ------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  padding-top: 44px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: .875rem; color: var(--ink-2);
  max-width: 40ch;
}
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav h3 {
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.footer-nav a {
  font-size: .875rem; color: var(--ink-2); text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: var(--ink-3); font-size: .75rem;
}

/* ============================ Responsivo ============================ */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-inline: auto; max-width: 560px; width: 100%; }
  .app-frame { transform: none; }
  .float-card-a { left: 0; }
  .float-card-b { right: 0; }
  .pricing { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow-panel);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }

  .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .pitch-split { grid-template-columns: 1fr; }
  .picker-list { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .float-card-a { top: 4px; }
  .float-card-b { bottom: -10px; }
}

@media (max-width: 420px) {
  .shell { padding-inline: 18px; }
  .app-cards { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

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