/* Vertexx TI - base visual compartilhada. Sem build. Use em todas as paginas.

   SISTEMA DE COR (tema misto)
   - Tema claro e o padrao em :root. O escopo .theme-dark redefine os MESMOS tokens
     (header, hero, fluxo, CTA final, rodape). Componentes so usam tokens.
   - Proporcao ~60/30/10: fundo claro (branco + gelo azulado) / navy em titulos, texto e faixas escuras / acento.
   - Gradiente da marca: SO no destaque do titulo do hero (.grad-text). Em mais nenhum lugar.
   - Ciano (--detail): so dentro de area escura, detalhe minimo (ponto do hero). Nunca texto sobre fundo claro.
   - Sem glow, sem sombra colorida, sem 3D. Sombras neutras so em hover de card e header ao rolar.

   CONTRASTE WCAG AA (razao calculada; normal >= 4.5, grande/icone >= 3)
   Tema claro
     --heading  #000C38 sobre #FFFFFF ........ 18.92   sobre #F3F6FB ........ 17.47
     --text     #2F3659 sobre #FFFFFF ........ 11.71   sobre #F3F6FB ........ 10.81
     --text-muted #545C7E sobre #FFFFFF ...... 6.54    sobre #F3F6FB ........ 6.04
     --accent-text #4448D6 (links) sobre #F3F6FB 6.17  (sobre #FFFFFF ~6.7)
     --on-accent #FFFFFF sobre --accent #5256E6 (botao primario) ... 5.48
     --on-accent #FFFFFF sobre --accent-hover #3A3FCB ............... 7.63
     --accent #5256E6 como icone sobre #FFFFFF ... 5.48 (>= 3)
     Referencia: o #7074FD puro sobre branco da so 3.75 e sobre gelo 3.46; por isso
     no tema claro o acento e o tom mais fundo #5256E6 (mesma familia, passa AA).
   Tema escuro (navy #000C38 / #050F44)
     --heading  #FFFFFF sobre #000C38 ........ 18.92
     --text     #D9DCF5 sobre #000C38 ........ 13.97
     --text-muted #A3A9D0 sobre #000C38 ...... 8.24    sobre #050F44 ........ 7.89
     --accent-text #9EA3FF sobre #000C38 ..... 8.23    sobre #050F44 ........ 7.89
     --on-accent #000C38 sobre --accent #7074FD (botao) ... 5.05
     --on-accent #000C38 sobre --accent-hover #8B8EFF ..... 6.68
     --detail #00F2FC sobre #000C38 .......... 13.61 (ponto decorativo)
     Palavra em gradiente do hero (texto grande): #CF97FF 8.58 / #7074FD 5.05 / #00F2FC 13.61 sobre #000C38. */

/* ===== Tokens ===== */
:root {
  /* paleta da marca (referencia; componentes nao usam estes diretamente) */
  --brand-navy: #000C38;
  --brand-navy-2: #050F44;
  --brand-grad: linear-gradient(92deg, #CF97FF 0%, #7074FD 48%, #00F2FC 100%);

  /* tema claro (padrao) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F6FB;
  --border: #E1E6F0;
  --text: #2F3659;
  --text-muted: #545C7E;
  --heading: #000C38;
  --accent: #5256E6;
  --accent-hover: #3A3FCB;
  --accent-text: #4448D6;
  --on-accent: #FFFFFF;
  --accent-tint: color-mix(in srgb, var(--accent) 10%, transparent);
  --detail: var(--accent-text);

  --whatsapp: #25D366;
  --shadow-sm: 0 1px 2px rgba(0, 12, 56, .06);
  --shadow-md: 0 8px 24px rgba(0, 12, 56, .08);

  /* escala de espaco */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-y: clamp(64px, 9vw, 112px);

  --radius: 12px;
  --radius-lg: 16px;
  --wrap: 1160px;
  --header-h: 68px;
  --font-title: 'Poppins', system-ui, sans-serif;
  --font-text: 'Montserrat', system-ui, sans-serif;
}

.theme-dark {
  --bg: #000C38;
  --surface: #050F44;
  --surface-2: #0A1650;
  --border: rgba(255, 255, 255, .12);
  --text: #D9DCF5;
  --text-muted: #A3A9D0;
  --heading: #FFFFFF;
  --accent: #7074FD;
  --accent-hover: #8B8EFF;
  --accent-text: #9EA3FF;
  --on-accent: #000C38;
  --accent-tint: color-mix(in srgb, var(--accent) 16%, transparent);
  --detail: #00F2FC;
  --shadow-sm: none;
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .35);
  background: var(--bg);
  color: var(--text);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 16px; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ===== Tipografia ===== */
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--heading); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text); max-width: 54ch; }
.muted { color: var(--text-muted); }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: block; font-size: .95rem; font-weight: 500; color: var(--accent-text); margin-bottom: var(--space-3); }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-5); }
section { padding: var(--section-y) 0; position: relative; }
.bg-ice { background: var(--surface-2); }
.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head h2 + p { color: var(--text-muted); margin-top: var(--space-4); font-size: 1.02rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: var(--space-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand-navy); color: #FFFFFF;
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ===== Botoes ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-title); font-weight: 600; font-size: .96rem; line-height: 1.2;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: var(--border); color: var(--heading); background: transparent; }
.theme-dark .btn-secondary { border-color: rgba(255, 255, 255, .35); }
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-ghost { color: var(--text); padding-inline: var(--space-4); }
.btn-ghost:hover { color: var(--heading); background: var(--surface-2); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.link-arrow { color: var(--accent-text); font-weight: 600; font-family: var(--font-title); }
.link-arrow::after { content: ' \2192'; transition: margin .18s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { margin-left: 4px; }

/* ===== Foco visivel ===== */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 8px;
}

/* ===== Cards e badges ===== */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5);
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-text);
}

/* ===== Header (sempre escuro) ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--bg); border-bottom: 1px solid var(--border); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 30px; width: auto; mix-blend-mode: screen; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: 12px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; position: relative;
  transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--text); background: none; border: 0;
}
.nav-link:hover, .nav-link[aria-expanded='true'] { color: var(--heading); background: var(--surface); }
.nav-link[aria-current='page'] { color: var(--accent-text); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-link[aria-expanded='true'] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .92rem; color: var(--text); }
.dropdown a:hover { background: var(--surface-2); color: var(--heading); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }

/* ===== Hero (escuro, navy chapado) ===== */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 50% 60% at 88% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: var(--space-7); align-items: center; }
.hero .kicker { color: var(--text-muted); font-weight: 500; }
.hero h1 { margin: 0 0 var(--space-5); max-width: 18ch; }
.hero .lead { margin-bottom: var(--space-6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-note { margin-top: var(--space-5); font-size: .88rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--detail); flex-shrink: 0; }
.hero-mascot { justify-self: center; }
.hero-mascot img { width: min(100%, 300px); height: auto; }

/* ===== Chips de segmentos ===== */
.chips-band { padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.chips-band .wrap { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.chips-band .label { font-size: .88rem; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: .88rem; font-weight: 500; color: var(--text); transition: border-color .18s, color .18s, background .18s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-tint); }

/* ===== Dor -> solucao ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.split .card { padding: var(--space-6); }
.split h3 { font-size: 1.15rem; margin-bottom: var(--space-4); }
.list-x li, .list-ok li { position: relative; padding-left: 30px; margin-bottom: var(--space-3); color: var(--text); }
.list-x li::before, .list-ok li::before { position: absolute; left: 0; top: 0; font-weight: 700; font-family: var(--font-title); }
.list-x li::before { content: '\00D7'; color: var(--text-muted); font-size: 1.3rem; line-height: 1.4; }
.list-ok li::before { content: '\2713'; color: var(--accent-text); }
.card-after { background: var(--surface-2); border-color: var(--accent); }

/* ===== Fluxo animado (escuro) =====
   Contraste (tema escuro): numero --on-accent #000C38 sobre --accent #7074FD 5.05; chip --accent-text #9EA3FF
   sobre #050F44 7.89; descricao --text-muted #A3A9D0 sobre #000C38 8.24; icone #9EA3FF sobre #050F44 7.89.
   Padrao (sem JS / movimento reduzido): tudo aceso. A animacao so existe com .flow-anim (adicionada pelo JS). */
.flow-section .section-head { max-width: 760px; }
.flow { --gap: var(--space-5); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.flow-step { position: relative; text-align: center; border-radius: var(--radius); outline-offset: 6px; }
.flow-step:focus-visible { outline: 3px solid var(--accent-text); }
.seg { position: absolute; z-index: 0; top: 40px; left: 50%; width: calc(100% + var(--gap)); height: 2px; background: var(--border); }
.seg::after {
  content: ''; position: absolute; inset: 0; transform-origin: left center; transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), var(--detail)); box-shadow: 0 0 8px color-mix(in srgb, var(--detail) 45%, transparent);
  transition: transform .9s cubic-bezier(.4, 0, .2, 1);
}
.flow-ico {
  position: relative; z-index: 1; width: 80px; height: 80px; margin: 0 auto var(--space-4); border-radius: 22px;
  display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent-text);
  transition: border-color .4s, color .4s, transform .4s;
}
.flow-ico svg { width: 34px; height: 34px; }
.flow-num {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-title); font-weight: 600; font-size: .8rem; line-height: 1;
  border: 2px solid var(--bg); transition: background .4s, color .4s;
}
.flow-body h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.flow-body p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; margin-bottom: var(--space-3); }
.flow-chip {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-family: var(--font-title); font-weight: 600; font-size: .85rem;
  background: var(--accent-tint); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  transition: opacity .4s, transform .4s;
}
.flow-note { text-align: center; color: var(--text-muted); font-size: .92rem; margin-top: var(--space-7); }
.flow-cta { justify-content: center; margin-top: var(--space-5); }

/* estado apagado, so quando a animacao esta armada */
.flow-anim .seg::after { transform: scaleX(0); }
.flow-anim .is-beam .seg::after { transform: scaleX(1); }
.flow-anim .flow-step:not(.is-lit):not(.is-focus) .flow-ico { border-color: var(--border); color: var(--text-muted); }
.flow-anim .flow-step:not(.is-lit):not(.is-focus) .flow-num { background: var(--surface-2); color: var(--text-muted); }
.flow-anim .flow-step:not(.is-lit):not(.is-focus) .flow-chip { opacity: 0; transform: translateY(6px); }
.flow-anim .flow-step.is-lit .flow-ico, .flow-anim .flow-step.is-focus .flow-ico { transform: translateY(-3px); }

@media (max-width: 1023px) and (min-width: 721px) {
  .flow { --gap: var(--space-3); }
  .flow-ico { width: 64px; height: 64px; border-radius: 18px; }
  .flow-ico svg { width: 28px; height: 28px; }
  .seg { top: 32px; }
  .flow-body h3 { font-size: .98rem; }
  .flow-body p { font-size: .82rem; }
  .flow-chip { font-size: .78rem; padding: 4px 10px; }
}
/* celular e tablet estreito: linha do tempo vertical */
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; --gap: 28px; }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-4); text-align: left; padding-bottom: var(--gap); }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-ico { width: 56px; height: 56px; border-radius: 16px; margin: 0; }
  .flow-ico svg { width: 26px; height: 26px; }
  .flow-num { width: 22px; height: 22px; top: -7px; right: -7px; font-size: .72rem; }
  .seg { top: 28px; left: 27px; width: 2px; height: 100%; }
  .seg::after { transform-origin: center top; transform: scaleY(1); }
  .flow-anim .seg::after { transform: scaleY(0); }
  .flow-anim .is-beam .seg::after { transform: scaleY(1); }
  .flow-body { padding-top: 2px; }
  .flow-body p { margin-bottom: var(--space-2); }
  .flow-note { margin-top: var(--space-6); }
}

/* ===== Modulos ===== */
.mod { padding: var(--space-5); }
.mod .ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: var(--space-4);
  background: var(--accent-tint); color: var(--accent);
}
.mod .ico svg { width: 22px; height: 22px; }
.mod h3 { margin-bottom: var(--space-2); }
.mod p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.section-foot { margin-top: var(--space-6); }

/* ===== Passos ===== */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 68px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: var(--space-5); left: var(--space-5);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-text);
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1;
}
.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ===== Troca de sistema (faixa clara/gelo; o unico bloco escuro do meio e o fluxo) ===== */
.switch-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-8); align-items: center; }
.switch-box h2 { margin-bottom: var(--space-4); max-width: 22ch; }
.switch-box p { margin-bottom: var(--space-5); max-width: 52ch; }
.switch-points li { padding: var(--space-4) 0 var(--space-4) 34px; position: relative; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--heading); }
.switch-points li:first-child { padding-top: 0; }
.switch-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.switch-points li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.switch-points li:first-child::before { top: 0; }

/* ===== Prova social ===== */
.metric { text-align: center; margin: 0 auto var(--space-6); }
.metric-value { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em; color: var(--heading); }
.metric-cur { color: var(--accent-text); }
.metric-unit { font-size: .6em; font-weight: 600; }
.metric-label { margin-top: var(--space-2); color: var(--text-muted); font-size: 1rem; }
.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; }
.testimonial { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.testimonial .mark { font-family: var(--font-title); font-size: 4rem; line-height: .6; height: 32px; display: block; color: var(--accent); }
.testimonial blockquote p { font-family: var(--font-title); font-size: clamp(1.1rem, 2.1vw, 1.4rem); font-weight: 500; color: var(--heading); line-height: 1.5; }
.testimonial figcaption { margin-top: var(--space-5); }
.testimonial .name { font-weight: 600; color: var(--heading); }
.testimonial .role { font-size: .88rem; color: var(--text-muted); }
.client-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.client-strip li {
  padding: 10px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  font-family: var(--font-title); font-weight: 500; font-size: .95rem; color: var(--text-muted);
}
.strip-label { text-align: center; font-size: .88rem; color: var(--text-muted); margin-bottom: var(--space-4); }

/* ===== Planos (teaser) ===== */
.plan-save { margin-top: var(--space-4); font-size: .85rem; padding: 6px 14px; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); max-width: 560px; margin-inline: auto; padding-top: var(--space-3); }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.plan-name { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.plan-profile { color: var(--text-muted); font-size: .95rem; line-height: 1.5; padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.plan-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.plan-lead { font-family: var(--font-title); font-weight: 600; font-size: .9rem; color: var(--heading); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.plan-list li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: .95rem; line-height: 1.45; color: var(--text); }
.plan-list .ico-check { flex: none; margin-top: 2px; color: var(--accent-text); }
.plan-price { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .82rem; margin-top: var(--space-2); }
.plan-price svg { flex: none; }
.plan .btn { width: 100%; white-space: normal; text-align: center; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.plan-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--accent); color: var(--on-accent); padding: 5px 14px; white-space: nowrap; }
.plans-foot { margin-top: var(--space-6); text-align: center; color: var(--text-muted); font-size: .95rem; }
.plans-foot .link-arrow { margin-left: var(--space-2); white-space: nowrap; }
@media (min-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: var(--space-5); }
  @supports (grid-template-rows: subgrid) {
    .plans-grid { grid-template-rows: auto; }
    .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: var(--space-3); }
  }
}
@media (max-width: 640px) {
  .plans-grid { gap: var(--space-7); }
}

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: 20px 4px; font-family: var(--font-title); font-weight: 500; font-size: 1rem; color: var(--heading); cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--accent-text); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 22px; color: var(--text); font-size: .98rem; max-width: 68ch; }

/* ===== CTA final (escuro) ===== */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 20ch; margin: 0 auto var(--space-4); }
.cta-final p { color: var(--text-muted); max-width: 50ch; margin: 0 auto var(--space-6); }
.cta-final .hero-cta { justify-content: center; }

/* ===== Rodape (escuro) ===== */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: var(--space-8) 0 var(--space-5); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--space-6); }
.footer-brand img { height: 30px; width: auto; mix-blend-mode: screen; margin-bottom: var(--space-4); }
.footer-brand p { color: var(--text-muted); max-width: 32ch; }
.site-footer h4 { font-size: .95rem; color: var(--heading); margin-bottom: var(--space-4); font-weight: 600; }
.site-footer li { margin-bottom: 9px; color: var(--text-muted); }
.site-footer li a:hover { color: var(--heading); }
.footer-bottom {
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); color: var(--text-muted); font-size: .84rem;
}

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #FFFFFF; display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .18s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Revelar ao rolar ===== */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 1100px) {
  .nav-link { padding: 10px 8px; font-size: .88rem; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 18px 24px 32px; gap: 18px;
    overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown.open { display: block; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-actions .btn-ghost { display: inline-flex; border: 1.5px solid var(--border); }
  .nav-actions .btn { width: 100%; padding: 15px; }
  .hero-grid, .split, .switch-box { grid-template-columns: 1fr; }
  .switch-box { gap: var(--space-6); }
  .hero-mascot { order: -1; justify-self: start; }
  .hero-mascot img { width: 130px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section-head { margin-bottom: var(--space-6); }
  .grid { gap: var(--space-3); }
  .grid-3 { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-final .btn { width: 100%; }
  .split .card, .plan { padding: var(--space-5); }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  /* modulos: 2 colunas, cards compactos */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mod { padding: var(--space-4); }
  .mod .ico { width: 36px; height: 36px; margin-bottom: var(--space-3); }
  .mod .ico svg { width: 19px; height: 19px; }
  .mod h3 { font-size: .93rem; margin-bottom: 6px; }
  .mod p { font-size: .82rem; line-height: 1.5; }
}
@media (max-width: 359px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   PAGINAS INTERNAS (funcionalidades, segmentos, sobre, contato,
   parceiros, privacidade, 404). Mesmos tokens da home.
   Contraste: --danger #B3261E sobre #FFFFFF 6.5 e sobre #F3F6FB 6.0;
   borda de campo --text-muted #545C7E sobre #FFFFFF 6.54 (>= 3).
   =================================================================== */
:root { --danger: #B3261E; }
[hidden] { display: none !important; }
html.has-toc { scroll-padding-top: calc(var(--header-h) + 72px); }
.dropdown a[aria-current='page'] { color: var(--accent-text); background: var(--accent-tint); }

/* Hero curto */
.hero-inner { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero-inner h1 { max-width: 22ch; }
.hero-inner .lead { margin-bottom: var(--space-6); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--text-muted); margin-bottom: var(--space-5); }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.crumbs a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current='page'] { color: var(--text); }

/* Indice de ancoras (funcionalidades) */
.toc { position: sticky; top: var(--header-h); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.toc ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding: 0 var(--space-5); max-width: var(--wrap); margin: 0 auto; }
.toc a { display: block; padding: 16px 14px; white-space: nowrap; font-size: .9rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; }
.toc a:hover { color: var(--heading); }
.toc a[aria-current='true'] { color: var(--accent-text); border-bottom-color: var(--accent); }

/* Grupos de funcionalidades */
.feat { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-7); align-items: start; }
.feat-head h2 { margin-bottom: var(--space-3); }
.feat-head p { color: var(--text-muted); max-width: 40ch; }
.feat-visual {
  position: relative; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center;
  margin-bottom: var(--space-6); background: var(--accent-tint); color: var(--accent);
}
.feat-visual::after { content: ''; position: absolute; inset: -8px; border-radius: 30px; border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent); }
.feat-visual svg { width: 42px; height: 42px; }
.feat-items { display: grid; gap: var(--space-3); }
.feat-item { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feat-item .ico-check { color: var(--accent-text); margin-top: 4px; }
.feat-item h3 { font-size: 1rem; margin-bottom: 2px; }
.feat-item p { font-size: .92rem; color: var(--text-muted); line-height: 1.55; }

/* Dores do segmento */
.pain { border-left: 3px solid var(--accent); border-radius: 4px var(--radius) var(--radius) 4px; }
.pain h3 { margin-bottom: var(--space-2); }
.pain p { color: var(--text-muted); font-size: .95rem; }
.more-segs { padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.more-segs .wrap { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.more-segs .label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }

/* Texto corrido (sobre) */
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-7); align-items: start; }
.prose-block p + p { margin-top: var(--space-4); }
.prose-block p { max-width: 62ch; }
.card-link { display: block; }
.card-link:hover { border-color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.facts .card h3 { margin-bottom: var(--space-2); }
.facts .card p { color: var(--text-muted); font-size: .95rem; }

/* Contato e formularios */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-7); align-items: start; }
.channels { display: grid; gap: var(--space-3); }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.channel .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.channel .ico svg { width: 22px; height: 22px; }
.channel small { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.4; }
.channel strong { display: block; font-family: var(--font-title); font-weight: 600; color: var(--heading); font-size: 1rem; word-break: break-word; }
.channel-main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.channel-main .btn { grid-column: 1 / -1; }
a.channel:hover { border-color: var(--accent); }
.form-card { padding: var(--space-6); }
.form-card h2 { font-size: 1.4rem; margin-bottom: var(--space-2); }
.form-card > p, .form-card > form > p.form-intro { color: var(--text-muted); margin-bottom: var(--space-5); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-title); font-weight: 600; font-size: .9rem; color: var(--heading); }
.field .opt { font-weight: 400; color: var(--text-muted); font-family: var(--font-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: var(--surface);
  border: 1px solid var(--text-muted); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: var(--space-5); }
.form-submit .btn { width: 100%; }
.form-foot { margin-top: var(--space-3); font-size: .82rem; color: var(--text-muted); text-align: center; }
.form-success, .form-error { padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent-tint); }
.form-success h3, .form-error h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.form-success p, .form-error p { margin-bottom: var(--space-4); }
.form-error { border-color: var(--danger); background: var(--surface); margin-top: var(--space-4); }
.form-error h3 { color: var(--danger); }
.form-success:focus, .form-error:focus { outline: none; }

/* Texto legal */
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-7); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.legal-toc h2 { font-size: 1rem; margin-bottom: var(--space-3); }
.legal-toc ol { list-style: none; counter-reset: lt; }
.legal-toc li { counter-increment: lt; margin-bottom: 2px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--text-muted); }
.legal-toc a::before { content: counter(lt) '. '; }
.legal-toc a:hover { color: var(--accent-text); }
.prose h2 { font-size: 1.35rem; margin: var(--space-7) 0 var(--space-3); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 70ch; }
.prose p + p { margin-top: var(--space-3); }
.prose ul { list-style: disc; padding-left: 22px; margin-top: var(--space-3); }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.callout { padding: var(--space-5); border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-tint); margin: var(--space-5) 0; }
.callout p { max-width: none; }
.updated { color: var(--text-muted); font-size: .9rem; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: var(--space-3); font-size: .93rem; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { font-family: var(--font-title); color: var(--heading); font-weight: 600; }
.table-scroll { overflow-x: auto; }

@media (max-width: 960px) {
  .feat, .two-col, .contact-grid, .legal-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .facts { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  .toc ul { padding: 0 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-5); }
  .feat-item { padding: var(--space-4); }
}
.legal-grid > *, .contact-grid > *, .feat > *, .two-col > * { min-width: 0; }
ol.crumbs { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.module-note { margin-top: var(--space-6); color: var(--text-muted); font-size: .95rem; max-width: 70ch; }
.module-note strong { color: var(--heading); }
.badge-soon { display: inline-block; padding: 0 .4rem; border: 1px solid var(--border); border-radius: 6px;
  background: var(--surface-2); color: var(--text-muted); font-size: .75rem; font-weight: 600; line-height: 1.6;
  vertical-align: middle; white-space: nowrap; }
