/* ============================================================
   ChatForce 2.0 — Site público (páginas de marketing)
   Linguagem visual inspirada no site institucional da Onsiite:
   neutros quentes, vermelho como acento, grade de fundo, brilho
   radial, títulos compactos e cards com hover.
   Sem build: carregado direto de public/assets/marketing.css.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #060606;
  --surface: #101010;
  --soft: #181818;
  --text: #f5f5f3;
  --muted: #aaaaaa;
  --line: #2c2c2c;
  --red: #dc2626;
  --red-bright: #ff1b1b;
  --red-deep: #940000;
  --green: #16a05d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --maxw: 1180px;
  color-scheme: dark;
}

html[data-theme='light'] {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --soft: #ececea;
  --text: #111111;
  --muted: #656565;
  --line: #d7d7d3;
  --shadow: 0 25px 70px rgba(50, 21, 21, 0.10);
  --shadow-sm: 0 10px 30px rgba(50, 21, 21, 0.08);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 850; letter-spacing: -0.055em; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { width: min(var(--maxw), 100% - 44px); margin: 0 auto; }
.pad { padding: 120px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.red { color: var(--red); }
em { font-style: normal; color: var(--red); }

/* ---------- Header ---------- */
.mk-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
@supports (color: color-mix(in lab, red, red)) {
  .mk-header { background: color-mix(in srgb, var(--bg) 83%, transparent); }
}
.mk-nav { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 78px; }
.mk-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; }
.mk-logo img { width: 36px; height: 36px; object-fit: contain; }
.mk-logo span i { color: var(--red); font-style: normal; }
.mk-links { display: flex; gap: 30px; font-size: 14px; font-weight: 700; color: var(--muted); }
.mk-links a { transition: color 0.2s; }
.mk-links a:hover, .mk-links a.active { color: var(--red); }
.mk-actions { display: flex; align-items: center; gap: 10px; }

.mk-themes { display: flex; align-items: center; gap: 2px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.mk-themes button {
  width: 30px; height: 28px; border: 0; border-radius: 50%; background: transparent;
  color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1;
}
.mk-themes button.active { background: var(--surface); color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.mk-hamb { display: none; border: 0; background: transparent; color: var(--text); font-size: 25px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px; border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(110deg, #b40000, var(--red-bright));
  box-shadow: 0 14px 35px rgba(226, 11, 11, 0.27);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(226, 11, 11, 0.36); }
.btn.small { padding: 12px 16px; font-size: 13px; border-radius: 10px; }
.btn.green { background: linear-gradient(110deg, #0f7a45, var(--green)); box-shadow: 0 14px 35px rgba(22, 160, 93, 0.27); }
.btn.green:hover { box-shadow: 0 20px 45px rgba(22, 160, 93, 0.36); }
.mk-actions .btn.small { padding: 7px 12px; font-size: 12px; border-radius: 8px; white-space: nowrap; flex: none; }
@media (min-width: 901px) and (max-width: 1200px) { .mk-links { gap: 18px; font-size: 13px; } }
@media (max-width: 1000px) { .mk-actions .btn.small { display: none; } }
.btn.white { background: #fff; color: var(--red-deep); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--red); color: var(--red); }
.under { border-bottom: 1px solid var(--line); padding: 15px 2px; font-weight: 700; transition: border-color 0.2s, color 0.2s; }
.under:hover { border-color: var(--red); color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(900px, 100vh, 1180px); padding-top: 78px; overflow: hidden; color: #fff; isolation: isolate; background-color: #050505; }
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 74% 52%, rgba(255, 46, 0, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.62) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: auto -8% -18%; height: 68%; z-index: 0; pointer-events: none;
  filter: blur(22px); mix-blend-mode: screen;
  background: radial-gradient(at 70% 72%, rgba(255, 82, 24, 0.34) 0, rgba(105, 22, 15, 0.2) 22%, transparent 54%);
}
.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 30px; min-height: clamp(822px, calc(100vh - 78px), 1102px);
}
.kicker { color: #bdbdbd; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 25px; }
.kicker b { color: var(--red-bright); }
.hero h1 { font-size: clamp(46px, 6vw, 82px); color: #fff; }
.hero h1 em { color: var(--red-bright); }
.lead { color: #bdbdbd; font-size: 19px; line-height: 1.65; max-width: 590px; margin: 30px 0; }
.lead strong { color: #fff; }
.hero-buttons { display: flex; align-items: center; gap: 25px; }
.hero .under { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.3); }
.mini { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 55px; }
.mini span { display: flex; align-items: center; gap: 8px; color: #bdbdbd; font-size: 12px; font-weight: 600; }
.mini b { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--red-bright); color: var(--red-bright); border-radius: 50%; }

.hero-visual { position: relative; height: 640px; }
.rings { position: absolute; top: 20px; left: -45px; width: 620px; height: 620px; border: 1px solid rgba(255, 42, 42, 0.25); border-radius: 50%; }
.rings::before, .rings::after { content: ''; position: absolute; inset: 70px; border: 1px dashed rgba(255, 42, 42, 0.36); border-radius: 50%; }
.rings::after { inset: 145px; }
.pattern {
  position: absolute; inset: 0; z-index: -1; opacity: 0.06;
  background: url('/assets/fundo%20chat.png') center / 720px auto repeat;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
}
.hero-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.6)) drop-shadow(0 20px 40px rgba(255, 55, 0, 0.28));
  animation: heroGlow 4s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  to { filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 26px 46px rgba(255, 55, 0, 0.45)); }
}
.float {
  position: absolute; display: grid; gap: 4px; padding: 15px 18px; border-radius: 15px;
  background: rgba(16, 16, 16, 0.88); border: 1px solid var(--line);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.float small { color: var(--muted); font-size: 12px; }
.float b { font-size: 24px; color: #fff; }
.float i { color: var(--green); font-size: 11px; font-style: normal; }
.float.one { top: 120px; left: 0; }
.float.two { bottom: 140px; right: 0; }

/* ---------- Cenário de lançamento (foguete + ambiente) ---------- */
.launch { position: absolute; inset: 0; z-index: 1; }

.launch-hud {
  position: absolute; top: 50%; left: 50%; width: 640px; height: 640px;
  transform: translate(-50%, -50%); z-index: 0; opacity: 0.85;
  animation: hudSpin 120s linear infinite;
}
.hud-ring { fill: none; stroke: rgba(255, 70, 50, 0.22); stroke-width: 1; }
.hud-ring.dash { stroke: rgba(255, 70, 50, 0.3); stroke-dasharray: 2 16; }
.hud-ring.dash-2 { stroke: rgba(255, 70, 50, 0.16); stroke-dasharray: 44 24; }
.hud-ring.faint { stroke: rgba(255, 255, 255, 0.05); }
.hud-axis { stroke: rgba(255, 70, 50, 0.12); stroke-width: 1; stroke-dasharray: 3 12; }
@keyframes hudSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.ground-glow {
  position: absolute; bottom: -60px; left: 50%; width: 560px; height: 340px; z-index: 1;
  transform: translateX(-50%); filter: blur(22px);
  background: radial-gradient(circle at 50% 80%, rgba(255, 96, 24, 0.5), rgba(226, 11, 11, 0.22) 42%, transparent 72%);
}

.launch-tower {
  position: absolute; bottom: 66px; left: calc(50% - 156px); width: 76px; height: 276px; z-index: 2;
  opacity: 0.6; filter: drop-shadow(0 0 8px rgba(255, 60, 30, 0.45));
}
.tower-steel rect { fill: #2b2b2b; }
.tower-steel path { fill: none; stroke: #3a3a3a; stroke-width: 2; }
.tower-steel rect:first-child, .tower-steel rect:nth-child(2) { fill: #333; }

.rocket-svg {
  position: absolute; bottom: 34px; left: 50%; width: 210px; height: 524px; z-index: 3;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.65));
  animation: rocketBob 4.5s ease-in-out infinite alternate;
}
@keyframes rocketBob {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(-9px); }
}
.rocket-word {
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 27px; font-weight: 800; letter-spacing: 0.03em; fill: #2c2c2c;
}
.rocket-flame { transform-box: view-box; transform-origin: 120px 438px; animation: flameFlicker 0.3s ease-in-out infinite alternate; }
@keyframes flameFlicker {
  from { transform: scaleY(1) scaleX(1); opacity: 0.95; }
  to { transform: scaleY(1.16) scaleX(0.95); opacity: 1; }
}
.rocket-emblem { transform-box: view-box; transform-origin: 120px 162px; animation: emblemPulse 2.6s ease-in-out infinite alternate; }
@keyframes emblemPulse { to { opacity: 0.7; } }

.embers { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.embers i {
  position: absolute; bottom: 60px; left: var(--x); width: 3px; height: 3px; border-radius: 50%;
  background: #ff7a45; box-shadow: 0 0 9px 2px rgba(255, 90, 30, 0.75);
  opacity: 0; animation: emberRise var(--t) linear infinite; animation-delay: var(--d);
}
@keyframes emberRise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  14% { opacity: 1; }
  100% { transform: translateY(-430px) scale(1); opacity: 0; }
}

.smoke {
  position: absolute; bottom: -36px; left: 50%; width: 780px; height: 300px; z-index: 2;
  transform: translateX(-50%); filter: blur(20px); opacity: 0.9; pointer-events: none;
  background:
    radial-gradient(circle at 10% 72%, rgba(122, 40, 30, 0.9) 0 58px, transparent 70px),
    radial-gradient(circle at 27% 86%, rgba(168, 62, 42, 0.85) 0 82px, transparent 96px),
    radial-gradient(circle at 50% 92%, rgba(226, 92, 48, 0.9) 0 96px, transparent 112px),
    radial-gradient(circle at 73% 86%, rgba(158, 56, 38, 0.85) 0 80px, transparent 94px),
    radial-gradient(circle at 90% 74%, rgba(112, 38, 28, 0.9) 0 60px, transparent 72px);
  animation: smokeDrift 9s ease-in-out infinite alternate;
}
@keyframes smokeDrift {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to { transform: translateX(-50%) translateY(-12px) scale(1.05); }
}

/* ---------- Capa cinematográfica + parallax ---------- */
.hero.hero-cover { background-color: #050505; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #050505;
  background-size: auto 106%;
  background-position: right top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
}
@media (min-width: 2000px) {
  .hero-bg { background-size: auto 122%; }
}
@media (min-width: 2800px) {
  .hero-bg { background-size: auto 145%; }
}
.hero-fx {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-stars,
.hero-fire,
.hero-smoke {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-stars,
.hero-fire {
  display: none;
}
.hero-smoke {
  display: none;
}
.hero.hero-cover::before {
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.98) 10%, rgba(0, 0, 0, 0.88) 30%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.05) 80%, transparent 100%),
    radial-gradient(circle at 74% 52%, rgba(255, 46, 0, 0.14), transparent 38%);
}
.hero.hero-cover .float { display: none; }
@media (max-width: 900px) {
  .hero-bg { background-attachment: scroll; background-size: auto 82%; background-position: 84% bottom; animation: none; }
  /* A imagem menor que o hero deixa uma faixa no topo; dissolve a borda. */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #050505 0%, #050505 22%, rgba(5, 5, 5, 0) 38%);
  }
  .hero-fire { left: 41%; top: 66%; width: 74vw; height: 74vw; }
  .hero-smoke { width: 200vw; height: 72vw; }
  .hero.hero-cover::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.88) 40%, rgba(0, 0, 0, 0.6) 74%, rgba(0, 0, 0, 0.35) 100%),
      radial-gradient(circle at 74% 52%, rgba(255, 46, 0, 0.12), transparent 40%);
  }
}

/* ---------- Section headings ---------- */
.split, .heading, .cloud { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 90px; }
.heading { margin-bottom: 65px; }
h1, h2 { font-size: clamp(38px, 5vw, 70px); }
.intro { color: var(--muted); font-size: 19px; line-height: 1.65; }
.problem h2 { max-width: 620px; }

.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.pains span { padding: 16px; border: 1px solid var(--line); border-radius: 13px; color: var(--red); font-weight: 700; }
.pains b { color: var(--text); font-weight: 700; }
.pains span:last-child { grid-column: span 2; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 27px; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.card > span { color: var(--red); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 14px; }
.card h3 { margin: 26px 0 12px; font-size: 23px; }
.card p { color: var(--muted); line-height: 1.6; }
.card a { display: inline-block; margin-top: 22px; color: var(--red); font-size: 13px; font-weight: 800; }
.card .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--red);
  border-radius: 50%; color: var(--red); font-size: 24px; margin-bottom: 8px;
}
.card ul.ticks { margin-top: 18px; display: grid; gap: 10px; }
.card ul.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; }
.card ul.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* ---------- Dashboard mock ---------- */
.dash-stage {
  margin-top: 28px; padding: 50px; border-radius: 34px; overflow: auto;
  background: radial-gradient(circle, rgba(226, 11, 11, 0.21), transparent 48%), #090909;
}
.dashboard-frame {
  max-width: 1000px; margin: 0 auto; background: var(--surface); border: 8px solid #191919;
  border-radius: 20px; overflow: hidden; line-height: 0;
  transform: perspective(1400px) rotateX(1.5deg);
  box-shadow: 0 35px 65px rgba(0, 0, 0, 0.7);
}
.dash-mock { line-height: 1.4; color: #141414; background: #f5f5f3; display: grid; grid-template-columns: 190px 1fr; min-width: 720px; min-height: 460px; }
.dash-mock aside { background: #151515; color: #ddd; display: flex; flex-direction: column; gap: 12px; padding: 22px 15px; }
.dash-mock aside .brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; margin-bottom: 12px; }
.dash-mock aside .brand img { width: 24px; height: 24px; }
.dash-mock aside b { background: var(--red); border-radius: 6px; padding: 9px 11px; font-size: 13px; }
.dash-mock aside span { font-size: 12px; color: #999; padding: 3px 2px; }
.dash-main { padding: 26px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head strong { font-size: 16px; }
.dash-head small { background: #e5e5e3; border-radius: 6px; padding: 7px 10px; color: #555; font-size: 11px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 22px 0; }
.stats div { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 11px; display: grid; gap: 4px; }
.stats small { color: #777; font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; }
.stats b { font-size: 19px; }
.stats i { color: #16915a; font-size: 10px; font-style: normal; }
.chart { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; height: 150px; margin-bottom: 12px; }
.chart .bars { border: 1px solid #ddd; border-radius: 8px; background: repeating-linear-gradient(0deg, #fff, #fff 34px, #eee 35px); position: relative; overflow: hidden; }
.chart .bars::after { content: ''; position: absolute; top: 62px; left: 6%; width: 88%; border-top: 4px solid var(--red); transform: skewY(-8deg); }
.donut { width: 132px; height: 132px; margin: 0 auto; border: 25px solid #ddd; border-top-color: var(--red); border-right-color: #18a05e; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.dash-row { background: #fff; border: 1px solid #ddd; border-radius: 6px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 10px; font-size: 10px; margin-top: 6px; }
.dash-row i { font-style: normal; color: var(--green); }

/* ---------- Mock: tela de conversa (seção 03/04) ---------- */
.chat-demo {
  --cd-bg: #0f0f10; --cd-panel: #171718; --cd-panel-2: #1e1e20; --cd-line: #2a2a2c;
  --cd-text: #f2f2f0; --cd-muted: #9b9b9b; --cd-head: #141415;
  --cd-in-bg: #1f1f1f; --cd-in-text: #e5e5e5;
  --cd-out-bg: #3b82f6; --cd-out-text: #ffffff;
  display: grid; grid-template-columns: 244px 1fr; min-width: 760px; min-height: 520px;
  background: var(--cd-bg); color: var(--cd-text); line-height: 1.45; font-size: 13px;
}
html[data-theme='light'] .chat-demo {
  --cd-bg: #f7f8fa; --cd-panel: #ffffff; --cd-panel-2: #f1f2f4; --cd-line: #e4e5e8;
  --cd-text: #16181d; --cd-muted: #6b7280; --cd-head: #ffffff;
  --cd-in-bg: #eef0f2; --cd-in-text: #111827;
  --cd-out-bg: #2563eb; --cd-out-text: #ffffff;
}
.cd-list { background: var(--cd-panel); border-right: 1px solid var(--cd-line); display: flex; flex-direction: column; }
.cd-list-head { padding: 16px 14px 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--cd-line); }
.cd-list-head strong { font-size: 15px; }
.cd-search { background: var(--cd-panel-2); border: 1px solid var(--cd-line); border-radius: 9px; padding: 8px 11px; color: var(--cd-muted); font-size: 11.5px; }
.cd-chips { display: flex; gap: 6px; font-size: 10.5px; }
.cd-chips b { background: var(--red); color: #fff; border-radius: 99px; padding: 4px 9px; font-weight: 800; }
.cd-chips span { border: 1px solid var(--cd-line); border-radius: 99px; padding: 4px 9px; color: var(--cd-muted); }
.cd-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--cd-line); }
.cd-item.active { background: var(--cd-panel-2); box-shadow: inset 3px 0 0 var(--red); }
.cd-item-main { min-width: 0; }
.cd-item-main b { display: block; font-size: 12.5px; }
.cd-item-main small { display: block; color: var(--cd-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-item-side { display: grid; gap: 5px; justify-items: end; }
.cd-item-side time { color: var(--cd-muted); font-size: 10px; }
.cd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.cd-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c, #7c3aed); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.02em; }
.cd-thread { display: flex; flex-direction: column; background: var(--cd-bg); }
.cd-thread-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--cd-head); border-bottom: 1px solid var(--cd-line); }
.cd-thread-head b { display: block; font-size: 13.5px; }
.cd-thread-head small { color: var(--cd-muted); font-size: 11px; }
.cd-status { margin-left: auto; font-size: 10.5px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: rgba(22, 160, 93, 0.14); color: #16a05d; border: 1px solid rgba(22, 160, 93, 0.35); }
.cd-messages { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.cd-msg { max-width: 74%; padding: 10px 13px; border-radius: 14px; font-size: 12.5px; }
.cd-msg p { margin: 0; }
.cd-msg small { display: block; margin-top: 6px; font-size: 10px; opacity: 0.72; }
.cd-msg.in { align-self: flex-start; background: var(--cd-in-bg); color: var(--cd-in-text); border-bottom-left-radius: 4px; }
.cd-msg.out { align-self: flex-end; background: var(--cd-out-bg); color: var(--cd-out-text); border-bottom-right-radius: 4px; }
.cd-msg.out b { color: #fff; }
.cd-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); font-size: 11px; }
.cd-composer { margin: 0 16px 16px; padding: 11px 13px; border: 1px solid var(--cd-line); border-radius: 12px; background: var(--cd-panel); display: flex; align-items: center; justify-content: space-between; color: var(--cd-muted); font-size: 12px; }
.cd-composer b { background: var(--green); color: #fff; border-radius: 8px; padding: 7px 14px; font-size: 11.5px; }
html[data-theme='light'] .dash-stage { background: radial-gradient(circle, rgba(226, 11, 11, 0.14), transparent 48%), #efeceb; }
html[data-theme='light'] .dashboard-frame { border-color: #dcdcda; box-shadow: 0 30px 60px rgba(50, 21, 21, 0.2); }

/* ---------- Channels / integrations ---------- */
.cloud { align-items: center; }
.cloud h2 { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.chips span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 13px; font-weight: 600; }
.network {
  position: relative; height: 440px;
  background: radial-gradient(circle, rgba(226, 11, 11, 0.14), transparent 62%);
}
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines line { stroke: var(--line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 12; animation: netFlow 7s linear infinite; }
.net-lines circle { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.1 10; opacity: 0.85; }
@keyframes netFlow { to { stroke-dashoffset: -120; } }
.net-core, .net-node {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; box-shadow: var(--shadow); transform: translate(-50%, -50%);
}
.net-core {
  width: 132px; height: 132px; top: 50%; left: 50%;
  background: linear-gradient(150deg, var(--red-deep), var(--red-bright));
  animation: netPulse 4.5s ease-out infinite;
}
@keyframes netPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 11, 11, 0.35); }
  55% { box-shadow: 0 0 0 26px rgba(226, 11, 11, 0); }
}
.net-core img { width: 60px; height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
.net-node {
  gap: 4px; width: 88px; height: 88px; padding: 8px;
  background: var(--surface); border: 1px solid var(--red); color: var(--text);
  transition: transform 0.25s, border-color 0.25s;
}
.net-node:hover { transform: translate(-50%, -50%) scale(1.07); border-color: var(--red-bright); }
.net-node i { color: var(--red); font-size: 22px; line-height: 1; }
.net-node small { font-size: 9.5px; font-weight: 800; line-height: 1.15; letter-spacing: 0.01em; }
.net-node.n0 { top: 11%; left: 50%; }
.net-node.n1 { top: 30%; left: 87%; }
.net-node.n2 { top: 70%; left: 87%; }
.net-node.n3 { top: 89%; left: 50%; }
.net-node.n4 { top: 70%; left: 13%; }
.net-node.n5 { top: 30%; left: 13%; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; }
.step b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; }
.step h3 { margin: 20px 0 10px; font-size: 19px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band div b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 850; letter-spacing: -0.05em; color: var(--red); }
.stats-band div span { color: var(--muted); font-size: 14px; }
.stats-band.sv-prior div b { color: var(--accent, var(--red)); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform 0.25s, border-color 0.25s; }
.plan:hover { transform: translateY(-5px); }
.plan.featured { border-color: var(--red); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan .price b { display: inline-flex; align-items: baseline; gap: 2px; font-size: 42px; font-weight: 850; letter-spacing: -0.04em; }
.plan .price .price-period { color: var(--muted); font-size: 14px; }
.price-currency { font-size: 0.5em; font-weight: 700; color: var(--muted); margin-right: 1px; }
.plan ul { display: grid; gap: 11px; }
.plan ul li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.plan .btn { width: 100%; }
.pricing-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--red); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* ---------- CTA ---------- */
.demo-box {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 65px; border-radius: 32px; color: #fff;
  background: linear-gradient(115deg, var(--red-deep), #f31a1a);
  box-shadow: 0 30px 80px rgba(226, 11, 11, 0.21);
}
.demo-box h2 { font-size: clamp(36px, 4.4vw, 58px); color: #fff; }
.demo-box h2 em { color: #fff; }
.demo-box .kicker { color: #fff; }
.demo-box p { color: rgba(255, 255, 255, 0.85); margin-top: 14px; max-width: 520px; }

/* ---------- Faixa espacial escura (elemento da capa) ---------- */
.dark-band {
  position: relative;
  background: #050505;
  color: #fff;
  overflow: hidden;
}
.dark-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 70, 30, 0.18), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(255, 70, 30, 0.1), transparent 42%);
}
.dark-band > .shell { position: relative; z-index: 1; }
.dark-band h2 { color: #fff; }
.dark-band .kicker, .dark-band .intro { color: #bdbdbd; }
.dark-band em { color: var(--red-bright); }

/* ---------- Economia: dor da Meta x estratégias ---------- */
.econ { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: start; }
.econ-pain {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 32px 30px;
  background: linear-gradient(160deg, rgba(255, 90, 30, 0.18), rgba(255, 255, 255, 0.03));
}
.econ-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 12px;
  border-radius: 99px;
}
.econ-pain h3 { font-size: 26px; margin: 18px 0 12px; color: #fff; }
.econ-pain p { color: #cfcfcf; line-height: 1.7; }
.econ-pain ul { margin-top: 18px; display: grid; gap: 10px; }
.econ-pain li { position: relative; padding-left: 24px; color: #cfcfcf; font-size: 14px; }
.econ-pain li::before { content: '✕'; position: absolute; left: 0; color: var(--red-bright); font-weight: 800; }
.econ-solutions { display: grid; gap: 14px; }
.econ-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, transform 0.25s;
}
.econ-item:hover { border-color: var(--red); transform: translateY(-3px); }
.econ-item .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--red); color: var(--red-bright); font-size: 24px;
}
.econ-item h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.econ-item p { color: #bdbdbd; font-size: 14px; line-height: 1.6; }

/* ---------- Escala e jornada ---------- */
.shift { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 20px; align-items: start; }
.shift-mock {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.04);
}
.shift-mock .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.shift-mock .head b { color: #fff; font-size: 17px; }
.shift-mock .head small { color: #9a9a9a; font-size: 12px; }
.shift-row {
  display: grid; grid-template-columns: 40px 1fr 116px; align-items: center; gap: 14px;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.shift-row:first-of-type { border-top: 0; }
.shift-row > span { color: #d5d5d5; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.shift-row .track { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.shift-row .track b { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--red-deep), var(--red-bright)); }
.shift-row small { text-align: right; color: #9a9a9a; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.shift-row.off .track { background: rgba(255, 255, 255, 0.04); }
.shift-row.off small { color: var(--red-bright); font-weight: 700; }
.shift-lock {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 14px;
  color: #cfcfcf; font-size: 13px; line-height: 1.5;
}
.shift-lock i { color: var(--red-bright); font-size: 20px; flex: none; }
.shift-points { display: grid; gap: 14px; }
.shift-note {
  margin-top: 22px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.03); color: #bdbdbd; font-size: 13.5px; line-height: 1.7;
}
.shift-note b { color: #fff; }

/* ---------- Dores x soluções ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain-card {
  display: flex; flex-direction: column; gap: 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pain-card .pain { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 800; line-height: 1.45; }
.pain-card .pain i { color: var(--red); font-size: 21px; flex: none; margin-top: 1px; }
.pain-card .fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.65; }
.pain-card .fix b { display: block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Garantia e implantação ---------- */
.guarantee {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: center;
  padding: 34px 36px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(226, 11, 11, 0.1), transparent 62%), var(--surface);
  box-shadow: var(--shadow-sm);
}
.guarantee .seal {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(150deg, var(--red-deep), var(--red-bright)); color: #fff; font-size: 46px;
}
.guarantee .tag {
  display: inline-block; margin-bottom: 10px; color: var(--red);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.guarantee h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin-bottom: 10px; }
.guarantee p { color: var(--muted); line-height: 1.7; }
.guarantee p + p { margin-top: 10px; }

/* ---------- Bloco de observação (módulos à parte) ---------- */
.note-block {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 26px 28px; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 16px; background: var(--surface);
}
.note-block .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--red); color: var(--red); font-size: 24px;
}
.note-block h3 { font-size: 20px; margin-bottom: 9px; }
.note-block p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.note-block ul { margin-top: 14px; display: grid; gap: 9px; }
.note-block li { position: relative; padding-left: 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.note-block li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.note-block li b { color: var(--text); }

/* ---------- Prova social ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote {
  margin: 0;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.quote:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text); }
.quote figcaption { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 0 0 4px; }
.quote .avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(150deg, #b40000, var(--red-bright)); color: #fff;
  font-weight: 800; font-size: 15px; flex: none;
}
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { color: var(--muted); font-size: 12.5px; }
.quote .avatar.avatar-logo {
  width: 128px; height: 128px; background: #fff; border: 1px solid var(--line);
  box-sizing: border-box; padding: 14px; overflow: hidden;
}
.quote .avatar.avatar-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }


/* ---------- Footer ---------- */
.mk-footer { background: #050505; color: #eee; margin-top: 110px; padding: 85px 0 30px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.foot > div { display: flex; flex-direction: column; gap: 12px; }
.foot .mk-logo { color: #fff; }
.foot .mk-logo span i { color: var(--red-bright); }
.foot p, .foot a, .foot span { color: #888; font-size: 14px; }
.foot a:hover { color: var(--red); }
.foot b { color: #fff; font-size: 14px; }
.foot .socials { display: flex; gap: 10px; margin-top: 6px; }
.foot .socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #222; border-radius: 50%; color: #bbb; font-size: 18px; }
.foot .socials a:hover { border-color: var(--red); color: var(--red); }
.copy { display: flex; justify-content: space-between; gap: 10px; margin-top: 60px; padding-top: 25px; border-top: 1px solid #222; color: #777; font-size: 12px; }

/* ---------- Legal / prose ---------- */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 140px 0 40px; }
.legal-wrap h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 10px; }
.legal-wrap .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal-notice { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 18px 20px; margin-bottom: 34px; font-size: 14px; }
.legal-text h2 { font-size: 22px; margin: 34px 0 12px; letter-spacing: -0.02em; }
.legal-text p, .legal-text li { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.legal-text ul { list-style: disc; padding-left: 22px; }
.legal-text strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-single { display: flex; justify-content: center; }
.contact-single .mk-form { width: 100%; max-width: 588px; }
.contact-info { display: grid; gap: 16px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.contact-info .item i { color: var(--red); font-size: 22px; }
.contact-info .item b { display: block; font-size: 14px; }
.contact-info .item span { color: var(--muted); font-size: 13px; }
.mk-form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); }
.mk-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.mk-form input, .mk-form select, .mk-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.mk-form input:focus, .mk-form select:focus, .mk-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(226, 11, 11, 0.14); }
.mk-form textarea { min-height: 130px; resize: vertical; }
.mk-form .field-error { color: var(--red); font-size: 12px; font-weight: 600; }
.mk-form input.is-invalid, .mk-form select.is-invalid, .mk-form textarea.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226, 11, 11, 0.14); }
.mk-form .checks { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.mk-form .checks summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 15px; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none;
}
.mk-form .checks summary::-webkit-details-marker { display: none; }
.mk-form .checks summary::marker { content: ''; }
.mk-form .checks summary b { color: var(--red); }
.mk-form .checks summary .caret { color: var(--red); font-size: 17px; transition: transform 0.22s; }
.mk-form .checks[open] summary .caret { transform: rotate(180deg); }
.mk-form .checks[open] summary { border-bottom: 1px solid var(--line); }
.mk-form .checks-body { padding: 14px 15px; display: grid; gap: 11px; }
.mk-form .checks-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mk-form .checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-form .check {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.mk-form .check:hover { border-color: var(--red); }
.mk-form .check input { width: auto; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.mk-form .check:has(input:checked) { border-color: var(--red); background: rgba(226, 11, 11, 0.08); }
.mk-form .form-section { display: grid; gap: 16px; }
.mk-form .form-section + .form-section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 6px; }
.mk-form .form-section > h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; }
.mk-form .form-section > h3 span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
}
.mk-form .row3 { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; }
.mk-form .check-wide { grid-column: 1 / -1; }
.mk-form .check.has-error { border-color: var(--red); }

/* ---------- Resumo do plano (adesão) ---------- */
.plan-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--red);
  background: rgba(226, 11, 11, 0.08);
}
.plan-summary small { display: block; color: var(--muted); font-size: 12px; }
.plan-summary b { font-size: 18px; }
.plan-summary .price { color: var(--red); font-size: 20px; font-weight: 850; white-space: nowrap; }
.plan-summary .price i { font-style: normal; font-size: 13px; font-weight: 700; }
.plan-items { margin-top: 9px; display: grid; gap: 6px; }
.plan-items li { position: relative; padding-left: 20px; color: var(--muted); font-size: 13.5px; }
.plan-items li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-ok { background: rgba(22, 160, 93, 0.12); border: 1px solid rgba(22, 160, 93, 0.4); color: #4ade80; border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
html[data-theme='light'] .alert-ok { color: #128a50; }

/* ---------- Code block ---------- */
.codeblock {
  background: #0b0b0b; border: 1px solid #232323; border-radius: 16px;
  padding: 22px 24px; overflow: auto; box-shadow: var(--shadow);
}
.codeblock pre { margin: 0; }
.codeblock code {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.7; color: #e6e6e6; white-space: pre;
}

/* ---------- Reveal on scroll (progressivo: visível sem JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .btn.small { display: none; }
  .mk-hamb { display: block; }
  /* Capa no mobile: sem os links secundários nem o resumo 01–04. */
  .hero .under { display: none; }
  .hero .mini { display: none; }
  .mk-links {
    position: absolute; top: 77px; left: 0; right: 0; display: none; flex-direction: column;
    gap: 18px; padding: 25px; background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .mk-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding: 105px 0 30px; }
  .hero-visual { height: 520px; }
  .rocket-svg { width: 158px; height: 396px; }
  .launch-hud { width: 480px; height: 480px; }
  .launch-tower { height: 208px; width: 58px; left: calc(50% - 120px); bottom: 52px; }
  .smoke { width: 580px; height: 240px; }
  .ground-glow { width: 440px; height: 280px; }
  .split, .heading, .cloud { grid-template-columns: 1fr; gap: 35px; }
  .cards, .cards.three { grid-template-columns: 1fr 1fr; }
  .econ, .quotes, .shift { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .steps, .stats-band { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .pad { padding: 85px 0; }
  .demo-box { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .mk-nav { height: 68px; }
  .mk-links { top: 67px; }
  .hero { padding-top: 68px; min-height: 780px; }
  .hero-grid { min-height: 700px; padding-top: 60px; }
  .hero h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .lead, .intro { font-size: 17px; }
  /* CTA compacto, ancorado no canto inferior esquerdo da capa. */
  .hero-grid { position: relative; }
  .hero-grid .hero-buttons { position: absolute; left: 0; bottom: 16px; flex-direction: row; align-items: center; gap: 0; }
  .hero-grid .hero-buttons .btn { padding: 11px 15px; font-size: 12.5px; border-radius: 11px; }
  .mini { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-visual { height: 240px; }
  .float { display: none; }
  .rocket-svg { width: 124px; height: 312px; bottom: 24px; }
  .launch-hud { width: 360px; height: 360px; }
  .launch-tower { display: none; }
  .smoke { width: 430px; height: 190px; }
  .ground-glow { width: 340px; height: 220px; }
  .rings { width: 460px; height: 460px; left: -60px; }
  .hero-logo { width: 220px; height: 220px; }
  .one { top: 90px; } .two { bottom: 40px; }
  .pains { grid-template-columns: 1fr; }
  .pains span:last-child { grid-column: auto; }
  .cards, .cards.three, .cards.two, .pain-grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .note-block { grid-template-columns: 1fr; padding: 22px 20px; }
  .steps, .stats-band { grid-template-columns: 1fr; }
  .dash-stage { border-radius: 0; margin-inline: -14px; padding: 20px 14px; }
  .network { height: 360px; }
  .net-core { width: 104px; height: 104px; }
  .net-core img { width: 46px; height: 46px; }
  .net-node { width: 72px; height: 72px; padding: 5px; }
  .net-node i { font-size: 18px; }
  .net-node small { font-size: 8.5px; }
  .demo-box { padding: 40px 25px; }
  .foot { grid-template-columns: 1fr; }
  .copy { flex-direction: column; }
  .mk-footer { margin-top: 75px; }
  .mk-form .row2, .mk-form .row3 { grid-template-columns: 1fr; }
  .mk-form .checks-grid { grid-template-columns: 1fr; }
  .legal-wrap { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation: none; }
  .hero-img, .hero-stars, .hero-fire, .hero-smoke { animation: none; }
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Calculadora de custo WABA ---------- */
.calc-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start; }
.calc-form { gap: 22px; }
.calc-presets { display: grid; gap: 12px; }
.calc-presets-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.calc-preset-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc-preset {
  display: grid; gap: 5px; text-align: left; padding: 14px 15px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  color: var(--text); font: inherit; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.calc-preset:hover { border-color: var(--red); transform: translateY(-2px); }
.calc-preset b { font-size: 13.5px; }
.calc-preset small { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.calc-preset.active { border-color: var(--red); background: rgba(226, 11, 11, 0.09); }
.calc-preset.active small { color: #d9a7a7; }
html[data-theme='light'] .calc-preset.active small { color: #8a3030; }
.calc-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.calc-range { position: relative; padding-right: 62px; }
.calc-range output {
  position: absolute; top: 0; right: 0; padding: 3px 10px; border-radius: 99px;
  background: rgba(226, 11, 11, 0.1); color: var(--red); font-size: 12px; font-weight: 800;
}
.calc-form input[type='range'] {
  width: 100%; height: 22px; padding: 0; border: 0; background: transparent;
  box-shadow: none; accent-color: var(--red); cursor: pointer;
}
.calc-form input[type='range']:focus { box-shadow: none; }
.calc-form .calc-range small { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.55; }

.calc-result { position: sticky; top: 96px; display: grid; gap: 14px; }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-total { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.calc-total span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.calc-total b { font-size: 25px; letter-spacing: -0.02em; }
.calc-total small { color: var(--muted); font-size: 11.5px; }
.calc-total.com { border-color: rgba(22, 160, 93, 0.55); background: rgba(22, 160, 93, 0.08); }
.calc-total.com b { color: var(--green); }
html[data-theme='light'] .calc-total.com b { color: #0f7a45; }

.calc-saving {
  display: grid; gap: 1px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(22, 160, 93, 0.55);
  background: linear-gradient(135deg, rgba(22, 160, 93, 0.16), rgba(22, 160, 93, 0.04));
}
.calc-saving span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.calc-saving b { color: var(--green); font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
html[data-theme='light'] .calc-saving b { color: #0f7a45; }
.calc-saving i { color: var(--text); font-style: normal; font-size: 13px; font-weight: 700; }

.calc-breakdown { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.calc-bd-head, .calc-bd-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 10px; padding: 12px 16px; font-size: 13px; }
.calc-bd-head { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--soft); border-bottom: 1px solid var(--line); }
.calc-bd-row { border-bottom: 1px solid var(--line); }
.calc-bd-row:last-child { border-bottom: 0; }
.calc-bd-row span:nth-child(2), .calc-bd-head span:nth-child(2) { text-align: right; color: var(--muted); }
.calc-bd-row span:nth-child(3), .calc-bd-head span:nth-child(3) { text-align: right; font-weight: 700; }
.calc-bd-row.strong { background: var(--soft); font-weight: 800; }
.calc-bd-row.strong span:nth-child(3) { color: var(--green); }
html[data-theme='light'] .calc-bd-row.strong span:nth-child(3) { color: #0f7a45; }

.calc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-meta > div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.calc-meta small { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-meta b { font-size: 15px; }

.calc-note { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.calc-billing { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.calc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.calc-check input { flex: none; width: auto; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.calc-check b { color: var(--red); }
.calc-billing-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.calc-billing-note b { color: var(--text); }
.calc-caption-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.calc-caption-note b { color: var(--text); }

.calc-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc-rule { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.calc-rule:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.calc-rule:last-child { grid-column: 1 / -1; }
.calc-rule .icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(226, 11, 11, 0.1); color: var(--red); font-size: 20px; }
.calc-rule h3 { font-size: 17px; margin-bottom: 6px; }
.calc-rule p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.calc-rule b { color: var(--text); }

.calc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-table th, .calc-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.calc-table thead th { background: var(--soft); color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.calc-table td:nth-child(2) { color: var(--red); font-weight: 800; white-space: nowrap; }
.calc-table tbody tr:last-child td { border-bottom: 0; }
.calc-table td:last-child { color: var(--muted); }

.calc-allowance { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; background: var(--soft); }
.calc-allowance .icon { flex: none; color: var(--red); font-size: 22px; }
.calc-allowance b { font-size: 15px; }
.calc-allowance p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 6px; }

.calc-cta { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 50px; align-items: center; }
.calc-download { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.calc-cta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
.calc-cta-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.calc-cta-list i { color: var(--red); font-size: 18px; }
.calc-cta-action { display: grid; gap: 14px; justify-items: stretch; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calc-cta-stat { display: grid; gap: 4px; }
.calc-cta-stat b { color: var(--green); font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
html[data-theme='light'] .calc-cta-stat b { color: #0f7a45; }
.calc-cta-stat small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.calc-cta-action .btn { width: 100%; text-align: center; }
.calc-cta-action .under { justify-self: center; color: var(--muted); font-size: 13px; }

.calc-label { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.calc-tip {
  position: relative; flex: none; display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--soft); color: var(--muted); font-size: 10px; font-weight: 800;
  cursor: help; user-select: none; line-height: 1;
}
.calc-tip::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 11px); transform: translateX(-50%);
  width: min(320px, 76vw); padding: 12px 14px; border-radius: 12px;
  background: #0d0d0d; color: #eaeaea; border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; line-height: 1.55; text-align: left;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s; z-index: 40;
  box-shadow: var(--shadow-sm);
}
.calc-tip::before {
  content: ''; position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #0d0d0d;
  opacity: 0; visibility: hidden; transition: opacity 0.18s; z-index: 41;
}
.calc-tip:hover::after, .calc-tip:hover::before,
.calc-tip:focus::after, .calc-tip:focus::before,
.calc-tip:focus-visible::after, .calc-tip:focus-visible::before { opacity: 1; visibility: visible; }
html[data-theme='light'] .calc-tip::after { background: #ffffff; color: #1a1a1a; }
html[data-theme='light'] .calc-tip::before { border-top-color: #ffffff; }
.calc-form .checks { overflow: visible; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; gap: 30px; }
  .calc-result { position: static; }
  .calc-rules { grid-template-columns: 1fr; }
  .calc-rule:last-child { grid-column: auto; }
  .calc-cta { grid-template-columns: 1fr; gap: 30px; }
  .calc-download { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .calc-preset-row { grid-template-columns: 1fr; }
  .calc-compare, .calc-meta { grid-template-columns: 1fr; }
  .calc-saving b { font-size: 27px; }
  .calc-bd-head, .calc-bd-row { grid-template-columns: 1.4fr 1fr 1fr; padding: 11px 12px; font-size: 12px; }
}

/* ---------- Prévia real do sistema (landing 03/04) ---------- */
.sys-preview { margin-top: 28px; }
.sys-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.sys-skins { display: flex; gap: 8px; flex-wrap: wrap; }
.sys-skin { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.sys-skin:hover { border-color: var(--red); color: var(--text); }
.sys-skin.active { border-color: var(--red); background: rgba(226, 11, 11, 0.1); color: var(--text); }
.sys-hint { color: var(--muted); font-size: 12px; }
.sys-frame-wrap { border: 8px solid #191919; border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme='light'] .sys-frame-wrap { border-color: #dcdcda; }
.sys-frame { display: block; width: 100%; height: 660px; border: 0; background: #0b0b0b; }
.sys-cards .sys-card { cursor: pointer; }
.sys-cards .sys-card.active { border-color: var(--red); background: rgba(226, 11, 11, 0.06); }
@media (max-width: 900px) { .sys-frame { height: 520px; } }
@media (max-width: 600px) { .sys-frame { height: 420px; } }
/* Mobile: a prévia é reduzida via scale (zoom out) pelo JS da home. */
@media (max-width: 900px) {
  .sys-frame-wrap { position: relative; }
  .sys-frame { transform-origin: top left; }
}
.sys-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sys-themes { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--surface); }
.sys-theme { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.sys-theme:hover { color: var(--text); }
.sys-theme.active { background: var(--red); color: #fff; }

/* ============================================================
   Conversão, SEO e acessibilidade (Revisão 2 do plano)
   ============================================================ */

/* Foco visível em toda a navegação por teclado */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #ffffff; font-size: 38px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 34px; } }

/* ---------- Consentimento de cookies ---------- */
.cf-consent {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 70;
  max-width: 620px; margin: 0 auto; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cf-consent p { color: var(--muted); font-size: 13.5px; flex: 1 1 300px; }
.cf-consent-actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 600px) { .cf-consent { left: 12px; right: 12px; bottom: 84px; } }

/* ---------- Resultado da calculadora: CTA duplo ---------- */
.calc-result-cta { display: grid; gap: 10px; margin-top: 4px; }
.calc-result-cta .btn { width: 100%; text-align: center; }
.calc-result-cta .under { justify-self: center; color: var(--muted); font-size: 13px; }

/* ---------- Depoimentos: resultado + marca ---------- */
.quote-result {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--red); font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
}
.quote-brand { display: inline-block; margin-top: 2px; color: var(--text); font-weight: 800; letter-spacing: 0.01em; }

/* ---------- Tabela comparativa de planos ---------- */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.cmp thead th { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.cmp thead th.is-featured { color: var(--red); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.cmp-yes { color: var(--green); font-weight: 800; }
.cmp td.cmp-no { color: var(--muted); }

/* ---------- Preço por atendente ---------- */
.seat-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.seat-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--surface); }
.seat-card b { display: block; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.04em; }
.seat-card span { color: var(--muted); font-size: 13px; }
.seat-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .seat-pricing { grid-template-columns: 1fr; } }

/* ---------- Toggle mensal/anual ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--soft); margin-top: 8px; }
.price-toggle button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 13px; padding: 9px 18px; border-radius: 99px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.price-toggle button.active { background: var(--surface); color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.price-toggle .save { color: var(--green); font-size: 11px; font-weight: 800; margin-left: 4px; }
.plan .price .price-note { display: block; flex-basis: 100%; margin-top: 4px; color: var(--green); font-size: 12px; font-weight: 700; }
.plan .price .price-note:empty { display: none; }

/* ---------- Adesão em 2 passos ---------- */
.form-step { display: none; }
.form-step.active { display: block; }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.step-nav .step-back { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.step-nav .step-back:hover { color: var(--text); }
.step-progress { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.step-progress b { color: var(--red); }

/* ---------- Lead magnet ---------- */
.lead-magnet { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: var(--surface); }
.lead-magnet h2 { font-size: clamp(28px, 3.5vw, 44px); }
.lead-magnet .mk-form { margin: 0; }
@media (max-width: 860px) { .lead-magnet { grid-template-columns: 1fr; } }

/* ---------- Plano personalizado (calculador interativo) ---------- */
.custom-plan { display: grid; gap: 18px; max-width: 660px; margin: 26px auto 0; }
.custom-plan-controls {
  display: grid; gap: 18px; align-content: start; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.custom-step { color: var(--muted); font-size: 13px; font-weight: 700; }
.custom-step .muted { font-weight: 400; }

.custom-stepper { display: grid; grid-template-columns: 54px 1fr 54px; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.custom-step-btn { border: 0; background: var(--soft); color: var(--text); font-size: 26px; font-weight: 800; cursor: pointer; transition: background 0.2s, color 0.2s; }
.custom-step-btn:hover { background: var(--red); color: #fff; }
.custom-stepper input { border: 0; background: transparent; color: var(--text); font: inherit; font-size: 32px; font-weight: 850; text-align: center; letter-spacing: -0.03em; width: 100%; padding: 12px 0; -moz-appearance: textfield; }
.custom-stepper input::-webkit-outer-spin-button, .custom-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.custom-slider { width: 100%; accent-color: var(--red); }

.custom-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.custom-presets button { border: 1px solid var(--line); background: var(--bg); color: var(--muted); font: inherit; font-size: 13px; font-weight: 800; padding: 8px 18px; border-radius: 99px; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.custom-presets button:hover { border-color: var(--red); color: var(--text); }

.custom-plan-result {
  display: grid; gap: 6px; align-content: start; padding: 28px;
  border: 1px solid var(--red); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(226, 11, 11, 0.10), var(--surface) 62%);
}
.custom-badge { justify-self: start; padding: 6px 14px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.custom-result-label { margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.custom-plan-result #custom-total { display: inline-flex; align-items: baseline; gap: 2px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.05em; line-height: 1; }
.custom-plan-result i { font-style: normal; color: var(--red); font-weight: 800; font-size: 14px; }

.custom-tier-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 6px; }
.custom-tier { border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.custom-tier b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.custom-tier span { display: block; margin-top: 4px; color: var(--muted); font-size: 10.5px; line-height: 1.3; }
.custom-tier.active { border-color: var(--red); background: rgba(226, 11, 11, 0.12); transform: translateY(-2px); }
.custom-tier.active span { color: var(--text); }

.custom-plan-result .btn { margin-top: 6px; }
.price-period { color: var(--muted); font-size: 15px; font-weight: 700; }
@media (max-width: 860px) { .custom-plan { grid-template-columns: 1fr; } }

/* ---------- ROI estimado (calculadora e seção) ---------- */
.calc-roi { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--surface); display: grid; gap: 12px; }
.calc-roi-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-roi-head span { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-roi-head span em { font-style: normal; color: var(--muted); opacity: 0.85; text-transform: none; letter-spacing: 0; font-weight: 700; }
.calc-roi-head b { font-size: clamp(24px, 3.5vw, 32px); color: var(--green); letter-spacing: -0.04em; }
.calc-roi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc-roi-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); }
.calc-roi-grid small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.calc-roi-grid b { font-size: 15px; }
.calc-roi-note { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.calc-roi-note a { color: var(--red); font-weight: 700; }
@media (max-width: 600px) { .calc-roi-grid { grid-template-columns: 1fr; } }

.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roi-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.roi-card small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.roi-card > b { display: block; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; }
.roi-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.roi-card span b { font-size: inherit; color: var(--text); }
.roi-card.featured { border-color: var(--green); background: rgba(22, 160, 93, 0.08); }
.roi-card.featured > b { color: var(--green); }
.roi-formula { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--surface); display: grid; gap: 8px; }
.roi-formula p { color: var(--text); font-size: 13.5px; line-height: 1.55; }
.roi-formula .muted { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .roi-grid { grid-template-columns: 1fr; } }

/* Pacote estimado (calculadora) */
.calc-package { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: var(--soft); display: grid; gap: 2px; }
.calc-package span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-package b { font-size: 20px; letter-spacing: -0.03em; color: var(--text); }
.calc-package i { font-style: normal; color: var(--muted); font-size: 12.5px; }

/* Nota de rodapé — economia estimada (calculadora) */
.calc-disclaimer {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 22px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.calc-disclaimer .icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-size: 22px; }
.calc-disclaimer h3 { font-size: 18px; margin-bottom: 10px; }
.calc-disclaimer p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.calc-disclaimer ul { margin: 12px 0; display: grid; gap: 7px; }
.calc-disclaimer ul li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14px; }
.calc-disclaimer ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.calc-disclaimer p b { color: var(--text); }
.calc-disclaimer .muted { font-size: 12.5px; font-style: italic; margin-top: 8px; color: var(--muted); }
@media (max-width: 600px) { .calc-disclaimer { grid-template-columns: 1fr; } }

/* ---------- Seção de ROI (landing, 02) ---------- */
.roi-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.roi-hero-card {
  position: relative; border: 1px solid var(--green); border-radius: 24px; padding: 40px 36px;
  background: linear-gradient(160deg, rgba(22, 160, 93, 0.14), var(--surface) 58%);
  box-shadow: var(--shadow); overflow: hidden;
}
.roi-hero-card::after {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(22, 160, 93, 0.4), transparent 65%); pointer-events: none;
}
.roi-hero-label { display: block; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.roi-hero-value { display: block; margin: 12px 0 8px; font-size: clamp(60px, 9vw, 118px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 850; color: var(--green); }
.roi-hero-sub { display: block; color: var(--text); font-weight: 700; font-size: 15px; }
.roi-hero-facts { display: grid; gap: 12px; margin: 28px 0 18px; position: relative; z-index: 1; }
.roi-hero-facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.roi-hero-facts span { color: var(--muted); font-size: 13.5px; }
.roi-hero-facts b { font-size: 18px; letter-spacing: -0.02em; }
.roi-hero-note { position: relative; z-index: 1; color: var(--muted); font-size: 12px; line-height: 1.55; }
@media (max-width: 900px) { .roi-hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.roi-hero .mini { margin-top: 26px; }
.roi-hero .mini span { color: var(--muted); }
.roi-hero .mini b { border-color: var(--red); color: var(--red); }

/* Comparativo de política da Meta (calculadora) */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.policy-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); display: grid; gap: 8px; }
.policy-card small { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.policy-card b { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.04em; }
.policy-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.policy-card.warn { border-color: #b91c1c; background: rgba(185, 28, 28, 0.08); }
.policy-card.warn b { color: #ff4d4d; }
.policy-card.warn #pol-increase { color: #ff6a6a; font-weight: 800; }
.policy-card.featured { border-color: var(--green); background: rgba(22, 160, 93, 0.08); }
.policy-card.featured b { color: var(--green); }
@media (max-width: 860px) { .policy-grid { grid-template-columns: 1fr; } }

/* CTA do plano personalizado (sem calculadora) */
.custom-plan-cta { margin-top: 26px; }

/* Comparativo de política da Meta (tabela 2x2) */
.policy-table-wrap { overflow-x: auto; }
.policy-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.policy-table th, .policy-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.policy-table thead th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.policy-table tbody th { font-weight: 800; font-size: 15px; }
.policy-table tbody th small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.policy-table td { font-size: clamp(18px, 2.4vw, 24px); font-weight: 850; letter-spacing: -0.03em; }
.policy-table td.is-good { color: var(--green); }
.policy-table td.is-warn { color: #ff4d4d; }
.policy-table tbody tr:last-child th, .policy-table tbody tr:last-child td { border-bottom: 0; }
.policy-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.policy-note b { color: var(--text); }
@media (max-width: 640px) { .policy-table th, .policy-table td { padding: 12px 10px; } }

/* Premissas e sensibilidade (calculadora) */
.assumptions { margin-top: 28px; }
.assumptions h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 10px; }
.assumptions .intro { font-size: 15px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.scenario-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--surface); display: grid; gap: 4px; }
.scenario-card small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.scenario-card span { color: var(--muted); font-size: 12.5px; }
.scenario-card b { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.04em; color: var(--red); }
.scenario-card i { font-style: normal; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.scenario-card.featured { border-color: var(--green); background: rgba(22, 160, 93, 0.08); }
.scenario-card.featured b { color: var(--green); }
.roi-inc { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 12.5px; font-weight: 700; }
@media (max-width: 760px) { .scenario-grid { grid-template-columns: 1fr; } }

/* "O que muda" — resumo da nova cobrança (calculadora) */
.change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.change-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.change-card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.change-card ul { display: grid; gap: 10px; }
.change-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.change-card li b { color: var(--text); }
.change-card li::before { content: '•'; position: absolute; left: 6px; color: var(--red); font-weight: 800; }
.change-card.warn { border-color: #b91c1c; background: rgba(185, 28, 28, 0.08); }
.change-card.warn small { color: #ff6a6a; }
@media (max-width: 760px) { .change-grid { grid-template-columns: 1fr; } }

/* Periodicidade do pacote (calculadora) */
.calc-term { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); width: fit-content; margin-bottom: 12px; }
.calc-term button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 13px; padding: 8px 16px; border-radius: 99px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.calc-term button.active { background: var(--surface); color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.calc-term button span { color: var(--green); font-size: 11px; font-weight: 800; margin-left: 4px; }

/* Dados complementares da economia (calculadora) */
.calc-saving-more { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.calc-saving-more b { color: var(--text); font-size: 14px; }
.calc-saving-extra { display: none; }

/* Detalhamento recolhível no resultado (calculadora) */
.calc-detail { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.calc-detail > summary { list-style: none; cursor: pointer; padding: 14px 18px; font-size: 13px; font-weight: 800; color: var(--muted); }
.calc-detail > summary::-webkit-details-marker { display: none; }
.calc-detail[open] > summary { color: var(--text); }
.calc-detail .calc-breakdown { margin: 0 14px 14px; }

/* Fontes oficiais (linha simples, calculadora) */
.policy-sources { margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.policy-sources a { color: var(--red); font-weight: 700; }

/* Card do pacote + seletor vertical (calculadora) */
.calc-package-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
 .calc-plan-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.calc-plan-card small { color: var(--muted); font-size: 11.5px; }
.calc-sep { color: var(--muted); font-style: normal; }
.calc-plan-card b { font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.calc-term { display: flex; flex-direction: column; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); width: auto; margin-bottom: 0; }
.calc-term button { width: 100%; text-align: left; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 12px; padding: 7px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.calc-term button.active { background: var(--surface); color: var(--red); box-shadow: none; }
.calc-term button span { color: var(--green); font-size: 10.5px; font-weight: 800; margin-left: 4px; }
@media (max-width: 520px) { .calc-package-row { grid-template-columns: 1fr; } }

/* Capa: versão amanhecer para o tema claro */
.hero-bg-light { display: none; }
html[data-theme='light'] .hero-bg-light { display: block; }
html[data-theme='light'] .hero-bg:not(.hero-bg-light) { display: none; }
html[data-theme='light'] .hero { background-color: #10131a; }
html[data-theme='light'] .hero.hero-cover::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 1) 0%, rgba(5, 6, 8, 0.998) 24%, rgba(5, 7, 13, 0.99) 40%, rgba(5, 7, 13, 0.9) 44%, rgba(5, 8, 14, 0.72) 47%, rgba(6, 8, 16, 0.48) 50%, rgba(7, 9, 17, 0.25) 53%, rgba(8, 10, 18, 0.09) 56%, rgba(9, 11, 20, 0.02) 59%, transparent 63%),
    radial-gradient(circle at 74% 52%, rgba(255, 96, 40, 0.20), transparent 40%);
}
html[data-theme='light'] .hero h1,
html[data-theme='light'] .hero .lead,
html[data-theme='light'] .hero .kicker,
html[data-theme='light'] .hero .mini span { text-shadow: 0 2px 24px rgba(3, 5, 12, 0.62); }

/* Mobile: no tema claro o véu é vertical e bem mais transparente. */
@media (max-width: 900px) {
  html[data-theme='light'] .hero.hero-cover::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.5) 0%, rgba(5, 7, 13, 0.32) 36%, rgba(6, 8, 16, 0.2) 64%, rgba(7, 9, 17, 0.3) 84%, rgba(8, 10, 18, 0.46) 100%),
      radial-gradient(circle at 74% 52%, rgba(255, 96, 40, 0.12), transparent 46%);
  }
}

/* ---------- Tema claro: faixas escuras (07 e 09) em versão clara ---------- */
html[data-theme='light'] .dark-band {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html[data-theme='light'] .dark-band::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 70, 30, 0.12), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(226, 11, 11, 0.07), transparent 42%);
}
html[data-theme='light'] .dark-band h2 { color: var(--text); }
html[data-theme='light'] .dark-band .kicker,
html[data-theme='light'] .dark-band .intro { color: var(--muted); }
html[data-theme='light'] .dark-band em { color: var(--red); }
/* Kickers sobre fundo claro: usar o cinza de apoio (o #bdbdbd base é só para fundos escuros). */
html[data-theme='light'] .kicker { color: var(--muted); }
html[data-theme='light'] .hero .kicker,
html[data-theme='light'] .demo-box .kicker { color: #bdbdbd; }

/* 07 — A dor do WhatsApp oficial */
html[data-theme='light'] .econ-pain {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(255, 90, 30, 0.14), rgba(226, 11, 11, 0.03));
}
html[data-theme='light'] .econ-pain h3 { color: var(--text); }
html[data-theme='light'] .econ-pain p,
html[data-theme='light'] .econ-pain li { color: var(--muted); }
html[data-theme='light'] .econ-pain p b { color: var(--text); }

html[data-theme='light'] .econ-item { border-color: var(--line); background: var(--surface); }
html[data-theme='light'] .econ-item:hover { border-color: var(--red); }
html[data-theme='light'] .econ-item h3 { color: var(--text); }
html[data-theme='light'] .econ-item p { color: var(--muted); }
html[data-theme='light'] .econ-item .icon { border-color: var(--red); color: var(--red); }

/* 09 — Escala e jornada */
html[data-theme='light'] .shift-mock { border-color: var(--line); background: var(--surface); }
html[data-theme='light'] .shift-mock .head b { color: var(--text); }
html[data-theme='light'] .shift-mock .head small { color: var(--muted); }
html[data-theme='light'] .shift-row { border-top-color: var(--line); }
html[data-theme='light'] .shift-row > span { color: var(--muted); }
html[data-theme='light'] .shift-row .track { background: rgba(17, 17, 17, 0.08); }
html[data-theme='light'] .shift-row.off .track { background: rgba(17, 17, 17, 0.04); }
html[data-theme='light'] .shift-row small { color: var(--muted); }
html[data-theme='light'] .shift-lock { border-color: var(--line); color: var(--muted); }
html[data-theme='light'] .shift-lock b { color: var(--text); }
html[data-theme='light'] .shift-note { border-color: var(--line); border-left-color: var(--red); background: var(--surface); color: var(--muted); }
html[data-theme='light'] .shift-note b { color: var(--text); }

/* ---------- Modal de qualificação (CTAs de conversão) ---------- */
.cf-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.cf-modal[hidden] { display: none; }
.cf-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cf-modal-panel { position: relative; z-index: 1; width: min(720px, 100%); max-height: min(90vh, 940px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.cf-modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.cf-modal-close:hover { border-color: var(--red); color: var(--red); }
.cf-modal .cf-modal-form { border: 0; box-shadow: none; background: transparent; padding: 0; }
.cf-modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-modal-success { display: grid; gap: 14px; text-align: center; justify-items: center; padding: 26px 10px; }
.cf-modal-success[hidden], .cf-modal-form[hidden] { display: none; }
.cf-modal-success .icon { font-size: 52px; color: var(--green); }
.cf-modal-success h2 { font-size: clamp(22px, 3vw, 30px); }
html.cf-modal-open { overflow: hidden; }
@media (max-width: 700px) {
  .cf-modal-panel { padding: 26px 18px; border-radius: 18px; }
  .cf-modal .row2 { grid-template-columns: 1fr; }
}

/* ---------- Selos de segurança e conformidade (rodapé) ---------- */
.seals { margin-top: 60px; padding-top: 42px; border-top: 1px solid #1f1f1f; }
.seals-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #7d7d7d;
}
.seals-title i { color: #4ade80; font-size: 17px; }
.seals-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.seal-inner {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 14px 16px; border: 1px solid #1e1e1e; border-radius: 14px; background: #0b0b0b;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
a.seal-inner:hover { border-color: var(--red); transform: translateY(-2px); background: #100d0d; }
.seal-badge { flex: none; display: grid; place-items: center; width: 46px; height: 46px; line-height: 0; }
.seal-badge svg { width: 46px; height: 46px; display: block; }
.seal-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.seal-text b { color: #f2f2f2; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.seal-text span { color: #8b8b8b; font-size: 12px; line-height: 1.35; }
@media (max-width: 900px) {
  .seals-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .seals-list { grid-template-columns: 1fr; gap: 12px; }
  .seals { margin-top: 45px; padding-top: 34px; }
}

/* ---------- Página Segurança: certificado TLS ---------- */
.cert-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.cert-head { display: flex; align-items: center; gap: 16px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.cert-lock { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; font-size: 26px; }
.cert-lock.ok { background: rgba(22, 160, 93, 0.12); color: var(--green); }
.cert-lock.warn { background: rgba(220, 38, 38, 0.12); color: var(--red); }
.cert-id { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cert-id b { font-size: 17px; }
.cert-id span { color: var(--muted); font-size: 13px; font-family: 'Geist Mono', ui-monospace, monospace; }
.cert-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.cert-pill.ok { background: rgba(22, 160, 93, 0.12); color: var(--green); }
.cert-pill.warn { background: rgba(220, 38, 38, 0.12); color: var(--red); }
.cert-rows { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.cert-rows > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.cert-rows > div:nth-child(odd) { border-right: 1px solid var(--line); }
.cert-rows dt { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cert-rows dd { margin: 0; font-size: 14.5px; font-weight: 600; word-break: break-word; }
.cert-days { color: var(--green); font-weight: 850; font-size: 17px; }
.cert-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 26px; color: var(--muted); font-size: 12.5px; }
.cert-domains { padding: 0 26px 20px; color: var(--muted); font-size: 12.5px; font-family: 'Geist Mono', ui-monospace, monospace; word-break: break-word; }
.cert-fallback { padding: 22px 26px; color: var(--muted); }
.cert-fallback a { color: var(--red); font-weight: 800; }

/* ---------- Página Segurança: checador LGPD ---------- */
.lgpd-summary { display: flex; align-items: center; gap: 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lgpd-count { display: flex; align-items: baseline; gap: 10px; flex: none; }
.lgpd-count b { font-size: 34px; font-weight: 850; letter-spacing: -0.04em; color: var(--green); }
.lgpd-count span { color: var(--muted); font-size: 13px; }
.lgpd-track { flex: 1; height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.lgpd-track > span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--green), #4ade80); transition: width 0.5s ease; }
.lgpd-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.lgpd-chip { padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.lgpd-chip:hover { border-color: var(--red); color: var(--red); }
.lgpd-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.lgpd-groups { display: grid; gap: 24px; margin-top: 30px; }
.lgpd-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.lgpd-group[hidden] { display: none; }
.lgpd-group-head { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.lgpd-group-head .icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(220, 38, 38, 0.1); color: var(--red); font-size: 22px; }
.lgpd-group-head h3 { font-size: 20px; }
.lgpd-group-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.lgpd-list { display: grid; }
.lgpd-item { border-top: 1px solid var(--line); }
.lgpd-item:first-child { border-top: 0; }
.lgpd-item-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 24px; background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--text); font-family: inherit; }
.lgpd-item-head:hover { background: var(--soft); }
.lgpd-check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; font-size: 15px; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.lgpd-item.checked .lgpd-check { background: var(--green); border-color: var(--green); color: #fff; }
.lgpd-item-title { flex: 1; font-size: 15px; font-weight: 700; }
.lgpd-status { flex: none; padding: 6px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.lgpd-status.ok { background: rgba(22, 160, 93, 0.12); color: var(--green); }
.lgpd-status.share { background: rgba(220, 38, 38, 0.1); color: var(--red); }
.lgpd-caret { flex: none; color: var(--muted); font-size: 16px; transition: transform 0.25s; }
.lgpd-item.open .lgpd-caret { transform: rotate(180deg); }
.lgpd-detail { display: none; padding: 0 24px 20px 64px; }
.lgpd-item.open .lgpd-detail { display: block; }
.lgpd-detail p { color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  .cert-rows { grid-template-columns: 1fr; }
  .cert-rows > div:nth-child(odd) { border-right: 0; }
}
@media (max-width: 600px) {
  .cert-head { flex-wrap: wrap; }
  .cert-pill { width: 100%; justify-content: center; }
  .cert-rows > div { padding: 15px 18px; }
  .cert-foot { flex-direction: column; align-items: flex-start; }
  .lgpd-summary { flex-direction: column; align-items: stretch; gap: 14px; }
  .lgpd-item-head { padding: 14px 16px; gap: 10px; }
  .lgpd-item-title { font-size: 14px; }
  .lgpd-status { font-size: 10.5px; padding: 5px 9px; }
  .lgpd-detail { padding: 0 16px 18px 56px; }
}

/* ---------- Preferências de cookies (central granular) ---------- */
.cf-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  max-width: none; margin: 0; padding: 16px;
  background: transparent; border: 0; box-shadow: none;
  display: flex; justify-content: center; flex-wrap: nowrap;
}
.cf-consent[hidden] { display: none; }
.cf-consent-panel {
  width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
}
.cf-consent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cf-consent-head b { font-size: 16px; }
.cf-consent-close { border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.cf-consent-close:hover { color: var(--red); }
.cf-consent-panel > p { color: var(--muted); font-size: 13.5px; }
.cf-consent-cats { display: grid; gap: 10px; margin: 16px 0; }
.cf-consent-cats > li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
}
.cf-consent-cats b { font-size: 14px; }
.cf-consent-cats small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; max-width: 540px; }
.cf-consent-fixed { flex: none; font-size: 11.5px; font-weight: 800; color: var(--green); }
.cf-switch { position: relative; flex: none; width: 44px; height: 24px; }
.cf-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cf-switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background 0.2s; }
.cf-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.cf-switch input:checked + span { background: var(--green); }
.cf-switch input:checked + span::after { transform: translateX(20px); }
.cf-consent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.cf-consent-actions .under { padding: 8px 2px; font-size: 13px; }
@media (max-width: 600px) {
  .cf-consent { padding: 12px; }
  .cf-consent-cats > li { align-items: flex-start; }
  .cf-consent-actions { gap: 10px; }
}

/* ---------- Tabela da Política de Cookies ---------- */
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.legal-table th,
.legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-table code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; }
@media (max-width: 720px) {
  .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- Banner de cookies: versão simples ---------- */
.cf-consent-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cf-consent-main p { color: var(--muted); font-size: 14px; margin: 0; }
.cf-consent-main p a { color: var(--red); font-weight: 700; }
html:not([data-theme='light']) .cf-consent-main p a { color: var(--red-bright); }
.cf-consent-cats { display: block; margin: 16px 0 0; }
.cf-consent-cats[hidden] { display: none; }
.cf-consent-cats ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cf-consent-cats ul > li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
}
.cf-consent-cats-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }

/* ---------- Banner de cookies: botões secundários como links ---------- */
.cf-consent button.under {
  background: none; border: 0; border-bottom: 1px solid var(--line);
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 6px 2px; cursor: pointer;
}
.cf-consent button.under:hover { border-color: var(--red); color: var(--red); }
.cf-consent a.under { font-size: 13px; color: var(--muted); }
.cf-consent a.under:hover { color: var(--red); }
.cf-consent-cats-actions .under { padding: 6px 2px; }

/* Botões do painel de cookies herdam a fonte do site */
.cf-consent .btn { font-family: inherit; }

/* Botão "Aceitar todos" do painel de cookies em verde */
.cf-consent button[data-consent="accept"] {
  background: linear-gradient(110deg, #0f7a45, var(--green));
  box-shadow: 0 14px 35px rgba(22, 160, 93, 0.27);
}
.cf-consent button[data-consent="accept"]:hover {
  box-shadow: 0 20px 45px rgba(22, 160, 93, 0.38);
}

/* ============================================================
   Acentos estratégicos de ícones (site público)
   O vermelho segue como cor da marca (botões, links, hovers).
   Os ícones de recursos ganham cor por categoria, sem quebrar o tema.
   ============================================================ */
:root {
  --a-blue: #3b82f6;
  --a-indigo: #6366f1;
  --a-violet: #8b5cf6;
  --a-purple: #a855f7;
  --a-pink: #ec4899;
  --a-rose: #f43f5e;
  --a-amber: #f59e0b;
  --a-orange: #fb923c;
  --a-teal: #14b8a6;
  --a-cyan: #06b6d4;
  --a-green: #22c55e;
  --a-lime: #84cc16;
}
html[data-theme='light'] {
  --a-blue: #2563eb;
  --a-indigo: #4f46e5;
  --a-violet: #7c3aed;
  --a-purple: #9333ea;
  --a-pink: #db2777;
  --a-rose: #e11d48;
  --a-amber: #d97706;
  --a-orange: #ea580c;
  --a-teal: #0d9488;
  --a-cyan: #0891b2;
  --a-green: #16a34a;
  --a-lime: #65a30d;
}

.c-blue { --accent: var(--a-blue); }
.c-indigo { --accent: var(--a-indigo); }
.c-violet { --accent: var(--a-violet); }
.c-purple { --accent: var(--a-purple); }
.c-pink { --accent: var(--a-pink); }
.c-rose { --accent: var(--a-rose); }
.c-amber { --accent: var(--a-amber); }
.c-orange { --accent: var(--a-orange); }
.c-teal { --accent: var(--a-teal); }
.c-cyan { --accent: var(--a-cyan); }
.c-green { --accent: var(--a-green); }
.c-lime { --accent: var(--a-lime); }

/* Ícones circulares (cards de recursos, econ-items e notas) */
.card .icon,
.econ-item .icon,
.note-block .icon {
  color: var(--accent, var(--red));
  border-color: color-mix(in srgb, var(--accent, var(--red)) 48%, var(--line));
  background: color-mix(in srgb, var(--accent, var(--red)) 12%, transparent);
}
.econ-item .icon {
  border-color: color-mix(in srgb, var(--accent, var(--red-bright)) 48%, var(--line));
  color: var(--accent, var(--red-bright));
  background: color-mix(in srgb, var(--accent, var(--red-bright)) 12%, transparent);
}

/* Nós da rede AIstem */
.net-node i { color: var(--accent, var(--red)); }

/* Ícones de contato (contato/rodapé) */
.contact-info .item i { color: var(--accent, var(--red)); }

/* ---------- Cobertura extra de acentos (todas as páginas) ---------- */
/* Resultados destacados nos depoimentos */
.quote-result i { color: var(--accent, var(--green)); }

/* Grupos do checador LGPD (página de segurança) */
.lgpd-group-head .icon {
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 12%, transparent);
}

/* Faixa de confiança na página de contato */
.contact-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 4px; }
.contact-trust span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--soft);
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.contact-trust i { color: var(--accent, var(--red)); font-size: 17px; }

/* Marcadores de recurso nos planos (positivo = verde) */
.plan ul li::before { color: var(--green); }

/* ---------- Cobertura ampla: listas e blocos que seguiam vermelhos ---------- */
/* Lista de recursos (economia na home e calculadora) */
.calc-cta-list i { color: var(--accent, var(--red)); }

/* Regras/aviso da calculadora */
.calc-rule .icon {
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 10%, transparent);
}
.calc-allowance .icon { color: var(--accent, var(--red)); }
.calc-disclaimer .icon {
  color: var(--accent, var(--red));
  border-color: color-mix(in srgb, var(--accent, var(--red)) 45%, var(--line));
}

/* Seção "dores" */
.pain-card .pain i { color: var(--accent, var(--a-rose)); }

/* Bloqueio de acesso fora da escala */
.shift-lock i { color: var(--accent, var(--a-teal)); }

/* Passos do hero (01–04) */
.mini b { border-color: var(--accent, var(--red-bright)); color: var(--accent, var(--red-bright)); }

/* Tema claro: ícones dos econ-items seguem o acento */
html[data-theme='light'] .econ-item .icon {
  border-color: color-mix(in srgb, var(--accent, var(--red)) 48%, var(--line));
  color: var(--accent, var(--red));
}

/* ---------- Formulário público de solicitação LGPD ---------- */
.lgpd-success { text-align: center; display: grid; gap: 12px; justify-items: center; }
.lgpd-success .seal {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); font-size: 32px;
}
.lgpd-success h2 { font-size: clamp(22px, 3vw, 30px); }
.lgpd-protocol {
  font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 800; font-size: 18px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
}

/* Chamada para o formulário de LGPD nas páginas legais */
.legal-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 22px 0 8px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 14px; background: var(--surface);
}
.legal-cta p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-cta .btn { flex: none; }
