/* ==========================================================================
   VoiceSpeak, páginas destino
   Estende style.css. Nada aqui redefine token da landing: só acrescenta o
   que as páginas internas precisam e a landing não tinha.

   A ideia da página: uma BANCADA. O recurso é demonstrado ao vivo num painel
   escuro de instrumento, encaixado numa coluna editorial branca. O escuro
   volta exatamente duas vezes (a régua de números e o CTA final), então a
   página lê como três batidas escuras sobre branco, não como degradê.
   ========================================================================== */

/* ------------------------------------------------------------- tokens --- */
:root {
  /* tinta, cinzas com viés frio, puxando para o azul da marca */
  --ink-0: #000;
  --ink-1: #1f2229;
  --ink-2: #5b6470;
  --ink-3: #666d77;

  --rule: #e5e5e5;
  --rule-soft: #eef0f3;
  --surface: #f6f8fa;
  --surface-2: #eef1f5;

  /* o palco: onde os instrumentos moram */
  --stage: #06070c;
  --stage-2: #0d1120;
  --stage-3: #131a2e;
  --stage-rule: rgba(126, 178, 255, 0.18);
  --stage-rule-2: rgba(126, 178, 255, 0.34);
  --stage-ink: #e9f1ff;
  --stage-ink-2: rgba(203, 222, 252, 0.66);
  --stage-ink-3: rgba(183, 205, 240, 0.62);

  --blue: #1a73e8;
  --blue-strong: #0b57d0;
  --blue-soft: #e8f0fe;
  --glow: #5aa9ff;

  /* semânticas, separadas do azul de marca, de propósito */
  --ok: #12805c;
  --ok-soft: #e3f5ed;
  --warn: #a85f00;
  --warn-soft: #fdf0dd;
  --bad: #c5221f;
  --bad-soft: #fce8e6;

  /* o registro de dados: esta é uma empresa de milissegundos e payloads */
  --font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono",
                      Menlo, Consolas, "Liberation Mono", monospace;

  --page-hero-pad: 132px;
}

@media (width <= 599.98px) { :root { --page-hero-pad: 96px; } }

.mono {
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* páginas internas: o header já nasce claro depois do herói escuro */
body.pg { background: #fff; }

/* ================================================== cabeçalho da página == */
.pg-hero {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: calc(var(--header-height) + var(--page-hero-pad)) 0 0;
  color: var(--stage-ink);
  background: var(--stage);
  isolation: isolate;
}

/* campo de luz atrás do herói, analítico, sem custo de shader */
.pg-hero::before {
  content: "";
  position: absolute;
  inset: -35% -10% auto -10%;
  height: 150%;
  z-index: -2;
  background:
    radial-gradient(46% 42% at 22% 30%, rgba(49, 134, 255, 0.42) 0%, transparent 64%),
    radial-gradient(40% 38% at 78% 22%, rgba(120, 92, 255, 0.30) 0%, transparent 66%),
    radial-gradient(52% 46% at 58% 82%, rgba(0, 190, 220, 0.20) 0%, transparent 68%);
  filter: blur(46px);
  animation: pgDrift 30s ease-in-out infinite alternate;
}
.pg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.20;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes pgDrift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.14); }
}

.pg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(72px, 8vw, 120px);
}
@media (width <= 1024.98px) {
  .pg-hero__grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 72px; }
}

/* variante sem instrumento: título centrado, para páginas institucionais */
.pg-hero--plain .pg-hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.pg-hero--plain .pg-hero__lead { max-width: 720px; }
.pg-hero--plain .pg-hero__meta { justify-content: center; }
.pg-hero--plain .button-group { justify-content: center; }

.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  margin-bottom: 22px;
  padding: 0 15px 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bcd8ff;
  background: rgba(49, 134, 255, 0.13);
  border: 1px solid var(--stage-rule-2);
  border-radius: 999px;
}
.pg-eyebrow .dot {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}
.pg-eyebrow--soon { color: #ffd9a8; background: rgba(255, 168, 61, 0.12); border-color: rgba(255, 184, 106, 0.36); }
.pg-eyebrow--soon .dot { background: #ffb86a; box-shadow: 0 0 10px #ffb86a; }

.pg-hero__title {
  font-family: var(--font-family-display);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.pg-hero__title em {
  font-style: normal;
  background: linear-gradient(92deg, #8ec2ff 0%, #b9a6ff 52%, #6ee7f0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.pg-hero__lead {
  max-width: 40em;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--stage-ink-2);
  margin-bottom: 34px;
  text-wrap: pretty;
}

.pg-hero .button--ghost {
  color: var(--stage-ink);
  border: 1px solid var(--stage-rule-2);
  background: rgba(255, 255, 255, 0.03);
}
.pg-hero .button--ghost:hover { background: rgba(255, 255, 255, 0.09); }

.pg-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--stage-rule);
  font-size: 14px;
  color: var(--stage-ink-3);
}
.pg-hero__meta b {
  display: block;
  font-family: var(--font-family-mono);
  font-size: 19px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--stage-ink);
}

/* trilha de migalhas */
.pg-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--stage-ink-3);
}
.pg-crumbs a { color: var(--stage-ink-2); }
.pg-crumbs a:hover { color: var(--stage-ink); text-decoration: underline; }
.pg-crumbs span[aria-hidden] { opacity: 0.5; }

/* ============================================ o instrumento (painel) ===== */
.instr {
  position: relative;
  border: 1px solid var(--stage-rule-2);
  border-radius: 22px;
  background: linear-gradient(168deg, rgba(20, 28, 52, 0.92) 0%, rgba(6, 8, 15, 0.94) 100%);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 60px -20px rgba(40, 110, 220, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  overflow: hidden;
  container-type: inline-size;
}

.instr__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stage-ink-3);
  border-bottom: 1px solid var(--stage-rule);
  background: rgba(255, 255, 255, 0.025);
}
.instr__live {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: #ff5fa2;
  box-shadow: 0 0 12px #ff5fa2;
  animation: instrLive 1.6s ease-in-out infinite;
}
.instr__live--idle { background: var(--stage-ink-3); box-shadow: none; animation: none; }
@keyframes instrLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.42; transform: scale(0.76); }
}
.instr__clock {
  margin-left: auto;
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
}
.instr__body { padding: 20px 20px 22px; }
.instr__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--stage-ink-3);
  border-top: 1px solid var(--stage-rule);
  background: rgba(0, 0, 0, 0.28);
}
.instr__foot .mono { color: var(--stage-ink-2); }

/* ------- linhas de transcrição (usado por vários instrumentos) ---------- */
.tline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(126, 178, 255, 0.09);
}
.tline:last-child { border-bottom: 0; }
.tline__who {
  align-self: start;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 6px;
  background: rgba(90, 169, 255, 0.16);
  color: #9ecbff;
}
.tline__who--b { background: rgba(255, 122, 178, 0.15); color: #ffa3c8; }
.tline__who--c { background: rgba(110, 231, 240, 0.14); color: #7fe4ec; }
.tline__who--ia { background: rgba(160, 130, 255, 0.16); color: #c2b0ff; }
.tline__text {
  font-size: clamp(14px, 3.1cqi, 16px);
  line-height: 1.5;
  color: var(--stage-ink-2);
}
.tline.is-live .tline__text { color: var(--stage-ink); }
.tline.is-live .tline__text::after {
  content: "";
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.16em;
  background: var(--glow);
  animation: caret 1s steps(1, end) infinite;
}
@keyframes caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
.tline__meta {
  grid-column: 2;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--stage-ink-3);
}

/* ------- medidor de latência ------------------------------------------- */
.gauge { display: grid; gap: 8px; }
.gauge__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stage-ink-3);
}
.gauge__value {
  margin-left: auto;
  font-family: var(--font-family-mono);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--stage-ink);
  text-transform: none;
  letter-spacing: -0.02em;
}
.gauge__track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(126, 178, 255, 0.14);
  overflow: hidden;
}
.gauge__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3186ff, #6ee7f0);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.gauge__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-family-mono);
  font-size: 10.5px;
  color: var(--stage-ink-3);
}

/* ------- barras de espectro -------------------------------------------- */
.spectrum {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 46px;
}
.spectrum i {
  flex: 1 1 0;
  min-height: 3px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #7fd6ff, #3186ff);
  transform-origin: bottom;
  transition: height 0.12s linear;
}
.spectrum--idle i { background: rgba(126, 178, 255, 0.22); }

/* ------- banco de vozes ------------------------------------------------- */
.voices { display: grid; gap: 8px; }
.voice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 13px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.voice:hover { background: rgba(255, 255, 255, 0.075); }
.voice.is-on { border-color: var(--stage-rule-2); background: rgba(49, 134, 255, 0.15); }
.voice__play {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #0a0d16;
  background: linear-gradient(135deg, #8ec2ff, #4ea0ff);
}
.voice.is-on .voice__play { background: linear-gradient(135deg, #fff, #a9d1ff); }
.voice__name { font-size: 15px; font-weight: 500; color: var(--stage-ink); }
.voice__tag { font-size: 12px; color: var(--stage-ink-3); }
.voice__wave { width: 74px; height: 26px; }
.voice__wave i {
  display: inline-block;
  width: 3px;
  margin-right: 2px;
  border-radius: 2px;
  background: rgba(158, 203, 255, 0.45);
  vertical-align: middle;
}
.voice.is-on .voice__wave i { background: #9ecbff; }

/* ------- anel de captura (voz personalizada) --------------------------- */
.capture { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
@container (max-width: 380px) { .capture { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.capture__ring { position: relative; width: 118px; height: 118px; flex: none; }
.capture__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.capture__ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.capture__ring .bg { stroke: rgba(126, 178, 255, 0.16); }
.capture__ring .fg {
  stroke: url(#capGrad);
  transition: stroke-dashoffset 0.3s linear;
  filter: drop-shadow(0 0 8px rgba(90, 169, 255, 0.7));
}
.capture__count {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
}
.capture__count b { display: block; font-size: 27px; font-weight: 500; color: var(--stage-ink); letter-spacing: -0.03em; }
.capture__count span { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--stage-ink-3); }
.capture__steps { display: grid; gap: 9px; }
.capture__step {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; color: var(--stage-ink-3);
  transition: color 0.3s ease;
}
.capture__step i {
  display: grid; place-items: center;
  width: 20px; height: 20px; flex: none;
  border: 1px solid var(--stage-rule-2);
  border-radius: 50%;
  font-style: normal;
}
.capture__step.is-done { color: var(--stage-ink); }
.capture__step.is-done i { background: var(--glow); border-color: var(--glow); color: #06070c; }
.capture__step.is-now { color: var(--stage-ink); }
.capture__step.is-now i { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(90, 169, 255, 0.16); }

/* ------- trilho de ferramentas do agente -------------------------------- */
.tool {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--stage-rule);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tool.is-in { opacity: 1; transform: none; }
.tool__icon {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(90, 169, 255, 0.16);
  color: #9ecbff;
}
.tool__name { font-family: var(--font-family-mono); font-size: 12.5px; color: var(--stage-ink); }
.tool__desc { font-size: 12px; color: var(--stage-ink-3); }
.tool__state {
  font-family: var(--font-family-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 128, 92, 0.22);
  color: #6ee7b7;
  white-space: nowrap;
}
.tool__state--wait { background: rgba(168, 95, 0, 0.22); color: #ffc98a; }

/* ------- quadro de vídeo (legendas) ------------------------------------- */
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 30% 25%, rgba(49, 134, 255, 0.30), transparent 62%),
    radial-gradient(50% 60% at 78% 70%, rgba(160, 107, 255, 0.28), transparent 62%),
    #0a0e1a;
}
.frame__bars { position: absolute; inset: 0; display: grid; place-items: center; }
.frame__caption {
  position: absolute;
  left: 6%; right: 6%; bottom: 9%;
  padding: 9px 14px;
  text-align: center;
  font-size: clamp(13px, 3.4cqi, 17px);
  line-height: 1.35;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  text-wrap: balance;
}
.frame__caption em { font-style: normal; color: #ffe27a; }
.frame__time {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--font-family-mono);
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--stage-ink-2);
  background: rgba(0, 0, 0, 0.5);
}

/* ------- par de tradução ----------------------------------------------- */
.dub { display: grid; gap: 10px; }
.dub__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 13px;
  border: 1px solid var(--stage-rule);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}
.dub__row--out { background: rgba(49, 134, 255, 0.12); border-color: var(--stage-rule-2); }
.dub__flag { font-size: 20px; line-height: 1.2; }
.dub__lang {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stage-ink-3); margin-bottom: 3px;
}
.dub__text { font-size: 15px; line-height: 1.45; color: var(--stage-ink); }
.dub__arrow { display: grid; place-items: center; color: var(--stage-ink-3); }

/* ------- cartões de resumo --------------------------------------------- */
.digest { display: grid; gap: 10px; }
.digest__card {
  padding: 13px 15px;
  border: 1px solid var(--stage-rule);
  border-left: 2px solid var(--glow);
  border-radius: 4px 13px 13px 4px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.digest__card.is-in { opacity: 1; transform: none; }
.digest__card--task { border-left-color: #6ee7b7; }
.digest__card--risk { border-left-color: #ffb86a; }
.digest__kind {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stage-ink-3); margin-bottom: 5px;
}
.digest__text { font-size: 14.5px; line-height: 1.45; color: var(--stage-ink); }
.digest__who { margin-top: 6px; font-size: 12px; color: var(--stage-ink-3); }

/* ------- correção de vocabulário ---------------------------------------- */
.fix { display: grid; gap: 12px; }
.fix__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 13px 15px;
  border: 1px solid var(--stage-rule);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}
.fix__label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stage-ink-3); }
.fix__text { font-size: 15px; line-height: 1.5; color: var(--stage-ink-2); }
.fix__text s { color: rgba(255, 141, 141, 0.75); text-decoration-thickness: 1px; }
.fix__text mark {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(110, 231, 183, 0.2);
  color: #8df0c4;
}
.fix__row--after { background: rgba(49, 134, 255, 0.1); border-color: var(--stage-rule-2); }
.fix__row--after .fix__text { color: var(--stage-ink); }

/* ------- teclas / atalhos ----------------------------------------------- */
kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: var(--font-family-mono);
  font-size: 0.85em;
  line-height: 1.5;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink-1);
}

/* ============================================== corpo editorial ========== */
.pg-section { position: relative; padding: clamp(72px, 8vw, 116px) 0; }
.pg-section--tight { padding: clamp(52px, 5vw, 76px) 0; }
.pg-section--surface { background: var(--surface); }
.pg-section + .pg-section--surface,
.pg-section--surface + .pg-section { border-top: 1px solid var(--rule-soft); }

.pg-head { max-width: 760px; margin-bottom: clamp(38px, 4vw, 58px); }
.pg-head--center { margin-inline: auto; text-align: center; }
.pg-head__eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-strong);
}
.pg-head__title {
  font-family: var(--font-family-headline);
  font-size: clamp(29px, 3.1vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.pg-head__lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* prosa */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.65; color: var(--ink-1); }
.prose > * + * { margin-top: 1.05em; }
.prose h3 {
  margin-top: 2em;
  font-family: var(--font-family-headline);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.prose h4 { margin-top: 1.7em; font-size: 18px; font-weight: 500; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-strong); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 500; color: #000; }
.prose code {
  padding: 2px 6px;
  font-family: var(--font-family-mono);
  font-size: 0.87em;
  background: var(--surface-2);
  border-radius: 5px;
}
.prose blockquote {
  padding-left: 20px;
  border-left: 2px solid var(--blue);
  color: var(--ink-2);
  font-style: normal;
}

/* ------------------------------------------------- índice fixo lateral -- */
.pg-with-rail {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
@media (width <= 1024.98px) { .pg-with-rail { grid-template-columns: 1fr; } }

.pg-rail { position: sticky; top: calc(var(--header-height) + 28px); }
@media (width <= 1024.98px) { .pg-rail { position: static; margin-bottom: 34px; } }
.pg-rail__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pg-rail__list { display: grid; gap: 1px; }
.pg-rail a {
  display: block;
  padding: 8px 0 8px 15px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink-2);
  border-left: 2px solid var(--rule);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pg-rail a:hover { color: var(--ink-0); border-left-color: var(--ink-3); }
.pg-rail a.is-current { color: var(--blue-strong); border-left-color: var(--blue); font-weight: 500; }

/* ================================================== o cano (pipeline) ==== */
/* Numerado de propósito: aqui a ordem É a informação. */
.pipe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.pipe__step { position: relative; padding: 26px 24px 28px; border-right: 1px solid var(--rule); }
.pipe__step:last-child { border-right: 0; }
@media (width <= 767.98px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe__step { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pipe__step:last-child { border-bottom: 0; }
}
.pipe__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin-bottom: 14px;
  font-family: var(--font-family-mono);
  font-size: 12px;
  color: #fff;
  background: var(--ink-0);
  border-radius: 8px;
}
.pipe__title { margin-bottom: 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.pipe__body { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pipe__cost {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 9px;
  font-family: var(--font-family-mono);
  font-size: 11.5px;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border-radius: 6px;
}

/* ================================================== régua de números ===== */
/* o fundo do grid é a cor da divisória: com gap de 1px, ele vira a hairline
   entre as células. Por isso precisa ser OPACO, um rgba() aqui deixaria o
   branco da seção atravessar e as linhas sairiam azul-claras sobre escuro. */
.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  background: #1b2438;
}
.figure { padding: 32px 26px 34px; background: var(--stage); }
.figure__value {
  display: block;
  font-family: var(--font-family-mono);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--stage-ink);
}
.figure__value span { font-size: 0.5em; letter-spacing: 0; color: var(--stage-ink-3); margin-left: 3px; }
.figure__label { margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--stage-ink); }
.figure__note { margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--stage-ink-3); }

/* ================================================== blocos alternados ==== */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5.5vw, 84px);
}
.split + .split { margin-top: clamp(56px, 7vw, 104px); }
.split--flip > .split__media { order: -1; }
@media (width <= 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--flip > .split__media, .split > .split__media { order: -1; }
}
.split__title {
  margin-bottom: 16px;
  font-family: var(--font-family-headline);
  font-size: clamp(24px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.split__body { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.split__body > * + * { margin-top: 0.9em; }
.split__body strong { font-weight: 500; color: #000; }

.split__media {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: var(--stage);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 70px -34px rgba(10, 22, 50, 0.6);
  container-type: inline-size;
  overflow: hidden;
}
.split__media--light {
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: none;
}

/* lista com marcador de traço, para dentro dos splits */
.dash-list { display: grid; gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
.dash-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.dash-list li b { font-weight: 500; color: #000; }
.dash-list svg { flex: none; margin-top: 4px; color: var(--blue); }

/* ================================================== grades de cartão ===== */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}
.tiles--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@media (width <= 599.98px) { .tiles, .tiles--2 { grid-template-columns: 1fr; } }

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pg-section--surface .tile { background: #fff; }
a.tile:hover, .tile--hover:hover {
  border-color: #d3dce8;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 30, 60, 0.3);
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 6px;
  border-radius: 12px;
  color: var(--blue-strong);
  background: var(--blue-soft);
}
.tile__title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.tile__body { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tile__meta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-family-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.tile__go { margin-top: auto; padding-top: 16px; color: var(--blue); display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; }
a.tile:hover .tile__go svg { transform: translateX(4px); }
.tile__go svg { transition: transform 0.25s ease; }

/* etiqueta de estado */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  height: 26px;
  padding: 0 11px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.chip--ok   { background: var(--ok-soft);   color: var(--ok); }
.chip--warn { background: var(--warn-soft); color: var(--warn); }
.chip--bad  { background: var(--bad-soft);  color: var(--bad); }
.chip--blue { background: var(--blue-soft); color: var(--blue-strong); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

/* ================================================== tabela de dados ====== */
.tw { overflow-x: auto; border: 1px solid var(--rule); border-radius: 18px; background: #fff; }
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtable th, .dtable td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.dtable thead th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody th { font-weight: 500; color: #000; white-space: nowrap; }
.dtable td { color: var(--ink-2); line-height: 1.5; }
.dtable td b, .dtable td strong { font-weight: 500; color: #000; }
.dtable .num { font-family: var(--font-family-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable code {
  font-family: var(--font-family-mono);
  font-size: 13px;
  padding: 2px 6px;
  background: var(--surface-2);
  border-radius: 5px;
  white-space: nowrap;
}
.dtable tbody tr:hover td, .dtable tbody tr:hover th { background: #fbfcfd; }

/* método HTTP */
.verb {
  display: inline-block;
  min-width: 58px;
  padding: 3px 8px;
  font-family: var(--font-family-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
  color: #fff;
}
.verb--get { background: #12805c; }
.verb--post { background: #1a73e8; }
.verb--put { background: #a85f00; }
.verb--patch { background: #6b4ee8; }
.verb--delete { background: #c5221f; }

/* ================================================== código ============== */
.code {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--stage);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.code__tabs {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--stage-rule);
}
.code__tabs::-webkit-scrollbar { display: none; }
.code__tab {
  padding: 9px 15px;
  font-family: var(--font-family-mono);
  font-size: 12.5px;
  color: var(--stage-ink-3);
  border-radius: 9px 9px 0 0;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.code__tab:hover { color: var(--stage-ink-2); }
.code__tab.is-on { color: var(--stage-ink); background: rgba(255, 255, 255, 0.07); }
.code__panel { display: none; }
.code__panel.is-on { display: block; }
.code pre {
  margin: 0;
  padding: 20px 22px 22px;
  overflow-x: auto;
  font-family: var(--font-family-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--stage-ink-2);
  tab-size: 2;
}
.code pre b   { font-weight: 400; color: #9ecbff; }  /* chave / método */
.code pre i   { font-style: normal; color: #b9a6ff; }  /* palavra reservada */
.code pre u   { text-decoration: none; color: #8df0c4; }  /* string */
.code pre s   { text-decoration: none; color: #74809a; }  /* comentário */
.code pre em  { font-style: normal; color: #ffc98a; }  /* número / literal */
.code__copy {
  position: absolute;
  top: 9px; right: 12px;
  padding: 6px 11px;
  font-size: 12px;
  color: var(--stage-ink-3);
  border: 1px solid var(--stage-rule);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.code__copy:hover { color: var(--stage-ink); border-color: var(--stage-rule-2); }
.code--bare .code__copy { top: 12px; }

/* ================================================== FAQ ================== */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-strong); }
.faq summary::after {
  content: "";
  width: 13px; height: 13px;
  margin-left: auto;
  flex: none;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq__body {
  padding: 0 44px 26px 4px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.faq__body > * + * { margin-top: 0.85em; }
.faq__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.faq__body strong { font-weight: 500; color: #000; }

/* ================================================== páginas irmãs ======== */
.siblings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.sibling {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}
.sibling:hover { background: var(--surface); border-color: #d3dce8; }
.sibling__kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sibling__title { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.sibling__body { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* ================================================== faixa de CTA ========= */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) clamp(26px, 5vw, 72px);
  border-radius: 32px;
  color: var(--stage-ink);
  background: var(--stage);
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(38% 46% at 26% 34%, rgba(49, 134, 255, 0.5) 0%, transparent 64%),
    radial-gradient(34% 42% at 76% 62%, rgba(140, 100, 255, 0.38) 0%, transparent 64%),
    radial-gradient(30% 38% at 52% 88%, rgba(0, 200, 220, 0.26) 0%, transparent 64%);
  filter: blur(50px);
  animation: pgDrift 26s ease-in-out infinite alternate;
}
.cta-band__title {
  max-width: 18ch;
  margin: 0 auto 16px;
  font-family: var(--font-family-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta-band__body {
  max-width: 52ch;
  margin: 0 auto 32px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--stage-ink-2);
}
.cta-band .button--ghost {
  color: var(--stage-ink);
  border: 1px solid var(--stage-rule-2);
  background: rgba(255, 255, 255, 0.04);
}
.cta-band .button--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cta-band__foot {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--stage-ink-3);
}
.cta-band__foot a { color: var(--stage-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ================================================== planos =============== */
.plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 34px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
}
.plan-toggle button {
  padding: 9px 20px;
  font-size: 15px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background-color 0.22s ease, color 0.22s ease;
}
.plan-toggle button.is-on { color: #fff; background: var(--ink-0); }
.plan-toggle .save { margin-left: 6px; font-size: 12.5px; color: var(--ok); }
.plan-toggle button.is-on .save { color: #8df0c4; }

.matrix th.plan-col { min-width: 132px; text-align: center; }
.matrix td.plan-cell { text-align: center; white-space: nowrap; }
.matrix .yes { color: var(--ok); }
.matrix .no  { color: #c3c8ce; }
.matrix tbody th { max-width: 380px; white-space: normal; }
.matrix .group th {
  background: var(--surface);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

/* ================================================== quadro de status ===== */
.status-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: #fff;
}
.status-hero__dot {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ok);
  flex: none;
}
.status-hero__title { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.status-hero__sub { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.status-hero__meta { margin-left: auto; text-align: right; font-size: 13px; color: var(--ink-3); }

.svc { border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: #fff; }
.svc__row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(200px, 2fr) auto;
  align-items: center;
  gap: 20px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--rule-soft);
}
.svc__row:last-child { border-bottom: 0; }
@media (width <= 767.98px) {
  .svc__row { grid-template-columns: minmax(0, 1fr) auto; }
  .svc__bars { grid-column: 1 / -1; order: 3; }
}
.svc__name { font-size: 15.5px; font-weight: 500; }
.svc__note { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.svc__bars { display: flex; gap: 2px; height: 30px; }
.svc__bars i {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 2px;
  background: var(--ok);
  opacity: 0.85;
}
.svc__bars i.w { background: var(--warn); }
.svc__bars i.b { background: var(--bad); }
.svc__pct {
  font-family: var(--font-family-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ================================================== linha do tempo ======= */
.timeline { display: grid; gap: 0; }
.rel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 0;
  border-top: 1px solid var(--rule);
}
@media (width <= 767.98px) { .rel { grid-template-columns: 1fr; gap: 14px; } }
.rel__when { position: sticky; top: calc(var(--header-height) + 26px); align-self: start; }
@media (width <= 767.98px) { .rel__when { position: static; } }
.rel__date {
  font-family: var(--font-family-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.rel__version {
  margin-top: 5px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rel__title {
  margin-bottom: 14px;
  font-family: var(--font-family-headline);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.rel__items { display: grid; gap: 14px; padding: 0; list-style: none; }
.rel__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: start; }
.rel__kind {
  margin-top: 2px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.rel__kind--new  { background: var(--blue-soft); color: var(--blue-strong); }
.rel__kind--fix  { background: var(--ok-soft); color: var(--ok); }
.rel__kind--perf { background: #f3e8ff; color: #6b21a8; }
.rel__kind--sec  { background: var(--warn-soft); color: var(--warn); }
.rel__text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rel__text b { font-weight: 500; color: #000; }

/* ================================================== blog / ajuda ========= */
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 26px 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover { border-color: #d3dce8; transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15, 30, 60, 0.3); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); }
.post-card__title { font-size: 21px; font-weight: 500; line-height: 1.22; letter-spacing: -0.022em; text-wrap: balance; }
.post-card__body { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

.post-card--lead { grid-column: 1 / -1; }
.post-card--lead .post-card__title { font-size: clamp(25px, 2.6vw, 34px); }
.post-card--lead .post-card__body { font-size: 17px; max-width: 60ch; }

.helpbar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 34px -22px rgba(15, 30, 60, 0.4);
}
.helpbar input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  font: inherit;
  font-size: 16.5px;
  color: var(--ink-0);
  background: none;
  outline: none;
}
.helpbar input::placeholder { color: var(--ink-3); }

.qlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 20px; }
.qlink {
  padding: 8px 15px;
  font-size: 14.5px;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.qlink:hover { color: var(--ink-0); border-color: var(--ink-3); }

.arts { display: grid; gap: 1px; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--rule-soft); }
.art-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  background: #fff;
  transition: background-color 0.2s ease;
}
.art-row:hover { background: var(--surface); }
.art-row__title { font-size: 16px; }
.art-row__go { margin-left: auto; color: var(--blue); flex: none; }
.art-row:hover .art-row__go { transform: translateX(3px); }
.art-row__go { transition: transform 0.22s ease; }

/* ================================================== contato ============== */
.field { display: grid; gap: 7px; }
.field > label { font-size: 14px; font-weight: 500; color: var(--ink-1); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 16px;
  color: var(--ink-0);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.14);
}
.field__hint { font-size: 13px; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (width <= 599.98px) { .form-grid { grid-template-columns: 1fr; } }

.form-note {
  padding: 15px 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ================================================== documento legal ====== */
.legal { font-size: 16.5px; line-height: 1.7; color: var(--ink-1); max-width: 72ch; }
.legal h2 {
  margin: 2.4em 0 0.7em;
  padding-top: 0.6em;
  border-top: 1px solid var(--rule);
  font-family: var(--font-family-headline);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.024em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { margin: 1.8em 0 0.5em; font-size: 18.5px; font-weight: 500; }
.legal p + p, .legal p + ul, .legal ul + p, .legal p + .tw, .legal .tw + p { margin-top: 1em; }
.legal ul, .legal ol { margin: 1em 0; padding-left: 1.35em; display: grid; gap: 0.55em; }
.legal li::marker { color: var(--ink-3); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 500; color: #000; }
.legal .tw { margin: 1.4em 0; font-size: 15px; }
.legal code { font-family: var(--font-family-mono); font-size: 0.88em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-bottom: 34px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.legal-meta b { font-weight: 500; color: #000; }

.callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 4px 14px 14px 4px;
  background: var(--surface);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.callout b, .callout strong { font-weight: 500; color: #000; }
.callout--warn { border-left-color: var(--warn); background: var(--warn-soft); border-color: #f2e0c3; }
.callout--ok { border-left-color: var(--ok); background: var(--ok-soft); border-color: #cbe9dd; }

/* ================================================== menu do header ======= */
/* mega-menu: 11 destinos de produto não cabem numa coluna */
.site-nav__menu--mega {
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(880px, calc(100vw - 48px));
  padding: 22px;
}
.site-nav__item.is-open .site-nav__menu--mega { transform: translate(-50%, 0); }
.mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mega__col .mega__titulo {
  margin: 0 0 10px 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--header-inactive-link-color);
  opacity: 0.75;
}
.mega a { display: block; padding: 9px 14px; border-radius: 10px; }
.mega a strong { display: block; font-size: 15px; font-weight: 500; color: var(--header-active-link-color); }
.mega a span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--header-inactive-link-color);
}
.mobile-menu .m-titulo {
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.mobile-menu .m-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: color-mix(in srgb, var(--header-text-color) 14%, transparent);
}

/* ================================================== utilidades =========== */
.center { text-align: center; }
.mt-l { margin-top: clamp(30px, 4vw, 48px); }
.mt-m { margin-top: 24px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.stack { display: grid; gap: 20px; }
.stack--s { display: grid; gap: 12px; }

.pg-note {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.pg-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* botão auxiliar em fundo claro */
.button--quiet {
  color: var(--ink-1);
  border: 1px solid var(--rule);
  background: #fff;
}
.button--quiet:hover { background: var(--surface); border-color: var(--ink-3); }

/* ================================================== movimento ============ */
@media (prefers-reduced-motion: reduce) {
  .pg-hero::before,
  .cta-band::before { animation: none; }
  .instr__live { animation: none; }
  .tline.is-live .tline__text::after { animation: none; opacity: 1; }
  .tool, .digest__card { opacity: 1; transform: none; }
}
