/* Termômetro de Acesso · protótipo
   Tokens: niuco-design/design-system/tokens.css. Formulário e relatório seguem o tema
   claro da página "Solicitar proposta técnica" (niuco-site/css/proposta-tecnica.css).
   Regra de leitura (pedido do Rafa, 19/10): pouco negrito, poucas cores, poucas caixas.
   Pesos: títulos 600 a 700, texto 400, números 700. Cor de destaque: azul; rosa só para lacuna. */
:root {
  --bg: #050608; --card: #1f2129; --border: #2e323d;
  --text: #f9f9fa; --text-2: #b7b8c2; --text-3: #8a8c9b;
  --blue: #068aff; --blue-solid: #0071d6; --blue-hover: #1e40af; --icon: #1ea8ff;
  --gradient: linear-gradient(90deg, #70ff9c 0%, #2cc5ff 35%, #b124e2 65%, #ef1582 100%);
  --l-bg: #fbfbfc; --l-card: #ffffff; --l-border: #e3e5ea; --l-box: #f1f3f7;
  --l-text: #16161a; --l-body: #2e333f; --l-text-2: #55555f; --l-text-3: #6f7181;
  --l-blue: #2563eb; --l-blue-text: #1d4ed8; --l-rose: #c90e67; --l-amber: #8a5e00;
  --l-gradient: linear-gradient(90deg, #5ef2a8 0%, #2bc4f5 30%, #8b5cf6 55%, #e0147e 80%, #ffb3c0 100%);
  --font: "Nunito Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; font-size: 16px; overflow-x: hidden; }
body.claro { background: var(--l-bg); color: var(--l-text); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--l-blue); outline-offset: 2px; }


/* Cabeçalho: escuro na entrada, claro no formulário e no relatório */
.topbar { display: flex; align-items: center; gap: 16px; padding: 16px 32px; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.wordmark { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; }
.wm-dark { font-weight: 900; letter-spacing: -0.02em; font-size: 24px; }
.wm-light { display: none; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--l-text); align-items: center; }
.wm-light i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.wm-light i:first-child { background: #2563eb; }
.wm-light i:nth-child(2) { background: #db2777; margin-left: -5px; margin-right: 8px; mix-blend-mode: multiply; }
.topbar-tag { font-size: 14px; color: var(--text-3); font-weight: 600; border-left: 1px solid var(--border); padding-left: 16px; }
body.claro .topbar { background: rgba(251,251,252,.92); border-bottom-color: var(--l-border); backdrop-filter: blur(6px); }
body.claro .wm-dark { display: none; }
body.claro .wm-light { display: inline-flex; }
body.claro .topbar-tag { color: var(--l-text-3); border-left-color: var(--l-border); }

/* Rodapé */
.site-footer .barra { height: 10px; background: var(--gradient); }
.site-footer .rodape { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 32px; font-size: 13px; color: var(--text-3); }
.site-footer a { color: inherit; }
body.claro .site-footer .barra { background: var(--l-gradient); }
body.claro .site-footer .rodape { color: var(--l-text-3); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--icon); }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; font-weight: 700; font-size: 16px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn-hero { padding: 16px 40px; font-size: 17px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-blue { background: var(--blue-solid); color: #f9f9fa; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(249,249,250,.3); }
.btn-ghost:hover { border-color: rgba(249,249,250,.6); }
/* telas claras: raio 10px, como a proposta */
body.claro .btn { border-radius: 10px; }
body.claro .btn-blue { background: var(--l-blue); }
body.claro .btn-blue:hover { background: #1d4ed8; }
body.claro .btn-ghost, .btn-ghost-l { background: #fff; color: var(--l-text); border: 1px solid var(--l-border); }
body.claro .btn-ghost:hover, .btn-ghost-l:hover { border-color: #c4c8d1; }

/* ---------- Entrada (escura) ---------- */
.view-dark { min-height: calc(100vh - 100px); padding: 64px 32px 96px; }
.hero2 { max-width: 1160px; margin: 24px auto 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero2-copy { display: flex; flex-direction: column; gap: 22px; }
.hero2 h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--text-2); max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.facts li::before { content: "✓ "; color: #70ff9c; }
.demo-links { font-size: 15px; color: var(--text-3); }
.demo-links a { color: #7cc8ff; }
.preview { position: relative; height: 460px; }
.pv-card { position: absolute; background: #fbfbfc; color: #16161a; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45); padding: 22px; width: 82%; }
.pv-back { top: 0; right: 0; transform: rotate(3deg); opacity: .85; }
.pv-mid { top: 70px; right: 6%; transform: rotate(-1.5deg); }
.pv-front { bottom: 0; left: 0; transform: rotate(-3deg); overflow: hidden; }
.pv-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #1d4ed8; margin-bottom: 10px; }
.pv-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-top: 1px solid #e3e5ea; }
.pv-row b { font-weight: 700; }
.pv-find { font-size: 13px; padding: 7px 0; border-top: 1px solid #e3e5ea; display: flex; justify-content: space-between; gap: 10px; }
.pv-find em { font-style: normal; color: #6f7181; font-size: 12px; }
.pv-title { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.pv-kpis div { padding: 0 12px; border-left: 1px solid #e3e5ea; }
.pv-kpis div:first-child { padding-left: 0; border-left: 0; }
.pv-kpis b { display: block; font-size: 22px; font-weight: 700; }
.pv-kpis span { font-size: 11.5px; color: #6f7181; }
.pv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--l-gradient); }
.pv-tag { position: absolute; top: -10px; left: 8%; background: #f5c46b; color: #2a1a05; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; transform: rotate(-4deg); z-index: 2; }
.pain { max-width: 820px; margin: 96px auto 0; text-align: center; font-size: 21px; line-height: 1.55; color: var(--text-2); }
.pain b { color: var(--text); font-weight: 600; }
.tracks { max-width: 1080px; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.track { border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.track h3 { font-size: 21px; font-weight: 600; }
.track p:last-child { color: var(--text-2); }
.how { max-width: 1080px; margin: 72px auto 0; }
.how h2, .final-cta h2 { font-size: 26px; font-weight: 600; text-align: center; }
.how ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.how li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; }
.how li b { font-size: 17px; font-weight: 600; }
.how li b::before { content: counter(s) ". "; color: var(--icon); }
.how li span { color: var(--text-2); }
.faq { max-width: 760px; margin: 72px auto 0; }
.faq details { border-top: 1px solid var(--border); padding: 16px 4px; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-2); margin-top: 8px; }
.final-cta { margin: 80px auto 0; display: flex; flex-direction: column; gap: 22px; align-items: center; }

/* ---------- Formulário (claro, padrão da proposta) ---------- */
.view-form { background: var(--l-bg); color: var(--l-text); min-height: calc(100vh - 100px); padding: 56px 24px 96px; position: relative; overflow: clip; }
.view-form::before, .view-form::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.view-form::before { width: 520px; height: 520px; background: #dce7fb; top: -160px; right: -180px; }
.view-form::after { width: 420px; height: 420px; background: #fbddea; top: 120px; right: -280px; }
.wizard { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--l-border); border-left: 4px solid var(--l-blue); border-radius: 16px; padding: 36px 40px; box-shadow: 0 1px 2px rgba(22,22,26,.04); }
.wizard-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.wizard .eyebrow { color: var(--l-blue-text); }
.wizard-title { font-size: 22px; font-weight: 600; }
.wizard-sub { color: var(--l-text-2); }
.steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--l-text-3); }
.steps li.active { color: var(--l-blue-text); font-weight: 600; }
.steps li.done { color: var(--l-text-2); }
.steps-mobile { display: none; font-size: 14px; color: var(--l-text-2); }
.progress { height: 4px; background: var(--l-box); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--l-gradient); transition: width .3s; }
.step-title { font-size: 24px; font-weight: 600; margin-bottom: 6px; color: var(--l-text); }
.step-help { color: var(--l-text-2); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.field { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.field > legend, .field > label.q { display: block; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--l-text); margin-bottom: 10px; padding: 0; }
.field .hint { display: block; font-size: 14px; font-weight: 400; color: var(--l-text-3); margin: -4px 0 10px; }
.field input[type=text], .field input[type=email], .field input[type=number], .field input[type=month] {
  font: inherit; color: var(--l-text); background: #fff; border: 1px solid var(--l-border); border-radius: 10px; padding: 11px 12px; min-height: 48px; width: 100%; }
.field input:focus { outline: none; border-color: var(--l-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.field input::placeholder { color: #a5a5ae; }
.field input.outro { max-width: 360px; margin-top: 10px; display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.track-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: #eef3fe; color: var(--l-blue-text); margin-right: 6px; }

/* Um padrão de opção só: cartão com radio ou checkbox visível */
.opts { display: grid; gap: 8px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.opt { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--l-border); border-radius: 12px; background: #fff; color: var(--l-body); font-size: 16px; line-height: 1.4; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: #c9cdd6; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .mark { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid #b9bdc7; background: #fff; display: grid; place-items: center; }
.opt input[type=checkbox] + .mark { border-radius: 4px; }
.opt input[type=radio] + .mark { border-radius: 50%; }
.opt input:checked + .mark { border-color: var(--l-blue); background: var(--l-blue); }
.opt input[type=checkbox]:checked + .mark::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt input[type=radio]:checked + .mark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.opt:has(input:checked) { border-color: var(--l-blue); background: #f3f7ff; color: var(--l-text); }
.opt:has(input:focus-visible) { outline: 2px solid var(--l-blue); outline-offset: 2px; }
.opt .t { display: block; }
.opt .d { display: block; font-size: 14px; color: var(--l-text-3); margin-top: 2px; }
.q-audit { padding: 22px 0 4px; border-top: 1px solid var(--l-border); }
.q-audit.first { border-top: 0; padding-top: 0; }
.q-audit legend { display: flex; gap: 10px; }
.q-audit .q-num { color: var(--l-blue-text); min-width: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--l-text-2); margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--l-blue); }
.err { color: #dc2626; font-size: 15px; margin-top: 8px; min-height: 22px; }
.wizard-nav { display: flex; justify-content: space-between; position: sticky; bottom: 0; z-index: 5; margin: 28px -40px -36px; padding: 14px 40px; background: #fff; border-top: 1px solid var(--l-border); border-radius: 0 0 12px 12px; box-shadow: 0 -8px 16px -8px rgba(22,22,26,.08); }
.fill-demo { min-height: 34px !important; padding: 4px 12px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--l-text-3) !important; }

/* ---------- Relatório (claro, documento) ---------- */
.view-light { background: var(--l-bg); color: var(--l-text); padding: 32px 24px 96px; min-height: 100vh; }
.report { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--l-border); border-radius: 16px; padding: 56px 64px; }
.r-toolbar { position: sticky; top: var(--topbar-h, 69px); z-index: 8; max-width: 980px; margin: 0 auto 18px; padding: 10px 0; background: rgba(251,251,252,.94); backdrop-filter: blur(6px); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.r-toolbar .back { color: var(--l-text-2); background: none; border: 0; cursor: pointer; font-size: 15px; }
.r-cover { padding-bottom: 36px; border-bottom: 1px solid var(--l-border); }
.r-cover .eyebrow, .r-section .eyebrow { color: var(--l-blue-text); font-size: 12px; }
.r-cover h1 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; margin: 12px 0 10px; max-width: 800px; letter-spacing: -0.01em; }
.r-cover .meta { color: var(--l-text-2); font-size: 15px; }
.underline { width: 200px; height: 6px; background: var(--l-gradient); border-radius: 3px; margin-top: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.kpi { padding: 0 24px; border-left: 1px solid var(--l-border); }
.kpi:first-child { padding-left: 0; border-left: 0; }
.kpi .k-num { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--l-text); }
.kpi .k-num small { font-size: 16px; font-weight: 400; color: var(--l-text-2); }
.kpi .k-label { font-size: 14px; color: var(--l-text-2); margin-top: 6px; }
.r-section { padding: 40px 0; border-bottom: 1px solid var(--l-border); }
.r-section.last { border-bottom: 0; }
.r-section h2 { font-size: 24px; font-weight: 600; margin: 8px 0 8px; max-width: 820px; }
.r-sub { color: var(--l-text-2); font-size: 16px; line-height: 1.7; max-width: 780px; }
.r-note { font-size: 13px; color: var(--l-text-3); margin-top: 20px; line-height: 1.6; }
.n-badge { font-size: 12px; color: var(--l-text-3); font-weight: 400; letter-spacing: 0; text-transform: none; margin-left: 8px; }

/* Maria: linha do tempo simples */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 11px; left: 12px; right: 33%; height: 2px; background: var(--l-border); }
.t-stop { padding-right: 24px; position: relative; }
.t-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--l-blue); margin-bottom: 14px; position: relative; z-index: 1; }
.t-stop h4 { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--l-text-3); }
.t-big { font-size: 28px; font-weight: 700; margin: 4px 0; }
.t-stop p { color: var(--l-text-2); font-size: 15px; }
.t-foot { margin-top: 26px; font-size: 16px; color: var(--l-body); line-height: 1.7; }
.t-foot b { font-weight: 600; }

/* Achados: lista simples, sem caixas */
.audit-grid { display: grid; grid-template-columns: 170px 1fr; gap: 40px; margin-top: 24px; align-items: start; }
.ring-wrap { text-align: center; }
.ring-wrap .ring-cap { font-size: 14px; color: var(--l-text-2); margin-top: 6px; }
.findings { list-style: none; padding: 0; margin: 0; }
.finding { padding: 14px 0; border-top: 1px solid var(--l-border); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.finding:first-child { border-top: 0; padding-top: 0; }
.f-title { font-size: 16px; color: var(--l-text); }
.f-status { align-self: start; font-size: 12.5px; font-weight: 600; white-space: nowrap; padding: 2px 10px; border-radius: 99px; background: #fdecf3; color: var(--l-rose); }
.f-status.parcial { background: #fdf3d7; color: var(--l-amber); }
.f-status.ok { background: #e3f6e9; color: #146c34; }
.f-norms { grid-column: 1 / -1; font-size: 14px; color: var(--l-text-3); line-height: 1.6; }
.passed { margin-top: 14px; font-size: 14px; color: var(--l-text-2); }

/* Custo */
.cost-total { font-size: 40px; font-weight: 700; margin-top: 18px; color: var(--l-text); }
.cost-total small { font-size: 16px; font-weight: 400; color: var(--l-text-2); }
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 16px; background: var(--l-box); max-width: 620px; }
.stack div { height: 100%; }
.legend { display: flex; gap: 18px; margin-top: 8px; font-size: 13px; color: var(--l-text-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.cost-list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cost-item { padding: 16px 0; border-top: 1px solid var(--l-border); }
.cost-item h4 { font-size: 15px; font-weight: 400; color: var(--l-text-2); }
.cost-item .c-val { font-size: 22px; font-weight: 700; margin: 2px 0 4px; }
.cost-item .c-formula { font-size: 13.5px; color: var(--l-text-3); line-height: 1.6; }
.premise { font-size: 12px; color: var(--l-amber); margin-left: 2px; }
.assume { margin-top: 24px; border-top: 1px dashed #c9ccd6; padding-top: 16px; }
.assume summary { cursor: pointer; color: var(--l-blue-text); font-size: 15px; }
.assume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.assume-grid label { font-size: 13px; color: var(--l-text-2); display: flex; flex-direction: column; gap: 6px; }
.assume-grid input { font: inherit; border: 1px solid var(--l-border); border-radius: 10px; padding: 8px 10px; }

/* Placar */
.score-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; }
.score-table th { text-align: left; font-weight: 600; padding: 10px 12px; font-size: 13px; color: var(--l-text-2); border-bottom: 1px solid #c9cdd6; }
.score-table td { padding: 13px 12px; border-bottom: 1px solid var(--l-border); vertical-align: middle; color: var(--l-body); }
.score-table td.today { font-weight: 700; white-space: nowrap; color: var(--l-text); }
.score-table input { width: 100%; min-width: 132px; font: inherit; border: 1px solid var(--l-border); border-radius: 8px; padding: 5px 8px; }
.score-table .how { color: var(--l-text-3); font-size: 13.5px; }
.locked { color: var(--l-text-3); font-size: 13px; }

/* Chamada final */
.r-cta { padding-top: 36px; border-top: 1px solid var(--l-border); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.r-cta h2 { font-size: 22px; font-weight: 600; }
.r-cta p { color: var(--l-text-2); margin-top: 8px; }
.r-cta .cta-actions { display: flex; flex-direction: column; gap: 10px; }

/* Benchmark */
.strip { margin-top: 12px; }
.strip-row { display: grid; grid-template-columns: 250px 1fr 150px; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--l-border); }
.strip-row:first-child { border-top: 0; }
.strip-label { font-size: 15px; color: var(--l-text); }
.strip-label span { display: block; font-size: 13px; color: var(--l-text-3); }
.strip-pos { text-align: right; font-size: 15px; font-weight: 600; }
.strip-pos.bad { color: var(--l-rose); }
.strip-pos.good { color: #146c34; }
.strip-pos small { display: block; font-weight: 400; font-size: 12.5px; color: var(--l-text-3); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.stat { padding: 0 20px; border-left: 1px solid var(--l-border); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .s-num { font-size: 34px; font-weight: 700; line-height: 1.1; }
.stat .s-label { font-size: 14px; color: var(--l-text-2); margin-top: 6px; }
.stat .s-you { font-size: 13px; color: var(--l-blue-text); margin-top: 10px; }
.next-list { list-style: none; padding: 0; margin: 20px 0 0; }
.next-list li { padding: 14px 0; border-top: 1px solid var(--l-border); }
.next-list li:first-child { border-top: 0; }
.next-list b { font-weight: 600; }
.next-list p { font-size: 15px; color: var(--l-text-2); margin-top: 4px; }
.countdown { margin-top: 16px; font-size: 15px; color: var(--l-text-2); }
.countdown b { color: var(--l-text); }
.share { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share code { background: var(--l-box); color: var(--l-blue-text); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.meter { height: 6px; background: var(--l-box); border-radius: 4px; overflow: hidden; width: 200px; }
.meter div { height: 100%; background: var(--l-gradient); }

@media screen and (max-width: 860px) {
  .hero2, .tracks, .how ol, .kpis, .cost-list, .stat-grid, .timeline, .r-cta, .assume-grid, .grid-2 { grid-template-columns: 1fr; }
  .kpi, .stat { padding: 12px 0; border-left: 0; border-top: 1px solid var(--l-border); }
  .kpi:first-child, .stat:first-child { border-top: 0; }
  .timeline::before { display: none; }
  .t-stop { margin-bottom: 20px; }
  .audit-grid { grid-template-columns: 1fr; gap: 16px; }
  .opts { grid-template-columns: 1fr !important; }
  .strip-row { grid-template-columns: 1fr; gap: 6px; }
  .strip-pos { text-align: left; }
  .wizard { padding: 24px 18px; }
  .wizard-nav { margin: 24px -18px -24px; padding: 12px 18px; }
  .r-toolbar { --topbar-h: 0px; }
  .report { padding: 28px 20px; }
  .view-dark { padding: 32px 16px 64px; }
  .view-form { padding: 24px 12px 56px; }
  .topbar { position: static; padding: 12px 16px; }
  .steps { display: none; }
  .steps-mobile { display: block; }
  .preview { height: 420px; margin-top: 12px; }
  .pv-card { width: 92%; }
  .pain { font-size: 18px; margin-top: 56px; }
}

/* PDF: imprime só o relatório */
@media print {
  .topbar, .r-toolbar, .r-cta, .assume, .site-footer, .no-print { display: none !important; }
  body, .view-light { background: #fff; }
  .view-light { padding: 0; }
  .report { border: 0; padding: 0; }
  .finding, .cost-item, .t-stop, .kpi, .score-table tr, .strip-row, .stat, .next-list li { break-inside: avoid; }
  .r-section h2, .r-section > .eyebrow { break-after: avoid; }
  .stack div, .legend i, .underline { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Premissa como tooltip (pedido do Rafa, 19/10): o valor aparece normal, com sublinhado pontilhado */
.prem { position: relative; border-bottom: 1px dotted #b08a2e; cursor: help; }
.prem:focus { outline: none; }
.prem .tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 260px; padding: 8px 10px; border-radius: 8px; background: #16161a; color: #fff; font-size: 13px; line-height: 1.45; font-weight: 400; visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 5; text-align: left; }
.prem:hover .tip, .prem:focus .tip { visibility: visible; opacity: 1; }
.prem-legend { font-size: 13px; color: var(--l-text-3); }
.prem-legend span { border-bottom: 1px dotted #b08a2e; }

.prem.ok-tip { border-bottom-color: #8fb3a0; color: var(--l-text-2); }
.prem .tip ul { margin: 0; padding-left: 16px; }
.prem .tip li { margin: 2px 0; }

/* Respiro (pedido do Rafa, 19/10): menos massa de texto, mais espaço entre itens */
.r-section { padding: 52px 0; }
.r-section h2 { margin-bottom: 10px; }
.finding { padding: 18px 0; gap: 8px 16px; }
.f-norms { font-size: 14px; }
.prem.ref { border-bottom-color: #b9bdc7; }
.cost-list { gap: 0 56px; }
.cost-item { padding: 20px 0; }
.timeline { margin-top: 32px; }
.t-big { margin: 6px 0 2px; }
.score-table td { padding: 16px 12px; }
.kpis { margin-top: 36px; }
.prem .tip .tip-li { display: block; padding-left: 12px; position: relative; margin: 2px 0; }
.prem .tip .tip-li::before { content: "•"; position: absolute; left: 0; }
.passed { margin-top: 18px; }

/* Pergunta que abre a partir de uma resposta: presa à pergunta de cima, não parece a próxima da lista */
.field.followup { margin: -12px 0 30px 14px; padding: 16px 18px 18px; border-left: 3px solid var(--l-blue); background: #f6f8fc; border-radius: 0 12px 12px 0; animation: abre .18s ease-out; }
.field.followup > legend { font-size: 16px; font-weight: 600; color: var(--l-text-2); float: left; width: 100%; margin-bottom: 10px; }
.field.followup > legend + * { clear: both; }
.field.followup .opts { --cols: 3; }
.field.followup .opt { min-height: 44px; padding: 10px 12px; }
@keyframes abre { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media screen and (max-width: 860px) { .field.followup { margin-left: 6px; } }

/* Aviso legal no fim do relatório (pedido do Rafa, 19/10). Sai também no PDF. */
.r-disclaimer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--l-border); font-size: 12.5px; line-height: 1.6; color: var(--l-text-3); }

/* Maria: impacto e risco por etapa */
.t-impact { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--l-body); }
.t-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 1px 8px; border-radius: 99px; margin-right: 6px; vertical-align: 1px; }
.t-tag.custo { background: #eef3fe; color: var(--l-blue-text); }
.t-tag.risco { background: #fdecf3; color: var(--l-rose); }
.t-foot { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--l-border); }
.t-foot b { font-weight: 600; color: var(--l-text); }
/* Títulos de seção maiores, para ler como seção (pedido do Rafa, 19/10) */
.r-section > .eyebrow { font-size: 16px; letter-spacing: 1.2px; font-weight: 700; color: var(--l-blue-text); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid #dbe5fb; display: inline-block; }
.r-section h2 { margin-top: 14px; }
.t-impact a { color: inherit; text-decoration: underline; text-decoration-color: #e7a6c4; text-underline-offset: 2px; }
.share code { user-select: all; }
.r-section h2.h2-case { font-size: 19px; font-weight: 600; color: var(--l-body); }
/* Resumo do ano da Maria: discreto, alinhado às colunas da linha do tempo (comentário do Rafa) */
.t-year { margin-top: 26px; padding-top: 14px; border-top: 1px dashed var(--l-border); }
.t-year-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--l-text-3); margin-bottom: 8px; }
.t-year-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.t-year-row p { font-size: 14px; color: var(--l-text-2); padding-right: 24px; line-height: 1.5; }
.t-year-row span { display: block; color: var(--l-text-3); font-size: 13px; }
@media screen and (max-width: 860px) { .t-year-row { grid-template-columns: 1fr; gap: 8px; } }
/* Tag leve "premissas" ao lado do valor, com a conta no tooltip (comentário do Rafa) */
.prem-tag { position: relative; display: inline-block; vertical-align: 4px; margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--l-amber); background: #fbf6e9; border: 1px solid #f0e2bd; border-radius: 99px; padding: 1px 8px; cursor: help; }
.prem-tag .tip { position: absolute; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: 300px; padding: 9px 11px; border-radius: 8px; background: #16161a; color: #fff; font-size: 13px; line-height: 1.5; font-weight: 400; visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 5; }
.prem-tag:hover .tip, .prem-tag:focus .tip { visibility: visible; opacity: 1; }
.prem-tag .tip-f { display: block; font-weight: 600; margin-bottom: 4px; }
.prem-tag .tip .tip-li { display: block; padding-left: 12px; position: relative; color: #d6d7dd; }
.prem-tag .tip .tip-li::before { content: "•"; position: absolute; left: 0; }
.prem-tag:focus { outline: 2px solid var(--l-blue); outline-offset: 2px; }
/* Premissas em tom gelo, sem amarelo (pedido do Rafa, 19/10) */
.prem-tag { color: #55607a; background: #f1f4f8; border-color: #dde3ec; }
.prem { border-bottom-color: #9aa6b8; }
.prem-legend span { border-bottom-color: #9aa6b8; }

/* PDF: conta escrita no lugar do tooltip, e página A4 */
.print-formula { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  .prem-tag .tip, .prem .tip { display: none !important; }
  .prem-tag { display: none !important; }
  .print-formula { display: block; font-size: 12px; font-weight: 400; color: #6f7181; margin-top: 2px; }
  .r-section { padding: 28px 0; }
  .report { max-width: none; }
}
/* Controles em três grupos */
.c-group { margin-bottom: 18px; }
.c-group-h { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--l-text-2); padding-bottom: 6px; border-bottom: 2px solid; margin-bottom: 4px; }
.c-group-h span { font-weight: 400; color: var(--l-text-3); margin-left: 4px; }
.g-nao .c-group-h { border-bottom-color: #f3c2d6; }
.g-par .c-group-h { border-bottom-color: #f1dfaa; }
.g-ok .c-group-h { border-bottom-color: #c3e4cf; }
.c-group .finding:first-child { padding-top: 12px; border-top: 0; }
.ring-cap .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.dot.nao { background: #d23c78; } .dot.par { background: #d9a21b; } .dot.ok { background: #3a9d63; }
.ring-cap { line-height: 1.8; }
.ring-cap span { display: inline-block; white-space: nowrap; margin: 0 6px; }
.prem.ref.count { font-weight: 700; color: var(--l-text); padding: 0 2px; }
.prem .tip .tip-li { display: block; padding-left: 12px; position: relative; margin: 2px 0; }
/* Mais respiro entre seções e entre colunas (pedido do Rafa, 19/10) */
.r-section { padding: 80px 0; }
.r-cover { padding-bottom: 56px; }
.r-section > .eyebrow { margin-bottom: 10px; }
.r-section h2 { margin: 18px 0 12px; }
.timeline { margin-top: 40px; column-gap: 32px; }
.t-stop { padding-right: 16px; }
.t-year { margin-top: 40px; padding-top: 20px; }
.t-year-row { column-gap: 32px; }
.c-group { margin-bottom: 32px; }
.cost-list { margin-top: 36px; }
@media print { .r-section { padding: 32px 0; } }
/* Linhas mais juntas dentro de cada grupo (pedido do Rafa, 19/10) */
.c-group .finding { padding: 10px 0; gap: 2px 16px; }
.c-group .finding:first-child { padding-top: 10px; }
.c-group .f-norms { font-size: 13.5px; }
/* Título de seção bem maior (pedido do Rafa, 19/10); a manchete abaixo desce um pouco para manter a hierarquia */
.r-section > .eyebrow { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--l-blue-text); padding-bottom: 12px; }
.r-section > .eyebrow .n-badge { font-size: 14px; }
.r-section h2 { font-size: 21px; }
.r-section h2.h2-case { font-size: 18px; }

/* ---------- Entrada no modelo do Radar da Nuvem ---------- */
.rl-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 9; max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 8px 8px 8px 18px; border: 1px solid var(--border); border-radius: 99px; background: rgba(31,33,41,.85); backdrop-filter: blur(8px); }
.rl-nav-brand { font-weight: 700; font-size: 14px; margin-right: auto; }
.rl-nav button { background: none; border: 0; color: var(--text-2); font-size: 14px; padding: 8px 12px; border-radius: 99px; cursor: pointer; }
.rl-nav button:hover { color: var(--text); }
.rl-nav .rl-nav-cta { background: var(--text); color: var(--bg); font-weight: 700; }
.rl-hero { max-width: 900px; margin: 72px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rl-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.rl-hero .lead { max-width: 720px; }
.rl-micro { font-size: 13px; color: var(--text-3); }
.rl-block { max-width: 1080px; margin: 110px auto 0; }
.rl-block > h2, .rl-founder h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; text-align: center; text-wrap: balance; }
.rl-sub { color: var(--text-2); text-align: center; max-width: 680px; margin: 12px auto 0; }
.rl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.rl-stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.rl-stat b { font-size: 40px; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.rl-stat span { color: var(--text); font-size: 16px; }
.rl-stat em { font-style: normal; color: var(--text-3); font-size: 12.5px; margin-top: auto; }
.rl-founder { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(44,197,255,.07), rgba(177,36,226,.09)); }
.rl-founder h2, .rl-founder .rl-sub { text-align: left; margin-left: 0; }
.rl-founder-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.rl-founder-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 2px solid var(--icon); }
.rl-founder-list b { font-weight: 700; }
.rl-founder-list span { color: var(--text-2); font-size: 15px; }
.rl-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.rl-persona { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.rl-persona h3 { font-size: 20px; font-weight: 600; }
.rl-persona ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.rl-get { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rl-get h2 { text-align: left; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; }
.rl-checks { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.rl-checks li { padding-left: 28px; position: relative; color: var(--text); }
.rl-checks li::before { content: "✓"; position: absolute; left: 0; color: #70ff9c; font-weight: 700; }
.rl-block.faq { max-width: 760px; }
.rl-block.faq h2 { margin-bottom: 24px; }
.final-cta { margin: 110px auto 0; text-align: center; max-width: 760px; }
.final-cta h2 { text-wrap: balance; }
.rl-sources { font-size: 12px; color: var(--text-3); margin-top: 8px; }
@media screen and (max-width: 860px) {
  .rl-stats, .rl-personas, .rl-founder, .rl-get { grid-template-columns: 1fr; }
  .rl-founder { padding: 28px 20px; gap: 24px; }
  .rl-nav { border-radius: 16px; position: static; }
  .rl-nav-brand { width: 100%; }
  .rl-block, .final-cta { margin-top: 72px; }
}
/* Bloco do passivo, estilo Apple (20/10): sem cartão, um número, uma frase, barra fina, duas linhas */
.em-jogo { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--l-border); }
.ej-label { font-size: 21px; font-weight: 700; color: var(--l-text); }
.ej-label::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #d23c78; margin-right: 10px; vertical-align: 2px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ej-total { font-size: 40px; font-weight: 700; letter-spacing: -.5px; color: var(--l-text); margin: 12px 0 6px; line-height: 1.15; }
.ej-lead { font-size: 16px; color: var(--l-body); line-height: 1.55; max-width: 620px; }
.ej-hoje { margin: 16px 0 0; padding: 10px 16px; border-left: 3px solid #d23c78; background: #fdf6f9; border-radius: 0 10px 10px 0; font-size: 16px; color: var(--l-text); max-width: 620px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ej-hoje b { font-weight: 700; }
.em-jogo .ej-bar { height: 10px; margin: 20px 0 14px; max-width: 620px; }
.ej-lines { max-width: 620px; }
.ej-lines p { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--l-text-2); padding: 4px 0; }
.ej-lines i { width: 8px; height: 8px; border-radius: 50%; flex: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ej-lines span { flex: 1; }
.ej-lines b { font-weight: 600; color: var(--l-text); }
.ej-how { margin-top: 16px; max-width: 620px; }
.ej-how summary { cursor: pointer; font-size: 14px; color: var(--l-text-2); list-style: none; }
.ej-how summary::-webkit-details-marker { display: none; }
.ej-how summary::after { content: " ⌄"; }
.ej-how[open] summary::after { content: " ⌃"; }
.ej-how p { font-size: 14px; color: var(--l-body); line-height: 1.6; margin-top: 10px; }
.ej-how b { font-weight: 600; color: var(--l-text); }
.ref-src { display: block; font-size: 12px; color: var(--l-text-3); margin-top: 2px; }
.ej-foot { font-size: 12.5px !important; color: var(--l-text-3) !important; }
@media screen and (max-width: 860px) { .ej-total { font-size: 32px; } }
@media print { .ej-how summary { display: none; } .ej-how::details-content { content-visibility: visible; display: block; } }
/* Pessoas que virariam apontamento (sugestão do André) */
.apont { margin: 18px 0 6px; padding: 14px 18px; border-left: 3px solid #d23c78; background: #fdf6f9; border-radius: 0 10px 10px 0; }
.apont-n { font-size: 17px; font-weight: 600; color: var(--l-text); }
.apont-chain { font-size: 14px; color: var(--l-text-2); margin-top: 4px; }
.save-status { font-size: 13px; color: var(--l-text-3); }
.resp-box { display: block; width: 100%; max-width: 980px; margin: 0 auto 18px; min-height: 160px; font: 13px/1.5 ui-monospace, monospace; border: 1px solid var(--l-border); border-radius: 10px; padding: 12px; color: var(--l-text); background: #fff; }
/* Tooltip da contagem de controles: largo o bastante para cada norma caber numa linha (comentário do Rafa) */
.prem.ref.count .tip { left: 0; transform: none; max-width: min(640px, 80vw); width: max-content; }
.prem.ref.count .tip .tip-li { white-space: nowrap; }
@media screen and (max-width: 860px) { .prem.ref.count .tip .tip-li { white-space: normal; } }
/* Tag "Risco" com tooltip (20/10) */
.risk-tip { position: relative; cursor: help; margin-left: 4px; margin-right: 0; }
.risk-tip .tip { position: absolute; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: 280px; padding: 8px 10px; border-radius: 8px; background: #16161a; color: #fff; font-size: 13px; line-height: 1.45; font-weight: 400; letter-spacing: 0; text-transform: none; visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 5; }
.risk-tip:hover .tip, .risk-tip:focus .tip { visibility: visible; opacity: 1; }
.risk-tip:focus { outline: 2px solid var(--l-rose); outline-offset: 2px; }
.print-risk { display: none; }
@media print { .risk-tip { display: none; } .print-risk { display: block; font-size: 12.5px; color: var(--l-rose); margin-top: 2px; } }
.cost-item h4 .t-tag { margin-left: 6px; vertical-align: 1px; }
.cost-item h4 .risk-tip { margin-left: 6px; }
/* Tag de premissas vira ícone "?" padrão: fundo branco, borda cinza (comentário do Rafa, 20/10) */
.prem-tag { width: 18px; height: 18px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid #c9cdd6; color: var(--l-text-2); font-size: 11.5px; font-weight: 700; line-height: 16px; text-align: center; vertical-align: 3px; }
.prem-tag:hover, .prem-tag:focus { border-color: #8d93a1; color: var(--l-text); }
.prem-tag .tip { text-align: left; }
.prem-tag .tip-h { display: block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #9a9ca8; margin-bottom: 4px; }
.ej-total .ej-pct { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--l-text-2); }
/* Coluna "Empresas parecidas": cadeado que leva ao benchmark (comentário do Rafa, 20/10) */
/* Feedback do André (21/10): o cadeado sozinho parecia coisa inacabada; agora diz como liberar */
.lock-cta { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid #c9cdd6; background: #fff; color: var(--l-text-2); font: inherit; font-size: 13px; line-height: 1.35; text-align: left; cursor: pointer; }
.lock-cta svg { flex: none; }
.lock-cta:hover, .lock-cta:focus-visible { border-color: var(--l-blue); color: var(--l-blue); outline: none; }
@media print { .lock-cta { border: none; padding: 0; } }
/* Escolha antes do benchmark (19/10) */
.escolha .wizard-title { margin-top: 6px; }
.esc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; align-items: start; }
.esc-card { border: 1px solid var(--l-border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: #fff; }
.esc-card.on { border-color: var(--l-blue); grid-column: span 1; }
.esc-card h3 { font-size: 18px; font-weight: 700; }
.esc-card p { font-size: 14.5px; color: var(--l-body); line-height: 1.55; }
.esc-card .btn { margin-top: 6px; }
.esc-k { font-size: 12px !important; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--l-text-3) !important; }
.esc-invite { width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.esc-invite .share { margin-top: 4px; width: 100%; }
.esc-invite code { font-size: 13px; }
.esc-msg-l { font-size: 13px !important; color: var(--l-text-2) !important; margin-top: 4px; }
.esc-msg { font-size: 13.5px !important; background: var(--l-box); border-radius: 10px; padding: 10px 12px; color: var(--l-text) !important; }
.esc-count { color: var(--l-text-2); font-size: 14px; }
.esc-back { margin-top: 22px; color: var(--l-text-2); background: none; border: 0; cursor: pointer; font-size: 15px; padding: 0; }
@media screen and (max-width: 860px) { .esc-cards { grid-template-columns: 1fr; } }
/* Escala de 0 a 10 numa linha só (comentário do Rafa, 20/10) */
.field.scale .opts { gap: 6px; }
.field.scale .opt { min-height: 42px; padding: 8px 0; justify-content: center; align-items: center; font-weight: 600; }
.field.scale .opt .mark { display: none; }
.field.scale .opt:last-child { grid-column: 1 / span 4; font-weight: 400; }
@media screen and (max-width: 860px) { .field.scale .opts { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } .field.scale .opt:last-child { grid-column: 1 / -1; } }
.r-exemplo { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #f1f4f8; border: 1px solid #dde3ec; color: #55607a; font-size: 14.5px; line-height: 1.55; max-width: 760px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.r-exemplo b { color: var(--l-text); }

/* Usabilidade (PR de ajustes, 20/10): pergunta obrigatória sem resposta fica marcada até ser respondida */
.field.missing > legend, .field.missing > .q { color: #b91c1c; }
.field.missing .opt, .field.missing > input { border-color: #f0a3a3; }
.field.missing::after, .check.missing::after { content: "Responda esta pergunta."; display: block; margin-top: 6px; font-size: 14px; color: #dc2626; }
.check.missing { flex-wrap: wrap; color: #b91c1c; }
.check.missing::after { flex-basis: 100%; margin-top: 0; }
/* Celular: o menu de seções ocupava a primeira tela inteira; o botão do topo já leva ao formulário */
@media screen and (max-width: 640px) { .rl-nav { display: none; } }
/* Celular: a tabela de indicadores rolava a página para o lado; agora rola só a tabela */
@media screen and (max-width: 640px) { .score-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .score-table input { min-width: 112px; } }
/* PDF (pedido do Rafa, 21/10): quebras de página sem buracos nem cabeçalho de tabela sozinho */
@media print {
  .report, .report * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.claro, .view-light { background: #fff !important; } .view-light { min-height: 0; }
  .audit-grid { display: flex; gap: 32px; }
  .audit-grid > .ring-wrap { flex: 0 0 170px; break-inside: avoid; }
  .audit-grid > :not(.ring-wrap) { flex: 1; min-width: 0; }
  .c-group-h { break-after: avoid; }
  .score-table thead { display: table-header-group; }
  .score-table { display: table; overflow: visible; }
  .r-section h2, .r-section .r-sub, .ej-label { break-after: avoid; }
  .ej-lines, .ej-hoje, .kpis, .legend { break-inside: avoid; }
  .kpi .k-num { white-space: nowrap; font-size: 30px; }
  /* o título da seção é inline-block na tela; em bloco, o navegador respeita o "não quebrar depois" */
  .r-section > .eyebrow { display: block; width: fit-content; break-after: avoid; }
  .r-section > h2 + .r-sub, .r-section > h2 + p, .ej-foot { break-before: avoid; }
}
/* Iframe de reserva do GTM (sem JavaScript) */
.gtm-noscript-frame { display: none; visibility: hidden; }
/* Feedback do André (21/10): fontes com link, para a pessoa conferir */
.rl-stat em a, .rl-sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Quadro de privacidade no passo do e-mail (feedback do André, 21/10) */
.privacy-box { margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--l-border); border-radius: 10px; background: var(--l-box); font-size: 14px; color: var(--l-text-2); line-height: 1.55; }
.privacy-box .pb-h { margin: 0 0 6px; font-weight: 600; color: var(--l-text); }
.privacy-box ul { margin: 0; padding-left: 18px; }
.privacy-box li { margin: 2px 0; }
.privacy-box .pb-link { margin: 8px 0 0; }
.privacy-box a { color: var(--l-blue-text); text-decoration: underline; text-underline-offset: 2px; }
/* Página mais larga e responsiva (pedido do Rafa, 21/10): relatório e formulário usam mais da tela no computador
   e o respiro interno encolhe com a largura; o texto corrido mantém a medida de leitura */
.report, .r-toolbar, .resp-box { max-width: 1160px; }
.wizard { max-width: 900px; }
.report { padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 72px); }
.view-light { padding-left: max(16px, env(safe-area-inset-left, 0px), 2vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 2vw); }
.view-form { padding-left: max(12px, env(safe-area-inset-left, 0px), 2vw); padding-right: max(12px, env(safe-area-inset-right, 0px), 2vw); }
.r-cover h1, .r-section h2 { max-width: 900px; }
.ej-lead, .em-jogo .ej-bar, .ej-lines, .ej-how, .stack { max-width: 720px; }
.ref-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* "Como calculamos" em lista, com a informação acessória num tooltip (comentário do Rafa, 21/10) */
.ej-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--l-body); line-height: 1.55; }
.ej-list b { font-weight: 600; color: var(--l-text); }
.info-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 4px; border: 1px solid #c4c8d1; border-radius: 50%; font-size: 11px; font-style: italic; font-weight: 600; line-height: 1; color: var(--l-text-3); cursor: help; vertical-align: 1px; }
.info-tip:hover, .info-tip:focus-visible { border-color: var(--l-blue); color: var(--l-blue); outline: none; }
.info-tip .tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 300px; padding: 8px 10px; border-radius: 8px; background: #16161a; color: #fff; font-size: 13px; font-style: normal; font-weight: 400; line-height: 1.45; text-align: left; visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 40; }
.info-tip .tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* ponte para o mouse chegar ao link */
.info-tip:hover .tip, .info-tip:focus .tip, .info-tip:focus-within .tip { visibility: visible; opacity: 1; }
.info-tip .tip .tip-li { display: block; margin: 2px 0; }
.info-tip .tip a { color: #9ec1ff; text-decoration: underline; text-underline-offset: 2px; }
@media screen and (max-width: 640px) { .info-tip .tip { left: auto; right: -8px; transform: none; max-width: min(300px, 80vw); } }
/* No PDF não há mouse: o texto do tooltip aparece embaixo do item, com as fontes */
@media print {
  .info-tip { display: block; width: auto; height: auto; margin: 2px 0 0; border: 0; font-size: 12px; font-style: normal; font-weight: 400; color: var(--l-text-3); }
  .info-tip .tip { position: static; display: block !important; transform: none; visibility: visible; opacity: 1; width: auto; max-width: none; padding: 0; background: none; color: inherit; font-size: 12px; }
  .info-tip .tip a { color: inherit; }
  .info-tip { font-size: 0; } .info-tip .tip { font-size: 12px; }
  /* o respiro da tela não vale no papel: a margem do A4 já faz esse papel */
  .report { padding: 0; }
  .view-light { padding-left: 0; padding-right: 0; }
}
