/**
 * Ajudo, Renda Extra no trabalho (/renda-extra/trabalho/).
 *
 * Carrega DEPOIS de renda-extra.css e reaproveita tudo que já existe lá: o
 * chrome escuro do portal (repm, rep-nav, rep-secao, rep-head), a single 8/4
 * (re-layout, re-hero-grid, re-side) e os blocos de conversão do corpo
 * (re-inline-cta, re-gancho, re-mark, re-figura-link, prova-log). Aqui só vive
 * o que é da área, com prefixo rt-.
 *
 * Identidade: o teal da vertical com a mostarda da marca puxando para "turno de
 * trabalho" (fita de obra discreta no fundo do topo). Hover de card = padrão
 * do .tool-card. Ícones = sprite. Sem emoji e sem travessão, por convenção.
 */

.rt-hub,
.rt-page {
  --rt-fita: rgba(227, 169, 47, 0.10);
  --rt-mostarda: #e3a92f;
}

/* =====================================================
 * TOPO da página de entrada
 * ===================================================== */
/* A fita diagonal fica na camada de fundo (que já tem overflow:hidden), nunca
   no hero em si: regra do projeto para não cortar dropdown nem busca. */
.rt-mast-bg {
  background:
    repeating-linear-gradient(-45deg, var(--rt-fita) 0 14px, transparent 14px 28px) right top / 42% 100% no-repeat,
    radial-gradient(640px 320px at 76% 12%, rgba(22, 176, 168, 0.30), transparent 68%),
    radial-gradient(420px 260px at 8% 92%, rgba(22, 176, 168, 0.14), transparent 70%),
    linear-gradient(158deg, var(--repm-deep) 0%, var(--repm-mid) 62%, #0c5a54 100%);
}
.rt-mast-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.rt-mast-inner > * { min-width: 0; }

.rt-mast-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: rgba(246, 241, 228, 0.6);
}
.rt-mast-crumb a { color: rgba(246, 241, 228, 0.78); text-decoration: none; }
.rt-mast-crumb a:hover { color: #fff; text-decoration: underline; }

.rt-mast-h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--repm-cream);
}
.rt-mast-h1 em { font-style: italic; color: var(--repm-amber); }
/* A palavra-chave abre o H1 em corpo menor: o Google lê "Renda extra no
   trabalho" no começo do título, o olho lê a promessa em letra grande. */
.rt-mast-h1-kicker {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--repm-glow);
}
.rt-mast-sub {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--repm-cream-soft);
}
.rt-mast-sub strong { color: #fff; }

.rt-mast-chips {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rt-mast-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--repm-cream);
  white-space: nowrap;
}
.rt-mast-chips .ico { width: 14px; height: 14px; color: var(--repm-amber); }

.rt-mast-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.rt-mast-btn { font-size: 1.02rem; padding: 14px 24px; }
/* Dentro da zona escura, o verde do botão some. Mostarda da marca com tinta. */
.rt-hub .rt-mast-btn,
.rt-hub .rt-fim .rt-mast-btn {
  background: var(--rt-mostarda);
  color: var(--ink);
  border-color: #b9851c;
  box-shadow: 0 2px 0 #b9851c, 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}
.rt-hub .rt-mast-btn:hover { background: #f0bb45; color: var(--ink); box-shadow: 0 4px 0 #b9851c, 0 14px 30px -12px rgba(0, 0, 0, 0.6); }
.rt-mast-btn .ico { width: 18px; height: 18px; }
.rt-mast-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #b9e8e3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rt-mast-link:hover { color: #fff; }
.rt-mast-link .ico { width: 14px; height: 14px; }
.rt-mast-nota { margin: 10px 0 0; font-size: 0.76rem; color: rgba(246, 241, 228, 0.6); }

.rt-mast-prova {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 12px 14px;
  max-width: 460px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--repm-cream);
}
.rt-mast-prova .ico { flex: 0 0 auto; width: 22px; height: 22px; color: var(--repm-amber); }
.rt-mast-prova strong { color: #fff; }

/* Mosaico de clipes: quatro ofícios, cada um levando para a sua página. */
.rt-mosaico {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rt-mosaico li { min-width: 0; }
.rt-mosaico a {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.rt-mosaico a:hover { transform: translate(-2px, -2px); border-color: var(--repm-amber); }
.rt-mosaico img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rt-mosaico-rot {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 48, 45, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.rt-mosaico-leg { margin: 10px 2px 0; font-size: 0.78rem; color: rgba(246, 241, 228, 0.62); }

@media (prefers-reduced-motion: no-preference) {
  .rt-mast-copy > * { animation: repmRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .rt-mast-copy > *:nth-child(2) { animation-delay: 0.05s; }
  .rt-mast-copy > *:nth-child(3) { animation-delay: 0.1s; }
  .rt-mast-copy > *:nth-child(4) { animation-delay: 0.15s; }
  .rt-mast-copy > *:nth-child(5) { animation-delay: 0.2s; }
  .rt-mosaico li { animation: repmFade 0.5s ease both; }
  .rt-mosaico li:nth-child(2) { animation-delay: 0.1s; }
  .rt-mosaico li:nth-child(3) { animation-delay: 0.2s; }
  .rt-mosaico li:nth-child(4) { animation-delay: 0.3s; }
}

/* ---------- Faixa "gravando agora" (feed ao vivo da Hub) ---------- */
.rt-aovivo-faixa {
  background: #04231f;
  border-top: 1px solid rgba(122, 220, 212, 0.18);
  padding: 12px 0;
}
.rt-aovivo { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rt-aovivo-rot {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--repm-amber, #ecc25f);
}
.rt-aovivo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fd28a;
  box-shadow: 0 0 0 4px rgba(63, 210, 138, 0.18);
}
/* Trilho do feed: a lista vem duplicada e desliza metade da largura, em loop.
   O trilho corta o que sai da tela (overflow: hidden, fade nas pontas). */
.rt-aovivo-trilho {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rt-aovivo-move {
  display: flex;
  width: max-content;
  animation: rtTicker 46s linear infinite;
}
.rt-aovivo-trilho:hover .rt-aovivo-move { animation-play-state: paused; }
@keyframes rtTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rt-aovivo-lista {
  list-style: none;
  margin: 0;
  padding: 0 11px;
  display: flex;
  gap: 22px;
}
/* Sem animação: nada desliza, a cópia some e a lista quebra em linhas. */
@media (prefers-reduced-motion: reduce) {
  .rt-aovivo-move { animation: none; width: auto; }
  .rt-aovivo-copia { display: none; }
  .rt-aovivo-lista { flex-wrap: wrap; gap: 8px 18px; }
  .rt-aovivo-trilho { -webkit-mask-image: none; mask-image: none; }
}
.rt-aovivo-lista li {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(246, 241, 228, 0.8);
  white-space: nowrap;
}
.rt-aovivo-cidade { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #fff; }
.rt-aovivo-cidade .ico { width: 12px; height: 12px; color: #3fd28a; }

/* Na single, a mesma faixa vira um bloco claro dentro do texto. */
.re-prose .rt-aovivo {
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.re-prose .rt-aovivo-rot { color: var(--terracotta); }
.re-prose .rt-aovivo-lista { flex-wrap: wrap; gap: 8px 18px; overflow: visible; padding-left: 0; }
.re-prose .rt-aovivo-move { animation: none; width: auto; }
.re-prose .rt-aovivo-copia { display: none; }
.re-prose .rt-aovivo-trilho { -webkit-mask-image: none; mask-image: none; }
.re-prose .rt-aovivo-lista li { color: var(--ink-soft); white-space: normal; margin: 0; }
.re-prose .rt-aovivo-cidade { color: var(--ink); }
.re-prose .rt-aovivo-cidade .ico { color: #1f7a4d; }
.re-prose ul.rt-aovivo-lista { list-style: none; }

/* =====================================================
 * O pilar: o mesmo serviço pagando duas vezes
 * ===================================================== */
.rt-pilar { padding: clamp(34px, 5vw, 52px) 0; background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.rt-pilar-tit {
  margin: 0 0 20px;
  max-width: 30ch;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.18;
  color: var(--re-ink, #0a4d4a);
}
.rt-pilar-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.rt-pilar-grid > * { min-width: 0; }
.rt-pilar-card {
  margin: 0;
  padding: 20px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
}
.rt-pilar-rot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.rt-pilar-rot .ico { width: 16px; height: 16px; }
.rt-pilar-conta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.95rem;
}
.rt-pilar-conta strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
.rt-pilar-conta + .rt-pilar-conta strong { color: #1f7a4d; }
.rt-pilar-nota { margin: 12px 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }
.rt-pilar-caso { background: var(--mustard-soft); border: 2px dashed var(--terracotta); }
.rt-pilar-caso-txt { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.14rem; line-height: 1.45; color: var(--ink); }
.rt-pilar-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--terracotta); }
.rt-pilar-link .ico { width: 13px; height: 13px; }

/* =====================================================
 * 01 · Busca e cards de profissão
 * ===================================================== */
.rt-busca { max-width: 620px; margin: 0 0 22px; }
.rt-busca-label { display: block; margin: 0 0 8px; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.rt-busca-campo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
}
.rt-busca-ico { flex: 0 0 auto; width: 18px; height: 18px; color: var(--ink-soft); }
.rt-busca-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  outline: none;
}
.rt-busca-status { margin: 8px 2px 0; font-size: 0.84rem; color: var(--ink-soft); }
.rt-busca-vazio { margin: 18px 0 0; color: var(--ink-soft); }
.rt-grupo-tit {
  margin: 26px 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.rt-grupo-tit:first-child { margin-top: 4px; }
.rt-grupo-tit[hidden] { display: none; }
/* Em grade mista (foto + compacto), o compacto não estica até a altura do
   card com foto. Em grade só de compactos, todos ficam da mesma altura. */
.rt-prof-grid:has(.has-thumb) .rt-prof-card.is-compacto { align-self: start; }

.rt-prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.rt-prof-grid > * { min-width: 0; }
.rt-prof-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rt-prof-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-pop), var(--shadow-md);
}
.rt-prof-card[hidden] { display: none; }
.rt-prof-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(-45deg, rgba(14, 143, 138, 0.06) 0 10px, transparent 10px 20px),
    var(--re-accent-soft, #d9f2f0);
}
.rt-prof-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rt-prof-inicial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--re-ink, #0a4d4a);
}
.rt-prof-inicial .ico { width: 42px; height: 42px; color: var(--re-accent, #0e8f8a); opacity: 0.8; }
.rt-prof-body { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; padding: 14px 16px 16px; }
.rt-prof-nome {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.rt-prof-desc { font-size: 0.87rem; line-height: 1.45; color: var(--ink-soft); }

/* Profissão sem imagem: card compacto, ícone do setor ao lado do nome. */
.rt-prof-card.is-compacto {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.rt-prof-card.is-compacto .rt-prof-body { padding: 0; }
.rt-prof-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mustard-soft);
  border: 1.5px solid rgba(196, 87, 47, 0.25);
}
.rt-prof-ico .ico { width: 20px; height: 20px; color: var(--terracotta); }

/* =====================================================
 * 02 · Setores
 * ===================================================== */
.rt-setor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.rt-setor-grid > * { min-width: 0; }
.rt-setor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rt-setor-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-pop), var(--shadow-md);
}
.rt-setor-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mustard-soft);
  border: 1.5px solid rgba(196, 87, 47, 0.25);
}
.rt-setor-ico .ico { width: 22px; height: 22px; color: var(--terracotta); }
.rt-setor-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.rt-setor-nome { margin: 0; font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.rt-setor-desc { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.rt-setor-seta { flex: 0 0 auto; width: 16px; height: 16px; color: var(--ink-soft); }

/* =====================================================
 * 03 · Como funciona
 * ===================================================== */
.rt-como {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: start;
}
.rt-como > * { min-width: 0; }
.rt-como-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rt-como-passos li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.rt-como-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--re-ink, #0a4d4a);
  color: #fff;
  font-weight: 800;
}
.rt-como-passos strong { display: block; margin-bottom: 3px; }
.rt-como-passos p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.rt-como-passos a { color: var(--terracotta); font-weight: 700; }
.rt-como-regras {
  padding: 20px;
  border-radius: 16px;
  background: var(--mustard-soft);
  border: 2px dashed var(--terracotta);
}
.rt-como-regras-tit { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; color: var(--ink); }
.rt-como-regras-tit .ico { width: 18px; height: 18px; color: var(--terracotta); }
.rt-como-regras ul { margin: 0 0 12px; padding-left: 20px; }
.rt-como-regras li { margin: 0 0 6px; font-size: 0.93rem; line-height: 1.45; }
.rt-como-regras-nota { margin: 0; font-size: 0.9rem; line-height: 1.5; }

/* =====================================================
 * 04 · Quanto rende (simulador + comprovantes)
 * ===================================================== */
.rt-rende {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.rt-rende > * { min-width: 0; }
.rt-rende-prova-tit { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--re-ink, #0a4d4a); }
.rt-rende-prova-txt { margin: 0 0 14px; font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); }
.rt-rende-prova-txt a { color: var(--terracotta); font-weight: 700; }
.rt-rende-prova .prova-log { display: grid; gap: 12px; }

.rt-fatos {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.rt-fatos li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; color: var(--ink); }
.rt-fatos .ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--re-accent, #0e8f8a); }
.rt-fatos a { color: var(--terracotta); font-weight: 700; }

/* Simulador do catálogo Trabalho. Mesma regra de toque do simulador de casa:
   a altura vai no INPUT (44px), a barra fina vem do track. */
.rt-sim {
  margin: 0;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.re-prose .rt-sim { margin: 30px 0; background: #fbf7ef; }
.rt-sim-titulo { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.rt-sim-sub { margin: 4px 0 18px; font-size: 0.92rem; color: var(--ink-soft); }
.rt-sim-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.rt-sim-out { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--green); }
.rt-sim-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0 0 12px;
  background: transparent;
  outline: none;
  cursor: pointer;
  touch-action: pan-y;
}
.rt-sim-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: #ded5c1; }
.rt-sim-range::-moz-range-track { height: 6px; border-radius: 999px; background: #ded5c1; }
.rt-sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.rt-sim-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.rt-sim-range:focus-visible { box-shadow: 0 0 0 3px rgba(46, 87, 67, 0.35); border-radius: 8px; }
.rt-sim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.rt-sim-card { padding: 12px 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.rt-sim-card-destaque { border: 2px solid var(--green); }
.rt-sim-rot { display: block; margin-bottom: 4px; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.rt-sim-num { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; color: var(--ink); }
.rt-sim-card-destaque .rt-sim-num { font-size: 1.48rem; color: var(--green); }
.rt-sim-nota { margin: 0 0 16px; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); }
.rt-sim .re-cta { margin: 0; }

/* =====================================================
 * 05 · Catálogo completo (acordeão por setor)
 * ===================================================== */
.rt-catalogo { display: grid; gap: 10px; }
.rt-cat-setor {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.rt-cat-setor[open] { border-color: var(--line-strong); }
.rt-cat-setor[hidden] { display: none; }
.rt-cat-setor summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.rt-cat-setor summary::-webkit-details-marker { display: none; }
.rt-cat-setor summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 4px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.15s ease;
}
.rt-cat-setor[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.rt-cat-ico { display: flex; }
.rt-cat-ico .ico { width: 20px; height: 20px; color: var(--terracotta); }
.rt-cat-nome { flex: 1; min-width: 0; }
.rt-cat-n {
  min-width: 30px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--re-accent-soft, #d9f2f0);
  color: var(--re-ink, #0a4d4a);
  font-size: 0.8rem;
  text-align: center;
}
.rt-cat-lista { list-style: none; margin: 0; padding: 0 16px 6px; }
.rt-cat-lista li {
  display: grid;
  gap: 2px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.rt-cat-lista li[hidden] { display: none; }
.rt-cat-oque { font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.rt-cat-quem { font-size: 0.8rem; color: var(--ink-soft); }
.rt-cat-quem a { color: var(--re-ink, #0a4d4a); font-weight: 700; }
.rt-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 16px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--terracotta);
}
.rt-cat-link .ico { width: 13px; height: 13px; }

.rt-duvidas .faq-list { max-width: 820px; }

/* =====================================================
 * Fechamento da entrada (chrome escuro)
 * ===================================================== */
.rt-fim-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.rt-fim-tit {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  color: var(--repm-cream, #f6f1e4);
}
.rt-fim-sub { margin: 0 auto 22px; max-width: 56ch; color: rgba(246, 241, 228, 0.78); line-height: 1.55; }
.rt-fim .rt-fim-disclosure { margin-top: 22px; text-align: left; }

/* =====================================================
 * SINGLE (profissão, setor, guia)
 * ===================================================== */
/* Checklist das tarefas do ofício. */
.re-prose ul.rt-tarefas { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; }
.re-prose ul.rt-tarefas li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 13px 15px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.rt-tarefa-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #e5f3ec;
}
.rt-tarefa-check .ico { width: 14px; height: 14px; color: #1f7a4d; }
.rt-tarefa-txt { display: grid; gap: 2px; min-width: 0; }
.rt-tarefa-txt strong { line-height: 1.35; }
.rt-tarefa-oque { font-size: 0.93rem; line-height: 1.45; color: var(--ink-soft); }
.rt-tarefa-setor { font-size: 0.8rem; color: var(--ink-soft); }
.rt-tarefa-setor a { color: var(--re-ink, #0a4d4a); }

/* Tabela do setor: a coluna "quem grava" é texto, não número. */
.re-prose .rt-tabela td:last-child,
.re-prose .rt-tabela th:last-child { text-align: left; font-variant-numeric: normal; }
.re-prose .rt-tabela td:first-child { min-width: 150px; }

/* Cards de profissão dentro do corpo (setor) e no "veja também". */
.re-prose .rt-prof-grid { margin: 18px 0 26px; }
.re-prose .rt-prof-card { text-decoration: none; }
.re-prose .rt-prof-card h3.rt-prof-nome { margin: 0; font-size: 1.02rem; }
.rt-veja .rt-prof-grid { margin-bottom: 22px; }

/* Passo a passo do "Como começar". */
.rt-comecar .rt-passos { margin: 0 0 18px; padding-left: 22px; text-align: left; }
.rt-comecar .rt-passos li { margin: 0 0 8px; line-height: 1.5; }
.rt-comecar .rt-passos a { color: var(--terracotta); font-weight: 700; }

/* Hero da single: o valor anunciado ocupa o lugar do "ganho real" das
   páginas da Hub Data. Frase um pouco mais longa, então o corpo cai. */
.rt-hero-valor .re-hero-ganho-val { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

/* Modelo de mensagem para copiar (guia de autorização). */
.re-prose .rt-modelo {
  position: relative;
  margin: 18px 0 24px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-left: 5px solid var(--re-accent, #0e8f8a);
  border-radius: 12px;
  font-size: 0.97rem;
  line-height: 1.55;
}
.re-prose .rt-modelo > span[id] { display: block; }
.re-prose .rt-modelo-rot {
  display: block;
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--re-accent, #0e8f8a);
}
.re-prose .rt-copiar {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.re-prose .rt-copiar:hover { background: var(--mustard-soft); }

/* =====================================================
 * Responsivo
 * ===================================================== */
@media (max-width: 960px) {
  .rt-mast-inner { grid-template-columns: 1fr; }
  .rt-mast-media { max-width: 560px; }
  .rt-como,
  .rt-rende { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rt-mast-h1 { font-size: 2rem; }
  .rt-mast-sub { font-size: 0.98rem; }
  .rt-mast-chips li { font-size: 0.76rem; padding: 6px 11px; }
  .rt-mast-btn { width: 100%; justify-content: center; }
  .rt-fatos { grid-template-columns: 1fr; }
  .rt-pilar-grid { grid-template-columns: 1fr; }
  .rt-prof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rt-prof-body { padding: 11px 12px 13px; }
  .rt-prof-desc { font-size: 0.82rem; }
  .rt-setor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .rt-sim { padding: 18px 14px; }
  .rt-sim-grid { grid-template-columns: 1fr 1fr; }
  .rt-sim-card-destaque { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 380px) {
  .rt-prof-grid { grid-template-columns: 1fr; }
}

/* Profissão ainda sem página própria, mostrada no próprio setor: card sem
   link, com as tarefas escritas. Sem hover, porque não leva a lugar nenhum. */
.rt-prof-card.is-sem-pagina { border-style: dashed; }
.rt-prof-card.is-sem-pagina:hover { transform: none; border-color: var(--line-strong); box-shadow: none; }
.rt-prof-tarefas { font-size: 0.8rem; line-height: 1.45; color: var(--ink); }

/* Legenda da imagem do topo quando ela é ilustração (feita com IA, liberada
   pela Hub) e não clipe: quem lê precisa saber que não é gravação real. */
.rt-hero-leg { margin-top: 6px; font-size: 0.78rem; color: var(--ink-soft); }
