/* home-styles.css — componentes específicos da Home institucional.
   Usa os tokens e componentes compartilhados de pq-styles.css. */

/* ---- HERO ---- */
.home-hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 130px var(--gutter) 90px; max-width: var(--maxw); margin: 0 auto; overflow: hidden;
}
.hero-mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(620px, 52vw); opacity: 0.06; pointer-events: none; filter: grayscale(1);
}
.home-hero .tag {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
}
.home-hero .tag::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .7; }
.home-hero h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.015em; max-width: 16ch;
}
.home-hero h1 .g { color: var(--accent); }
.home-hero .sub {
  font-size: clamp(17px, 1.9vw, 22px); color: var(--dim); max-width: 52ch; margin-top: 30px; line-height: 1.5;
}
.home-hero .contact {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em;
}
.home-hero .contact .pill {
  border: 1px solid var(--line-2); border-radius: 2px; padding: 9px 14px; color: var(--dim);
}
@media (max-width: 760px){ .hero-mark { opacity: 0.05; right: -20%; } }

/* ---- QUEM SOMOS ---- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.story .lead-para { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px,2.4vw,28px);
  line-height: 1.3; letter-spacing: -0.01em; text-transform: none; }
.story .lead-para .g { color: var(--accent); }
.story .body p { color: var(--dim); font-size: 16.5px; }
.story .body p + p { margin-top: 1.1em; }
@media (max-width: 860px){ .story { grid-template-columns: 1fr; gap: 28px; } }

.quote {
  margin: 0; padding: clamp(48px,7vw,90px) 0; text-align: center; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quote q { font-family: var(--font-display); font-weight: 700; text-transform: none;
  font-size: clamp(24px,3.4vw,42px); line-height: 1.25; letter-spacing: -0.015em; quotes: "“" "”"; max-width: 24ch; display: inline-block; }
.quote .g { color: var(--accent); }
.quote .qby { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 30px; }

/* ---- VALORES (6) ---- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.vcard { background: var(--bg); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px;
  transition: background .3s; min-height: 200px; }
.vcard:hover { background: var(--bg-1); }
.vcard .vn { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.vcard h3 { font-size: 21px; text-transform: none; line-height: 1.15; }
.vcard p { font-size: 15px; color: var(--dim); margin: 0; }
@media (max-width: 860px){ .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .values { grid-template-columns: 1fr; } }

/* ---- EQUIPE ---- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tcard { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-1); padding: 38px 36px;
  display: flex; flex-direction: column; gap: 18px; }
.tcard .thead { display: flex; align-items: center; gap: 20px; }
.tcard .mono-avatar {
  width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent);
  border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); letter-spacing: 0.02em;
}
.tcard .tname { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: none; line-height: 1.1; }
.tcard .trole { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; margin-top: 7px; }
.tcard .tbio { color: var(--dim); font-size: 15.5px; margin: 0; }
@media (max-width: 760px){ .team { grid-template-columns: 1fr; } }

/* ---- Ícones nos valores ---- */
.vcard .ico { width: 32px; height: 32px; color: var(--accent); }
.vcard .ico svg { width: 100%; height: 100%; }
.vcard .vn { position: absolute; top: 18px; right: 22px; }
.vcard { position: relative; }

/* ---- Time com fotos (override) ---- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tcard { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); padding: 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 0; }
.tphoto { display: block; width: 156px; height: 156px; border-radius: 50%; object-fit: cover; object-position: center top; margin: 34px auto 4px; border: 2px solid var(--line-2); background: var(--bg-2); }
.tinfo { padding: 16px 30px 34px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.tcard .tname { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: none; line-height: 1.1; }
.tcard .trole { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; }
.tcard .tbio { color: var(--dim); font-size: 15px; margin: 12px 0 0; line-height: 1.6; max-width: 42ch; }
/* time com nº ímpar de cards: centraliza o card órfão na última linha */
.team .tcard:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 12px); margin-inline: auto; }
@media (max-width: 760px){ .team { grid-template-columns: 1fr; } .tphoto { width: 200px; height: 200px; }
  .team .tcard:last-child:nth-child(odd) { max-width: none; } }

/* ---- Parcerias ---- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); padding: 32px 34px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s; }
.pcard:hover { border-color: var(--line-2); }
.pcard .pname { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text); }
.pcard .ptag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pcard p { color: var(--dim); font-size: 15px; line-height: 1.6; margin: 4px 0 0; }
.pcard .plink { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-decoration: none; padding-top: 12px; }
.pcard .plink:hover { text-decoration: underline; }
.partners-eco { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.partners-eco .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.eco-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.eco-chips .chip { font-family: var(--font-mono); font-size: 13px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 2px; padding: 9px 16px; }
@media (max-width: 760px){ .partners { grid-template-columns: 1fr; } }

/* ---- Serviços ---- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.scard { background: var(--bg); padding: 38px 36px; display: flex; flex-direction: column; gap: 14px; transition: background .3s; }
.scard:hover { background: var(--bg-1); }
.scard .ico { width: 38px; height: 38px; color: var(--accent); }
.scard .ico svg { width: 100%; height: 100%; }
.scard h3 { font-size: 21px; text-transform: none; line-height: 1.2; }
.scard .stag { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.02em; line-height: 1.5; }
.scard .slist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 9px; }
.scard .slist li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--dim); line-height: 1.5; }
.scard .slist li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 820px){ .services { grid-template-columns: 1fr; } }

/* ---- Referências numeradas de fontes ---- */
sup.ref { font-family: var(--font-mono); font-size: 0.62em; font-weight: 500; color: var(--accent);
  vertical-align: super; line-height: 0; margin-left: 2px; letter-spacing: 0; }
.ref-list { list-style: none; counter-reset: refn; padding: 0; margin: 4px 0 14px; max-width: 100%; }
.ref-list li { counter-increment: refn; position: relative; padding-left: 20px; margin: 0 0 3px;
  font-family: var(--font-mono); font-size: 10px; line-height: 1.6; color: var(--faint); opacity: 0.9; letter-spacing: 0.01em; }
.ref-list li::before { content: counter(refn); position: absolute; left: 0; top: 0; color: var(--accent); font-size: 9px; }
.ref-details { margin: 4px 0 14px; }
.ref-details summary { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); opacity: 0.5; cursor: pointer; list-style: none; padding: 2px 0; transition: opacity .2s; }
.ref-details summary::-webkit-details-marker { display: none; }
.ref-details summary::before { content: "› "; }
.ref-details[open] summary::before { content: "⌄ "; }
.ref-details summary:hover { opacity: 0.9; }
.ref-details .ref-list { margin-top: 8px; }
.ref-list .rhead { font-family: var(--font-mono); font-size: 10px; color: var(--dim); letter-spacing: 0.08em;
  text-transform: uppercase; list-style: none; padding-left: 0; margin-bottom: 6px; counter-increment: none; }
.ref-list .rhead::before { content: ""; }

/* ---- Loop PDCA iterativo (diagrama circular) ---- */
.pdca { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 22px; margin-top: 68px; padding-top: 12px; }
.pdca-ring { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
.pdca-track { position: absolute; inset: 13%; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 50%; animation: pdcaspin 48s linear infinite; }
@keyframes pdcaspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pdca-track { animation: none; } }
.pdca-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 16%, var(--bg-1)), var(--bg));
  border: 1px solid var(--line-2); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.pdca-hub b { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px,3.2vw,22px); letter-spacing: 0.04em; color: var(--text); }
.pdca-hub span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.pdca-node { position: absolute; transform: translate(-50%,-50%); width: 28%; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.pdca-node .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent-ink);
  background: linear-gradient(150deg, var(--accent-2), var(--accent)); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.pdca-node .nl { font-family: var(--font-mono); font-size: 11.5px; color: var(--text); letter-spacing: 0.02em; line-height: 1.2; }
.pdca-node .ns { font-family: var(--font-mono); font-size: 9.5px; color: var(--faint); letter-spacing: 0.02em; }
.pdca-arrow { position: absolute; width: 11px; height: 11px; transform: translate(-50%,-50%) rotate(var(--rot)); color: var(--accent); }
.pdca-arrow svg { width: 100%; height: 100%; display: block; }
.pdca-cap { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.02em; text-align: center; max-width: 52ch; line-height: 1.6; }
.pdca-cap b { color: var(--accent); font-weight: 500; }
@media (max-width: 540px){
  .pdca-node .nl { font-size: 10px; } .pdca-node .ns { display: none; }
  .pdca-node .dot { width: 38px; height: 38px; font-size: 12px; }
}

/* ---- Fórmula clicável + visualizador de cálculo (item 11) ---- */
.aqrc .scn .sl b { white-space: nowrap; flex-shrink: 0; }
.aqrc .kpi .kv { white-space: nowrap; }
.aqrc .scn .sl { gap: 14px; }
.formula.calc-trigger { cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 100%; transition: border-color .2s, box-shadow .2s; }
.formula.calc-trigger .eq { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
.formula.calc-trigger .ct-tag { flex-shrink: 0; align-self: center; }
.formula.calc-trigger:hover { border-color: var(--accent); box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.formula.calc-trigger .ct-tag { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 2px; padding: 3px 7px; }
.calc-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px;
  background: color-mix(in srgb, #02060e 78%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.calc-modal.open { display: flex; animation: fade .3s ease; }
.calc-box { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 12px; width: min(900px, 96vw); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.calc-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.calc-hd .ct { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.calc-hd h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: none; margin-top: 4px; }
.calc-close { appearance: none; background: transparent; border: 1px solid var(--line-2); color: var(--dim); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; transition: all .2s; flex-shrink: 0; }
.calc-close:hover { color: var(--text); border-color: var(--accent); }
.calc-body { padding: 0; overflow-y: auto; }
.calc-step { display: none; padding: 26px; }
.calc-step.active { display: block; animation: fade .35s ease; }
.calc-step .fig { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: block; }
.calc-step .figx { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); display: block; padding: 18px 18px 10px; }
.calc-step .figx svg { width: 100%; height: auto; display: block; }
.figx svg text { font-family: var(--font-mono); fill: var(--faint); }
.figx .l-text { stroke: var(--text); fill: none; stroke-width: 2.5; }
.figx .l-acc { stroke: var(--accent); fill: none; stroke-width: 2.5; }
.figx .l-gold { stroke: var(--gold); fill: none; stroke-width: 2.5; }
.figx .l-red { stroke: var(--danger); fill: none; stroke-width: 2.5; stroke-dasharray: 5 4; }
.figx .l-ok { stroke: var(--ok); fill: none; stroke-width: 2.5; }
.figx .ax { stroke: var(--line-2); stroke-width: 1; }
.figx .qd { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.figx .qd-t { fill: var(--gold); }
.figx .cx-ttl { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text); margin: 0 0 2px; padding: 0 4px; }
.figx .cx-sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin: 0 0 10px; padding: 0 4px; letter-spacing: 0.02em; }
.figx .cx-leg { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 8px 4px 4px; }
.figx .cx-leg .it { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--dim); }
.figx .cx-leg .ln { width: 16px; height: 2px; border-radius: 2px; }
.figx .cx-kpis { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 12px; }
.figx .cx-kpis .k { background: var(--bg-1); padding: 12px 8px; text-align: center; }
.figx .cx-kpis .kv { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.figx .cx-kpis .kv.r { color: var(--danger); } .figx .cx-kpis .kv.a { color: var(--accent); } .figx .cx-kpis .kv.g { color: var(--ok); }
.figx .cx-kpis .kl { font-family: var(--font-mono); font-size: 8px; color: var(--faint); margin-top: 4px; letter-spacing: 0.04em; line-height: 1.3; text-transform: uppercase; }
@media (max-width: 600px){ .figx .cx-kpis { grid-template-columns: 1fr 1fr; } .figx .cx-kpis .k:last-child { grid-column: 1 / -1; } }

/* heatmap */
.cx-heat { display: grid; grid-template-columns: 54px repeat(8, 1fr); gap: 3px; padding: 4px; }
.cx-heat .hy { font-family: var(--font-mono); font-size: 9px; color: var(--faint); display: grid; place-items: center; text-align: right; }
.cx-heat .hc { aspect-ratio: 1.6; border-radius: 3px; }
.cx-heat .hx { font-family: var(--font-mono); font-size: 8.5px; color: var(--faint); text-align: center; }
.cx-heat .hc.peak { box-shadow: inset 0 0 0 2px var(--text); position: relative; }
.cx-heat .hc.peak::after { content: "●"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); font-size: 9px; }
.cx-qday { font-family: var(--font-mono); font-size: 9.5px; color: var(--gold); margin-top: 8px; text-align: center; }
.figx .rib { fill: none; stroke: var(--line-2); stroke-width: 1; }
.calc-step .cap { margin-top: 18px; }
.calc-step .cap .cn { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.calc-step .cap h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: none; margin: 8px 0 8px; }
.calc-step .cap p { color: var(--dim); font-size: 14.5px; line-height: 1.6; margin: 0; }
.calc-step .cap p b { color: var(--text); font-weight: 600; }
.calc-ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line); }
.calc-dots { display: flex; gap: 8px; }
.calc-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.calc-dots button.on { background: var(--accent); transform: scale(1.25); }
.calc-nav { display: flex; gap: 10px; }
.calc-nav button { appearance: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; padding: 10px 18px; border-radius: 3px; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: all .2s; }
.calc-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.calc-nav button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.calc-nav button:disabled { opacity: .4; cursor: default; }
@media (max-width: 600px){ .calc-ft { flex-direction: column-reverse; gap: 14px; align-items: stretch; } .calc-nav { justify-content: space-between; } }

/* ---- ROI interativo (cálculo ao clicar) ---- */
.roicard { cursor: pointer; position: relative; }
.roicard .roi-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); opacity: 0.85; }
.roicard .roi-hint svg { width: 11px; height: 11px; transition: transform .25s; }
.roicard[aria-expanded="true"] .roi-hint svg { transform: rotate(180deg); }
.roicard[aria-expanded="true"] { background: var(--bg-1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.roi-detail { margin-top: 1px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; background: var(--bg-1); overflow: hidden; }
.roi-calc { display: none; padding: 30px 32px; }
.roi-calc.active { display: block; animation: fade .35s ease; }
.roi-calc .rc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.roi-calc .rc-scn { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); }
.roi-calc .rc-formula { font-family: var(--font-mono); font-size: 12px; color: var(--accent); border: 1px solid var(--line-2); border-radius: 3px; padding: 8px 12px; }
.roi-calc .rc-sub { font-family: var(--font-mono); font-size: 11px; color: var(--faint); line-height: 1.7; margin: 14px 0 4px; letter-spacing: 0.01em; }
.roi-calc .rc-sub b { color: var(--dim); font-weight: 500; }
.roi-calc .rc-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.roi-calc .rc-rows li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--dim); }
.roi-calc .rc-rows li span { line-height: 1.4; }
.roi-calc .rc-rows li b { font-family: var(--font-mono); color: var(--text); white-space: nowrap; }
.roi-calc .rc-rows li.rc-net b { color: var(--accent-2); }
.roi-calc .rc-rows li.rc-total { border-top: 1.5px solid var(--line-2); margin-top: 2px; }
.roi-calc .rc-rows li.rc-total span { color: var(--text); font-weight: 600; }
.roi-calc .rc-rows li.rc-total b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.roi-calc .rc-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin: 16px 0 0; line-height: 1.6; letter-spacing: 0.01em; }
@media (max-width: 760px){ .roi-calc { padding: 24px; } }

/* ---- Nota de abrangência geográfica (mercado) ---- */
.market-geo { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.02em; margin: 18px 0 0; line-height: 1.6; }
.market-geo b { color: var(--accent); font-weight: 500; }
.tcard .tbio a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.tcard .tbio a:hover { border-bottom-color: var(--accent); }

/* ---- "Como funciona": respiro antes do gráfico + texto dos passos ---- */
.stepper .step p { text-wrap: pretty; line-height: 1.5; }
.stepper { margin-bottom: 8px; }
.section .stepper + .pdca, .pdca { scroll-margin-top: 80px; }

/* ---- Exemplo de entregável: scorecard + matriz de riscos ---- */
.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
@media (max-width: 860px){ .deliv-grid { grid-template-columns: 1fr; } }
.score-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.score-cell { background: var(--bg); padding: 20px 22px; }
.score-cell .sv { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: var(--accent); }
.score-cell .sv.warn { color: var(--gold); }
.score-cell .slb { font-family: var(--font-mono); font-size: 11px; color: var(--dim); margin-top: 6px; line-height: 1.4; }
.score-cell .sbm { font-family: var(--font-mono); font-size: 10px; color: var(--faint); margin-top: 3px; }
.deliv-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.deliv-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 14.5px; color: var(--dim); line-height: 1.5; }
.deliv-list li .dk { color: var(--accent); font-family: var(--font-mono); }
/* risk matrix */
.rmatrix-wrap { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-1); padding: 24px; }
.rmatrix-hd { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.rmatrix { display: grid; grid-template-columns: 22px repeat(3, 1fr); grid-template-rows: repeat(3, 64px) 22px; gap: 6px; }
.rm-yaxis { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); display: grid; place-items: center; grid-row: 1 / span 3; }
.rm-cell { border-radius: 5px; position: relative; display: grid; place-items: center; }
.rm-lo { background: color-mix(in srgb, var(--accent) 7%, var(--bg-2)); }
.rm-md { background: color-mix(in srgb, var(--gold) 12%, var(--bg-2)); }
.rm-hi { background: color-mix(in srgb, var(--gold) 22%, var(--bg-2)); }
.rm-xlabel { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); text-align: center; align-self: center; }
.rm-dot { width: 100%; height: 100%; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; cursor: default; padding: 4px; text-align: center; line-height: 1.15; }
.rm-dot.crit { background: var(--danger); color: #2a0d06; }
.rm-dot.high { background: var(--accent); color: var(--accent-ink); }
.rm-dot.med { background: color-mix(in srgb, var(--gold) 80%, var(--bg)); color: #1a1206; }
.rmatrix-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.rmatrix-legend .it { display: flex; gap: 7px; align-items: center; }
.rmatrix-legend .sw { width: 11px; height: 11px; border-radius: 3px; }
.deliv-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-top: 14px; line-height: 1.6; }

/* ---- Rodapé do site ---- */
.foot-refs { font-family: var(--font-mono); font-size: 10px; line-height: 1.6; color: var(--faint);
  opacity: 0.85; letter-spacing: 0.01em; margin: 0 0 14px; max-width: 100%; }
.foot-refs b { color: var(--dim); font-weight: 500; }
.site-footer { border-top: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); padding-top: 66px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 56px; align-items: start; padding-bottom: 46px; }
.site-footer .foot-brand .flogo { height: 44px; display: block; margin: 0 0 20px; }
.site-footer .foot-brand p { color: var(--dim); font-size: 14px; max-width: 36ch; margin: 0 0 16px; line-height: 1.6; }
.site-footer .foot-brand .eco { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.1em; margin: 0; }
.site-footer .foot-col h4 { position: relative; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 20px; padding-bottom: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-footer .foot-col h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--accent); }
.site-footer .foot-col a, .site-footer .foot-col p { display: block; color: var(--dim); font-size: 14px; text-decoration: none; margin: 0 0 11px; line-height: 1.6; }
.site-footer .foot-col a { position: relative; padding-left: 16px; transition: color .2s, transform .2s; }
.site-footer .foot-col a::before { content: "\203A"; position: absolute; left: 0; color: var(--accent); opacity: 0.55; transition: opacity .2s; }
.site-footer .foot-col a:hover { color: var(--accent); transform: translateX(2px); }
.site-footer .foot-col a:hover::before { opacity: 1; }
.site-footer .copyright { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); margin-top: 0; padding-top: 26px; font-family: var(--font-mono); font-size: 11px;
  color: var(--faint); letter-spacing: 0.04em; }
@media (max-width: 760px){ .site-footer .foot-grid { grid-template-columns: 1fr; gap: 36px; } .site-footer .copyright { justify-content: flex-start; } }

/* ---- Página legal (Política de Privacidade) ---- */
.legal { max-width: 840px; }
.legal .meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.02em; margin: 0 0 8px; }
.legal .intro { color: var(--dim); font-size: 17px; line-height: 1.7; }
.legal .objetivo { border-left: 2px solid var(--gold); background: var(--bg-1); padding: 20px 24px; border-radius: 0 6px 6px 0; color: var(--text); font-size: 15.5px; margin: 28px 0; line-height: 1.6; }
.legal h3 { font-size: 21px; text-transform: none; margin: 44px 0 14px; display: flex; gap: 14px; align-items: baseline; line-height: 1.2; }
.legal h3 .ln { font-family: var(--font-mono); color: var(--accent); font-size: 15px; }
.legal p { color: var(--dim); font-size: 16px; line-height: 1.7; }
.legal ul { color: var(--dim); font-size: 16px; padding-left: 4px; list-style: none; }
.legal li { margin: 9px 0; padding-left: 22px; position: relative; line-height: 1.6; }
.legal li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .dpo { border: 1px solid var(--line-2); border-radius: 6px; padding: 24px 26px; margin-top: 16px; background: var(--bg-1); }
.legal .dpo b { color: var(--text); }
.footer-link { color: var(--accent) !important; }

/* ---- CTA final ---- */
.lets-talk { padding: clamp(90px,13vh,170px) 0; text-align: center; }
.lets-talk h2 { font-size: clamp(36px,6vw,76px); }
.lets-talk .sub { font-size: clamp(16px,1.9vw,21px); color: var(--dim); max-width: 50ch; margin: 24px auto 40px; text-transform: none; }
.lets-talk .contact { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lets-talk .contact a, .lets-talk .contact span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--dim);
  border: 1px solid var(--line-2); border-radius: 2px; padding: 12px 18px; transition: all .2s;
}
.lets-talk .contact a:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Transição institucional → guia ---- */
.trans{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.trans .globe-stage{margin:0 auto}
@media (max-width:860px){.trans{grid-template-columns:1fr;gap:24px}.trans .globe-stage{order:-1;max-width:280px}}
