/* Knovant: hotsite www.knovant.com
   Sem fonte externa, sem estilo inline: a CSP só aceita arquivos deste site. */

:root {
  --navy: #0b2e6d;
  --navy-deep: #071d47;
  --teal: #14b8b4;
  --teal-light: #55d7d2;

  --bg: #ffffff;
  --surface: #f4f7fb;
  --card: #ffffff;
  --ink: #0f1b33;
  --muted: #4f5d78;
  --line: #e2e8f0;
  --accent-ink: #0b2e6d;
  --kicker: #0b7d7a;
  --ok-bg: #e6f8f1;
  --ok-line: #1f9d6b;
  --ok-ink: #11633f;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 27 51 / 6%), 0 8px 24px rgb(15 27 51 / 8%);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08142b;
    --surface: #0d1c3a;
    --card: #11234a;
    --ink: #e8eef8;
    --muted: #a6b4cc;
    --line: #1f3360;
    --accent-ink: #55d7d2;
    --kicker: #14b8b4;
    --ok-bg: #0e3a33;
    --ok-line: #2fc58f;
    --ok-ink: #9ff0cf;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--navy); padding: 8px 14px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Cabeçalho ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgb(7 29 71 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand span { font-weight: 700; letter-spacing: .2em; font-size: 1.05rem; }

.nav { display: none; gap: 22px; margin-left: 12px; }
.nav a { color: rgb(255 255 255 / 80%); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
@media (min-width: 900px) { .nav { display: flex; } }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex; border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600;
}
.lang a, .lang span { padding: 5px 10px; text-decoration: none; color: rgb(255 255 255 / 75%); }
.lang a:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.lang [aria-current] { background: rgb(255 255 255 / 16%); color: #fff; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-light); }
.btn-ghost { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--teal); }
.btn-sm { padding: 7px 16px; font-size: .9rem; }

/* ---------- Hero ---------- */

/* A primeira dobra é o produto: ocupa a tela, texto de um lado e a vitrine do
   player do outro. */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: calc(100vh - 64px); min-height: calc(100svh - 64px);
  display: flex; align-items: center;
  background:
    radial-gradient(1000px 600px at 88% 0%, rgb(20 184 180 / 42%), transparent 62%),
    radial-gradient(800px 500px at -10% 105%, rgb(85 215 210 / 20%), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 10%, var(--navy));
  padding: 56px 0 72px;
}
/* grade sutil ao fundo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
/* símbolo da marca, grande e apagado */
.hero-mark {
  position: absolute; z-index: -1; width: min(900px, 120vw); height: auto;
  right: -22%; bottom: -30%; opacity: .07; pointer-events: none;
}
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 48px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-light); margin-bottom: 20px;
  border: 1px solid rgb(85 215 210 / 35%); background: rgb(85 215 210 / 8%);
  border-radius: 999px; padding: 6px 14px;
}
@media (max-width: 480px) { .eyebrow { font-size: .7rem; letter-spacing: .08em; } .stats span { font-size: .78rem; } }
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light);
  box-shadow: 0 0 0 4px rgb(85 215 210 / 20%);
}
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.7rem); font-weight: 800; margin-bottom: 22px;
  letter-spacing: -.025em; line-height: 1.05;
}
.hero h1 em {
  font-style: normal; display: block; padding-bottom: .1em; margin-bottom: -.1em;
  background: linear-gradient(90deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.18rem; color: rgb(255 255 255 / 84%); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.hero .cta .btn { padding: 14px 26px; font-size: 1.05rem; }
.hero .btn-primary { box-shadow: 0 10px 30px rgb(20 184 180 / 35%); }
.hero .fine { font-size: .9rem; color: rgb(255 255 255 / 68%); margin: 0; }

.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 28px; margin: 36px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgb(255 255 255 / 12%); list-style: none;
}
.stats li { display: grid; }
.stats strong { font-size: clamp(1.15rem, 3.6vw, 1.6rem); font-weight: 800; line-height: 1.1; color: #fff; }
.stats span { font-size: .85rem; color: rgb(255 255 255 / 66%); }

/* Vitrine: questão, cronômetro e nota, só ilustração */
.showcase { position: relative; justify-self: center; width: 100%; max-width: 520px; padding: 28px 0 72px; }
.showcase::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(20 184 180 / 45%), transparent);
  filter: blur(30px);
}
.mock {
  background: var(--card); color: var(--ink); border-radius: 20px;
  box-shadow: 0 40px 80px rgb(0 0 0 / 45%), 0 0 0 1px rgb(255 255 255 / 10%);
  padding: 24px; width: 100%; margin: 0;
}
@media (min-width: 960px) {
  .mock { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
}

.float {
  position: absolute; z-index: 2; background: var(--card); color: var(--ink);
  border-radius: 16px; box-shadow: 0 20px 40px rgb(0 0 0 / 40%), 0 0 0 1px rgb(255 255 255 / 8%);
  display: flex; align-items: center; gap: 12px;
}
.float-timer {
  top: 0; right: -6px; padding: 10px 16px; font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}
.float-timer svg { width: 20px; height: 20px; color: var(--kicker); }
.float-score { left: -10px; bottom: 0; padding: 14px 18px 14px 14px; }
.float-score strong { display: block; color: var(--ok-line); font-size: 1rem; }
.float-score small { color: var(--muted); font-size: .8rem; }
.ring {
  width: 62px; height: 62px; border-radius: 50%; position: relative; flex: none;
  display: grid; place-items: center;
  background: conic-gradient(var(--teal) 0 84.2%, var(--line) 84.2% 100%);
}
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; font-weight: 800; font-size: 1.05rem; }
@media (min-width: 1100px) {
  .float-timer { right: -28px; }
  .float-score { left: -44px; }
}

/* Entrada */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .30s; }
.hero-copy > :nth-child(6) { animation-delay: .36s; }
.showcase { animation: rise .9s .2s cubic-bezier(.2, .7, .2, 1) both; }
.float-timer { animation: bob 6s ease-in-out infinite; }
.float-score { animation: bob 7s 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .showcase, .float-timer, .float-score { animation: none; }
}
.mock-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--muted); margin-bottom: 14px; gap: 12px;
}
.mock-tag { background: var(--surface); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.mock-q { font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
.mock-opts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.mock-opts li {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px;
  font-size: .95rem; display: flex; gap: 10px; align-items: center;
}
.mock-opts b { color: var(--muted); font-weight: 700; }
.mock-opts .ok { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok-ink); }
.mock-opts .ok b { color: var(--ok-ink); }
.mock-opts .ok svg { width: 18px; height: 18px; margin-left: auto; flex: none; }
.mock-exp {
  background: var(--surface); border-radius: 10px; padding: 12px 14px;
  font-size: .9rem; color: var(--muted); margin: 0;
}
.mock-exp strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---------- Faixa de áreas ---------- */

.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding-top: 18px; padding-bottom: 18px; font-size: .95rem; color: var(--muted);
}
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; font-weight: 600; color: var(--ink); font-size: .85rem;
}

/* ---------- Seções ---------- */

.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker {
  display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--kicker); margin-bottom: 10px;
}

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.steps p { color: var(--muted); margin: 0; }

/* Recursos */
.features { display: grid; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgb(20 184 180 / 14%); color: var(--accent-ink); margin-bottom: 16px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; }

/* Preço */
.plans { display: grid; gap: 20px; max-width: 880px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column;
}
.plan-featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan-name { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin: 10px 0 2px; }
.plan-per { color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal); }
.plan .btn { margin-top: auto; }
.plans-note { color: var(--muted); font-size: .95rem; margin-top: 24px; max-width: 880px; }

/* Dúvidas */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Chamada final */
.final {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; text-align: center;
}
.final p { color: rgb(255 255 255 / 80%); font-size: 1.1rem; max-width: 34em; margin: 0 auto 28px; }

/* Rodapé */
.foot { background: var(--navy-deep); color: rgb(255 255 255 / 70%); font-size: .9rem; padding: 40px 0; }
.foot .wrap { display: grid; gap: 20px; }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; } }
.foot a { color: rgb(255 255 255 / 85%); }
.foot .tagline { color: var(--teal-light); font-weight: 600; letter-spacing: .04em; margin: 4px 0 0; }
.foot .legal { margin: 0; max-width: 46em; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Raiz (só redireciona) e 404 ---------- */

.root-blank { min-height: 100vh; background: var(--navy-deep); color: #fff; padding: 24px; }
.root-blank a { color: var(--teal-light); }

.center-page {
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; text-align: center;
}
.center-page .brand { justify-content: center; margin-bottom: 28px; }
.center-page .brand svg { width: 48px; height: 48px; }
.center-page .brand span { font-size: 1.4rem; }
.center-page h1 { font-size: 1.5rem; font-weight: 700; }
.center-page p { color: rgb(255 255 255 / 80%); }
.center-page .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
