/* =====================================================================
   LIMUS SISTEMAS — Site institucional
   Paleta da marca: azul profundo #000822 · azul claro #7999FF · branco #FFFFFF
   (--navy-950 e --blue-500 são as cores exatas; as demais são tons derivados.)
   Sobre o azul claro o texto é sempre azul profundo — branco não tem contraste.
   Para trocar as cores da marca, altere apenas as variáveis abaixo.
   ===================================================================== */
:root {
  --navy-990: #000514;
  --navy-950: #000822;
  --navy-900: #06133c;
  --navy-800: #0d1f5c;
  --navy-700: #162e7e;
  --blue-600: #5c80f5;
  --blue-500: #7999ff;
  --blue-400: #94adff;
  --blue-300: #b1c3ff;
  --blue-200: #d4deff;
  --ice: #f2f5ff;
  --ice-2: #e6ecff;
  --blue-text: #2f52c6; /* azul para TEXTO sobre fundo claro (o azul da marca não tem contraste) */
  --white: #ffffff;
  --ink: #000822;
  --ink-soft: #364063;
  --ink-mute: #67708e;
  --line: rgba(0, 8, 34, 0.1);
  --line-dark: rgba(177, 195, 255, 0.14);
  --ok: #34d399;
  --warn: #fbbf24;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 8, 34, 0.45);
  --shadow-md: 0 14px 40px -12px rgba(0, 8, 34, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--font-mono); font-size: 0.82em; letter-spacing: 0.02em; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-500); color: var(--navy-950); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.text-gradient {
  background: linear-gradient(100deg, var(--blue-300) 0%, var(--blue-500) 55%, var(--blue-200) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-400), var(--blue-500));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -8px rgba(121, 153, 255, .65), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(121, 153, 255, .8), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-outline-light { color: var(--white); border-color: rgba(177,195,255,.35); background: transparent; }
.btn-outline-light:hover { background: rgba(177,195,255,.1); border-color: var(--blue-300); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--ice); transform: translateY(-1px); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.site-footer .brand img { height: 38px; }
@media (max-width: 520px) { .brand img { height: 29px; } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 8, 34, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: rgba(255,255,255,.07); }
.nav-mobile-only { display: none; }
.main-nav a { white-space: nowrap; }
/* Com "Contato" no menu são 8 itens: aperta um pouco antes de faltar espaço. */
@media (max-width: 1280px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 8px; font-size: 14px; }
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.link-login { color: rgba(255,255,255,.8); font-size: 14.5px; font-weight: 500; }
.link-login:hover { color: var(--white); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 64px) 0 40px;
  color: var(--white); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(121,153,255,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(22,46,126,.6), transparent 60%),
    var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: screen; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(177,195,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177,195,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-glow { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--navy-950), transparent); }

.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-200); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(177,195,255,.06);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 0 rgba(148,173,255,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(148,173,255,0); } 100% { box-shadow: 0 0 0 0 rgba(148,173,255,0); } }

.hero-title { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; letter-spacing: -0.045em; margin: 26px 0 22px; line-height: .98; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: rgba(236,240,255,.78); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14.5px; color: rgba(236,240,255,.7); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--blue-300); font-size: 16px; }

/* Animação de entrada */
.load { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Painel ilustrativo */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative;
  background: linear-gradient(160deg, rgba(13,31,92,.85), rgba(3,12,44,.92));
  border: 1px solid rgba(177,195,255,.2);
  border-radius: 22px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .8s var(--ease);
  overflow: hidden;
}
.hero-visual:hover .dash { transform: rotateY(-3deg) rotateX(2deg); }
.dash::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 35%); pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); color: rgba(236,240,255,.55); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(177,195,255,.25); }
.dash-body { padding: 18px; display: grid; gap: 14px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 14px; border-radius: 14px; background: rgba(177,195,255,.06); border: 1px solid var(--line-dark); display: grid; gap: 4px; }
.kpi-label { font-size: 11.5px; color: rgba(236,240,255,.6); }
.kpi-value { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.kpi-trend { font-size: 11px; color: rgba(236,240,255,.5); }
.kpi-trend.up { color: var(--ok); }
.kpi-accent { background: linear-gradient(160deg, rgba(121,153,255,.35), rgba(121,153,255,.1)); border-color: rgba(148,173,255,.45); }
.dash-chart { padding: 16px; border-radius: 14px; background: rgba(177,195,255,.05); border: 1px solid var(--line-dark); }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(236,240,255,.7); margin-bottom: 14px; }
.chip { padding: 3px 8px; border-radius: 6px; background: rgba(177,195,255,.12); color: var(--blue-200); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; position: relative;
  background: linear-gradient(to top, rgba(121,153,255,.25), rgba(177,195,255,.55));
  transform-origin: bottom; transform: scaleY(0); animation: grow 1.2s var(--ease) forwards;
}
.bars span:nth-child(1) { animation-delay: .7s } .bars span:nth-child(2) { animation-delay: .78s } .bars span:nth-child(3) { animation-delay: .86s }
.bars span:nth-child(4) { animation-delay: .94s } .bars span:nth-child(5) { animation-delay: 1.02s } .bars span:nth-child(6) { animation-delay: 1.1s }
.bars span.is-now { background: linear-gradient(to top, var(--blue-600), var(--blue-300)); box-shadow: 0 0 24px rgba(121,153,255,.6); }
.bars em { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; color: rgba(236,240,255,.45); font-family: var(--font-mono); }
@keyframes grow { to { transform: scaleY(1); } }
.dash-chart { padding-bottom: 30px; }
.dash-list { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(177,195,255,.04); color: rgba(236,240,255,.82); }
.row .mono { margin-left: auto; color: var(--white); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(52,211,153,.6); }
.dot.warn { background: var(--warn); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; font-weight: 700; }
.float-card small { color: var(--ink-mute); font-size: 12px; }
.fc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff3d6; color: #b7791f; font-size: 20px; flex: none; }
.fc-icon.ok { background: #d9f7ea; color: #0f9f6e; }
.fc-1 { left: -34px; bottom: 70px; }
.fc-2 { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { margin-top: 72px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 36px; align-items: center; width: max-content; padding: 20px 0; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; color: rgba(236,240,255,.22); }
.marquee-track span:nth-of-type(4n+1) { color: rgba(236,240,255,.85); }
.marquee-track b { color: var(--blue-400); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.section-light { background: var(--white); color: var(--ink); }
.section-ice { background: linear-gradient(180deg, var(--ice), #f8faff); color: var(--ink); }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-bg-lines {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(121,153,255,.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(22,46,126,.5), transparent 60%);
}
.section-bg-lines::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(177,195,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(177,195,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.section > .container { position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-text); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker-light { color: var(--blue-300); }
.section-title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -0.035em; }
.section-title em { font-style: normal; color: var(--blue-text); }
.section-dark .section-title em { color: var(--blue-300); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 560px; }
.lead-light { color: rgba(236,240,255,.72); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .kicker::before { display: none; }
.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.split-head .btn { justify-self: end; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Problema / proposta ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); background: #f8faff; display: grid; gap: 26px; align-content: start; }
.compare-card h3 { font-size: 26px; margin-top: 14px; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: rgba(121,153,255,.12); color: var(--blue-text); }
.tag-muted { background: rgba(0,8,34,.06); color: var(--ink-mute); }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow li { font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); position: relative; }
.flow li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--ink-mute); font-weight: 400; }
.flow li:not(:last-child) { display: inline-flex; align-items: center; }
.flow-muted li { color: var(--ink-mute); }
.pains li, .gains li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.pains li::before, .gains li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pains li::before { content: "×"; background: rgba(0,8,34,.06); color: var(--ink-mute); }
.gains li::before { content: "✓"; background: rgba(121,153,255,.15); color: var(--blue-text); }

.compare-limus {
  background: radial-gradient(500px 300px at 100% 0%, rgba(121,153,255,.35), transparent 60%), var(--navy-900);
  color: var(--white); border-color: transparent; box-shadow: var(--shadow-lg);
}
.compare-limus .tag { background: rgba(177,195,255,.14); color: var(--blue-200); }
.compare-limus .flow li { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--white); }
.compare-limus .flow li::after { color: var(--blue-300); }
.compare-limus .flow li.flow-brand { background: var(--blue-500); border-color: var(--blue-400); box-shadow: 0 8px 24px -6px rgba(121,153,255,.8); }
.compare-limus .gains li { color: rgba(236,240,255,.85); }
.compare-limus .gains li::before { background: rgba(177,195,255,.18); color: var(--blue-200); }

/* ---------- Funcionalidades (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature {
  position: relative; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(165deg, rgba(13,31,92,.55), rgba(3,12,44,.7));
  border: 1px solid var(--line-dark); overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease);
}
.feature:hover { border-color: rgba(177,195,255,.35); transform: translateY(-4px); }
.feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(148,173,255,.18), transparent 60%);
}
.feature:hover::before { opacity: 1; }
.feature h3 { font-size: 24px; margin: 20px 0 10px; }
.feature p { color: rgba(236,240,255,.68); font-size: 15.5px; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--blue-200); background: rgba(177,195,255,.1); border: 1px solid var(--line-dark); }
.f-notas { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; }
.f-fin { grid-column: span 3; }
.f-trib { grid-column: span 3; }
.f-rel { grid-column: span 2; }
.f-alert { grid-column: span 4; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.mini-list li { font-size: 14px; color: rgba(236,240,255,.8); padding-left: 18px; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--blue-400); }
.nf-mock { margin-top: auto; padding-top: 28px; }
.nf-mock { display: grid; gap: 0; }
.nf-mock > * { background: rgba(255,255,255,.96); color: var(--ink); }
.nf-line { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.nf-line:first-child { border-radius: 14px 14px 0 0; }
.nf-line span { color: var(--ink-mute); }
.nf-status { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 0 0 14px 14px; font-weight: 700; font-size: 14px; color: #0f9f6e; }
.nf-status svg { font-size: 18px; }
.spark { margin-top: 22px; height: 70px; }
.spark svg { width: 100%; height: 100%; }
.spark-line { stroke: var(--blue-300); stroke-width: 2.5; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; }
.spark-area { fill: rgba(148,173,255,.15); stroke: none; }
.feature.is-in .spark-line { animation: draw 2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.das-mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.das-mock div { padding: 12px; border-radius: 12px; background: rgba(177,195,255,.06); border: 1px solid var(--line-dark); display: grid; gap: 4px; }
.das-mock span { font-size: 11.5px; color: rgba(236,240,255,.55); }
.das-mock b { font-size: 15px; }
.das-mock .das-due { background: rgba(121,153,255,.22); border-color: rgba(148,173,255,.45); }
.alerts { position: relative; margin-top: 20px; height: 54px; overflow: hidden; }
.alert-item {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px;
  padding: 0 18px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); font-weight: 600; font-size: 15px;
  opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.alert-item::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(121,153,255,.2); flex: none; }
.alert-item.is-on { opacity: 1; transform: none; }
.alert-item.is-off { opacity: 0; transform: translateY(-100%); }

/* ---------- Para quem é ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.aud-img { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); position: relative; }
.aud-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,8,34,.35), transparent 50%); }
.aud-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.aud-card:hover .aud-img img { transform: scale(1.06); }
.aud-body { padding: 22px 24px 26px; position: relative; }
.aud-num { position: absolute; right: 24px; top: 24px; color: var(--blue-text); }
.aud-body h3 { font-size: 23px; margin-bottom: 8px; }
.aud-body p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue-200), var(--blue-500), var(--blue-200)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-n {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 22px;
  background: var(--white); color: var(--blue-text); font-size: 18px; font-weight: 500;
  border: 1px solid var(--blue-200); box-shadow: 0 10px 30px -10px rgba(121,153,255,.45);
  position: relative; transition: background .3s, color .3s, transform .4s var(--ease);
}
.step:hover .step-n { background: var(--navy-950); color: var(--white); transform: translateY(-4px) rotate(-4deg); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.steps-foot { text-align: center; margin-top: 56px; color: var(--ink-soft); font-size: 18px; }
.steps-foot strong { color: var(--ink); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; border-radius: 24px; padding: 32px 24px;
  background: linear-gradient(170deg, rgba(13,31,92,.5), rgba(3,12,44,.65));
  border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 22px;
}
/* O brilho do plano em destaque é uma camada própria: assim ele pode
   aparecer/sumir com transição quando o mouse passeia pelos planos. */
.plan::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(500px 300px at 50% -10%, rgba(148,173,255,.4), transparent 60%), linear-gradient(170deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(177,195,255,.5);
  box-shadow: 0 40px 90px -30px rgba(121,153,255,.6);
  transition: opacity .35s var(--ease);
}
.plan > * { position: relative; z-index: 1; }
.plan h3 { font-size: 27px; font-weight: 600; }
.plan h3 span { font-weight: 800; color: var(--blue-300); }
.plan-tagline { margin-top: 12px; color: rgba(236,240,255,.72); font-size: 15px; min-height: 68px; }
.plan-price { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.price-soon { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.price { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); letter-spacing: -0.03em; color: var(--white); }
.price small { font-size: 15px; font-weight: 600; color: rgba(236,240,255,.7); letter-spacing: 0; }
.price strong { font-size: 44px; font-weight: 800; line-height: 1; }
.price span { font-size: 20px; font-weight: 700; }
.price em { font-family: var(--font-body); font-style: normal; font-size: 14px; font-weight: 500; color: rgba(236,240,255,.55); letter-spacing: 0; margin-left: 3px; }
/* plano sem preço fixo: frase discreta no lugar do valor, na mesma altura */
.price.price-custom { min-height: 44px; align-items: center; font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: rgba(236,240,255,.86); }
.plan-inclui { font-size: 13.5px; font-weight: 600; color: var(--blue-300); margin-bottom: -8px; }
.plan-price small { color: rgba(236,240,255,.55); font-size: 14px; }
.plan-list { display: grid; gap: 11px; }
.plan-list li { position: relative; padding-left: 28px; font-size: 15px; color: rgba(236,240,255,.85); }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(177,195,255,.14); color: var(--blue-200); }
.plan-list sup { color: var(--blue-300); }
.plan-featured { transform: translateY(-14px); }
.plan-featured::before { opacity: 1; }
.plan-featured.reveal.is-in { transform: translateY(-14px); }

/* Destaque ao passar o mouse: o plano sob o cursor sobe e acende; os outros
   (inclusive o "Mais escolhido") recuam. Sem mouse (celular) nada muda. */
@media (hover: hover) and (pointer: fine) {
  .plans .plan.reveal.is-in { transition: transform .4s var(--ease), opacity .35s var(--ease); transition-delay: 0s; }
  .plans:hover .plan.reveal.is-in { transform: none; opacity: .72; }
  .plans:hover .plan::before { opacity: 0; }
  .plans .plan.reveal.is-in:hover { transform: translateY(-14px); opacity: 1; }
  .plans .plan:hover::before { opacity: 1; }
  .plans .plan:hover .plan-list li::before { background: var(--blue-500); color: var(--navy-950); }
}
.plans .plan:focus-within::before { opacity: 1; }
.plan-featured .plan-list li::before { background: var(--blue-500); color: var(--navy-950); }
.plan-badge { position: absolute; top: -13px; left: 30px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--navy-900); font-weight: 500; }
.plan-prime { border-color: rgba(177,195,255,.25); }
.plan-prime h3 span { background: linear-gradient(100deg, var(--blue-200), var(--white)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.compare-table-wrap { margin-top: 64px; overflow-x: auto; border-radius: 20px; border: 1px solid var(--line-dark); background: rgba(3,12,44,.5); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare-table caption { text-align: left; padding: 22px 24px 8px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--white); }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--line-dark); }
.compare-table thead th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-200); font-weight: 500; }
.compare-table tbody th { text-align: left; font-weight: 500; color: rgba(236,240,255,.85); }
.compare-table td { color: rgba(236,240,255,.75); }
.compare-table td.y { color: var(--blue-300); font-weight: 700; }
.compare-table td.n { color: rgba(236,240,255,.3); }
.compare-table .col-featured { background: rgba(121,153,255,.1); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th:first-child { text-align: left; }
.plans-note { text-align: center; margin-top: 28px; color: rgba(236,240,255,.6); font-size: 14.5px; }

/* ---------- Contabilidade (Prime) ---------- */
.contab { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.contab-visual { position: relative; }
.contab-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); box-shadow: var(--shadow-md); }
.contab-img img { width: 100%; height: 100%; object-fit: cover; }
.contab-equation {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 18px; border-radius: 16px;
  background: rgba(0,8,34,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); font-weight: 600; font-size: 14.5px; border: 1px solid var(--line-dark);
}
.contab-equation b { color: var(--blue-300); }
.contab-copy .lead { margin: 20px 0 30px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #f8faff; }
.role h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.role-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--blue-500); }
.role-contab .role-dot { background: var(--navy-900); }
.role-sub { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin: 6px 0 14px; }
.role ul li { font-size: 15px; color: var(--ink-soft); padding: 6px 0; border-top: 1px solid var(--line); }
.fineprint { margin-top: 22px; font-size: 13.5px; color: var(--ink-mute); padding-left: 14px; border-left: 2px solid var(--blue-200); }

/* ---------- Sobre ---------- */
.manifesto { margin: 0 0 72px; max-width: 1000px; }
.manifesto p { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 72px; }
.about-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(177,195,255,.04); }
.about-text { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.values-title { font-size: 26px; margin-bottom: 24px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); margin-bottom: 72px; }
.value { padding: 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.value:hover { background: rgba(177,195,255,.05); }
.value .mono { color: var(--blue-300); }
.value h4 { font-size: 22px; margin: 14px 0 8px; }
.value p { color: rgba(236,240,255,.65); font-size: 15.5px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(177,195,255,.04); }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 19px; background: linear-gradient(145deg, var(--blue-400), var(--navy-700)); flex: none; }
.member h4 { font-size: 19px; }
.member p { color: rgba(236,240,255,.6); font-size: 14.5px; margin-top: 4px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 9; position: relative; padding: 18px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.post-cover span { position: relative; z-index: 1; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; }
.post-cover::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -10%; top: -30%; filter: blur(10px); opacity: .9; }
.pc-1 { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.pc-1::after { background: radial-gradient(circle, var(--blue-400), transparent 70%); }
.pc-2 { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); }
.pc-2::after { background: radial-gradient(circle, var(--blue-200), transparent 70%); }
.pc-3 { background: linear-gradient(135deg, var(--navy-950), var(--blue-600)); }
.pc-3::after { background: radial-gradient(circle, var(--blue-300), transparent 70%); right: auto; left: -10%; }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font-size: 22px; }
.post-body p { color: var(--ink-soft); font-size: 15.5px; }
.post-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-text); font-size: 15px; }
.post-link svg { transition: transform .25s var(--ease); }
.post:hover .post-link svg { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .lead { margin-top: 18px; }
.inline-link { color: var(--blue-text); font-weight: 600; border-bottom: 1px solid currentColor; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue-text); font-size: 20px; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--navy-950); color: var(--white); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; padding: 90px 0; color: var(--white); overflow: hidden;
  background: radial-gradient(700px 400px at 80% 50%, rgba(177,195,255,.35), transparent 60%), linear-gradient(120deg, var(--navy-700), var(--navy-900) 70%);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 700px; letter-spacing: -0.03em; }
.cta-inner p { margin-top: 14px; color: rgba(255,255,255,.8); max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info .lead { margin: 18px 0 32px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.contact-list a, .contact-list span { font-weight: 600; font-size: 17px; }
.contact-list a:hover { color: var(--blue-text); }
.ci-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--blue-text); background: var(--ice); flex: none; }
.contact-photo { margin-top: 36px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-form {
  padding: 36px; border-radius: 26px; background: #f8faff; border: 1px solid var(--line);
  display: grid; gap: 18px; box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.opt { color: var(--ink-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(0,8,34,.16); background: var(--white);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(121,153,255,.15); }
.field.has-error input, .field.has-error select { border-color: #e5484d; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy-950); flex: none; }
.check.has-error { color: #e5484d; }
.form-status { font-size: 14.5px; text-align: center; min-height: 1em; color: var(--ink-soft); }
.form-status.error { color: #e5484d; }
.form-status.ok { color: #0f9f6e; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--navy-990); color: rgba(236,240,255,.7); padding: 80px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin: 18px 0 24px; max-width: 320px; font-size: 15.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--white); font-size: 19px; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--blue-500); border-color: var(--blue-500); color: var(--navy-950); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-300); margin-bottom: 6px; }
.footer-col a { font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; font-size: 13.5px; }
.footer-bottom .sep { margin: 0 6px; opacity: .5; }
.footer-legal { color: rgba(236,240,255,.45); }
.footer-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: .75;
  font-size: clamp(120px, 26vw, 380px); text-align: center; user-select: none;
  background: linear-gradient(to bottom, rgba(177,195,255,.14), rgba(177,195,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -0.08em;
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); font-size: 28px;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), opacity .3s;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }

/* Páginas legais */
.legal-page { background: var(--white); }
.legal-hero { padding: calc(var(--header-h) + 72px) 0 64px; background: radial-gradient(700px 400px at 85% 0%, rgba(121,153,255,.3), transparent 60%), var(--navy-950); color: var(--white); }
.legal-hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.04em; margin-top: 8px; }
.legal-hero p { color: rgba(236,240,255,.65); margin-top: 14px; }
.legal-body { padding: 64px 0 100px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 26px; margin: 44px 0 14px; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; }
.legal-alert { padding: 18px 20px; border-radius: 14px; background: #fff8e6; border: 1px solid #f5d98b; color: #7a5b12; font-size: 15px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-300); font-weight: 600; font-size: 15px; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; row-gap: 30px; }
  .plan-tagline { min-height: 46px; }
}
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 6px; font-size: 13.5px; }
  .link-login { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px;
    padding: 16px 20px 28px; background: rgba(0,8,34,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .main-nav a { font-size: 18px; padding: 14px 12px; border-radius: 12px; }
  .nav-mobile-only { display: block; }
  .menu-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .site-header { background: rgba(0,8,34,.97); }
  .header-actions .btn { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .dash { transform: none; }
  .split-head, .faq-wrap, .contact, .contab { grid-template-columns: 1fr; gap: 32px; }
  .split-head .btn { justify-self: start; }
  .faq-head { position: static; }
  .compare { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .f-notas, .f-fin, .f-trib, .f-rel, .f-alert { grid-column: span 1; grid-row: auto; }
  .f-notas, .f-alert { grid-column: span 2; }
  .audience, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 0; bottom: 0; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-200), var(--blue-500), var(--blue-200)); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; text-align: left; padding: 0 0 30px; }
  .step-n { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-featured, .plan-featured.reveal.is-in { transform: none; }
  .plan-tagline { min-height: 0; }
  .contab-img { aspect-ratio: 16 / 11; }
  .values { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; max-width: 520px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .kpi-accent { grid-column: span 2; }
  .fc-1 { left: -6px; bottom: -58px; }
  .fc-2 { right: -6px; top: -26px; }
  .float-card { padding: 10px 12px 10px 10px; }
  .float-card strong { font-size: 13px; }
  .marquee { margin-top: 96px; }
  .compare-card { padding: 26px 22px; }
  .bento { grid-template-columns: 1fr; }
  .f-notas, .f-alert { grid-column: span 1; }
  .mini-list { grid-template-columns: 1fr; }
  .das-mock { grid-template-columns: 1fr 1fr; }
  .das-mock .das-due { grid-column: span 2; }
  .alerts { height: 72px; }
  .audience, .posts, .roles, .about-grid, .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contab-equation { font-size: 12.5px; gap: 6px; padding: 10px 12px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .load { opacity: 1; transform: none; }
  .bars span { transform: none; }
  .spark-line { stroke-dashoffset: 0; }
}

/* =====================================================================
   FORMULÁRIO DO PLANO (pop-up)
   Cabeçalho escuro como os cards de plano; corpo claro como o formulário
   de contato, para os campos terem o mesmo jeito do resto do site.
   ===================================================================== */
.plan-modal {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px;
  background: transparent; color: var(--ink); overflow: visible;
}
.plan-modal::backdrop { background: rgba(0,5,20,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.plan-modal[open] { animation: modal-in .45s var(--ease); }
.plan-modal[open]::backdrop { animation: modal-fade .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes modal-fade { from { opacity: 0; } }
.plan-modal-card {
  position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 24px); overflow: hidden;
  border-radius: 26px; background: #f8faff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(177,195,255,.25);
}
.plan-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: var(--white); font-size: 18px; cursor: pointer; transition: background .2s;
}
.plan-modal-close:hover { background: rgba(255,255,255,.16); }
.plan-modal-head {
  position: relative; flex: none; padding: 26px 30px 22px; color: var(--white);
  background: radial-gradient(420px 220px at 85% -30%, rgba(148,173,255,.45), transparent 65%), linear-gradient(170deg, var(--navy-700), var(--navy-950));
}
.plan-modal-head .kicker { margin-bottom: 8px; }
.plan-modal-head h2 { font-size: 30px; font-weight: 600; }
.plan-modal-head h2 span { font-weight: 800; color: var(--blue-300); }
.plan-modal-price { margin-top: 6px; font-size: 14.5px; color: rgba(236,240,255,.7); }
.plan-modal-price strong { font-family: var(--font-display); font-size: 19px; color: var(--white); letter-spacing: -0.02em; }
.plan-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.plan-switch button {
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); color: rgba(236,240,255,.8); transition: background .2s, color .2s, border-color .2s;
}
.plan-switch button:hover { border-color: var(--blue-300); color: var(--white); }
.plan-switch button[aria-checked="true"] { background: var(--blue-500); border-color: var(--blue-500); color: var(--navy-950); }
.plan-modal-form { display: grid; gap: 14px; padding: 22px 30px 26px; overflow-y: auto; overscroll-behavior: contain; }
.plan-modal-intro { font-size: 15px; color: var(--ink-soft); }
.plan-modal-form .field { gap: 6px; }
.plan-modal-form .field input, .plan-modal-form .field select, .plan-modal-form .field textarea { padding: 11px 14px; }
.plan-modal-form .field textarea { min-height: 64px; }
.plan-modal-form .field .erro { font-size: 13px; color: #e5484d; }
.plan-modal-form .field.has-error textarea { border-color: #e5484d; }
.plan-modal-form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plan-modal-ok { padding: 40px 30px 34px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.plan-modal-ok[hidden], .plan-modal-form[hidden] { display: none; }
.plan-modal-ok-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: var(--navy-950); background: var(--blue-500); box-shadow: 0 14px 34px -10px rgba(121,153,255,.9); }
.plan-modal-ok-icon svg { stroke-width: 2.6; }
.plan-modal-ok h3 { font-size: 26px; }
.plan-modal-ok p { color: var(--ink-soft); max-width: 380px; margin-bottom: 10px; }
@media (max-width: 560px) {
  .plan-modal-head { padding: 22px 20px 18px; }
  .plan-modal-head h2 { font-size: 26px; }
  .plan-modal-form { padding: 18px 20px 22px; }
}
