/* Wolf Business Advisory — painel HS 310210. Fonte: Inter (arquivos locais em fonts/). */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
  --navy: #080d1a;
  --gold: #c9a84c;
  --goldt: #8a6f24;
  --blue: #0f2a44;
  --ink2: #0f2a44;
  --ink2t: #0f2a44;
  --bg: #f1f3f7;
  --card: #fff;
  --txt: #374151;
  --head: #080d1a;
  --axis: #6b7280;
  --grid: #e5e7eb;
  --line: #d1d5db;
  --ok: #047857;
  --err: #b91c1c;
  --chip: #f8fafc;
}
:root:not([data-theme="light"]) .x {
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05080f;
    --card: #0d1526;
    --txt: #c8d1de;
    --head: #f3f5f9;
    --axis: #8f9bb0;
    --grid: #1e2a3d;
    --line: #22304a;
    --ink2: #7da6d9;
    --ink2t: #9dbde8;
    --goldt: #d9bb69;
    --ok: #34d399;
    --err: #f87171;
    --chip: #111c30;
  }
}
:root[data-theme="dark"] {
  --bg: #05080f;
  --card: #0d1526;
  --txt: #c8d1de;
  --head: #f3f5f9;
  --axis: #8f9bb0;
  --grid: #1e2a3d;
  --line: #22304a;
  --ink2: #7da6d9;
  --ink2t: #9dbde8;
  --goldt: #d9bb69;
  --ok: #34d399;
  --err: #f87171;
  --chip: #111c30;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  scroll-padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  color: var(--head);
  letter-spacing: -0.012em;
}

header.top {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-top: env(safe-area-inset-top, 0px);
}
.top .in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 38px;
}
.wm {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wm b {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.wm i {
  font-style: normal;
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 4px;
}
.top .ctx {
  font-size: 12.5px;
  color: #aab4c5;
  text-align: right;
}
.top .ctx b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  background: linear-gradient(160deg, #0f2a44 0%, #080d1a 72%);
  color: #fff;
  padding: 34px 0 30px;
}
.hero .in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  max-width: 20ch;
}
.hero p {
  color: #c5cfdd;
  margin-top: 12px;
  max-width: 62ch;
  font-size: 16px;
}
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}
.strip div {
  background: #0a1526;
  padding: 14px 18px;
}
.strip .v {
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.strip .v small {
  font-size: 13px;
  font-weight: 600;
  color: #9fb0c6;
  margin-left: 4px;
}
.strip .l {
  font-size: 12.5px;
  color: #9fb0c6;
  margin-top: 3px;
  line-height: 1.4;
}

section {
  margin-top: 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
}
.card h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}
.card .sub {
  font-size: 13.5px;
  color: var(--axis);
  margin-bottom: 18px;
}
.chart {
  width: 100%;
  overflow-x: auto;
}
.chart svg {
  width: 100%;
  min-width: 640px;
  height: auto;
  display: block;
}
.tbl table {
  min-width: 520px;
}
td b {
  white-space: normal;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.grid2 > .card {
  min-width: 0;
}
@media (max-width: 900px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .top .ctx {
    text-align: left;
    width: 100%;
  }
  .top .in {
    padding: 14px 20px;
    gap: 10px;
  }
  .hero {
    padding: 26px 0 24px;
  }
  .card {
    padding: 18px 16px;
  }
  .wrap {
    padding: 0 14px 44px;
  }
  .hero .in {
    padding: 0 14px;
  }
  .top .in {
    max-width: none;
  }
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}
th {
  font-size: 12px;
  font-weight: 600;
  color: var(--axis);
  text-align: right;
  padding: 8px 12px;
  border-bottom: 2px solid var(--head);
}
th:first-child {
  text-align: left;
}
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td.num {
  text-align: right;
  font-weight: 600;
  color: var(--head);
  white-space: nowrap;
}
td b {
  display: block;
  color: var(--head);
  font-weight: 600;
}
td span {
  display: block;
  font-size: 12.5px;
  color: var(--axis);
  margin-top: 2px;
}
tr.new td {
  background: var(--chip);
}
tr.new td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}
tr.old td:first-child {
  box-shadow: inset 3px 0 0 var(--line);
}
tr.ref td:first-child {
  box-shadow: inset 3px 0 0 var(--ink2);
}

ul.ln {
  list-style: none;
}
ul.ln li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
}
ul.ln li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}
ul.ln li b {
  color: var(--head);
}
h3.sec {
  font-size: 14px;
  font-weight: 700;
  margin: 18px 0 8px;
}
h3.sec:first-child {
  margin-top: 0;
}

.swot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 760px) {
  .swot {
    grid-template-columns: 1fr;
  }
}
.q {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--card);
}
.q h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--head);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.q h4 em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  padding: 2px 7px;
}
.q.s h4 em {
  background: var(--blue);
}
.q.w h4 em {
  background: #7a2d2d;
}
.q.o h4 em {
  background: #1f5f4a;
}
.q.t h4 em {
  background: #8a6f24;
}
.q ul {
  list-style: none;
  font-size: 14px;
}
.q li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}
.q li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 2px;
  background: var(--gold);
}

.guara {
  background: var(--blue);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.guara .av {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  border: 2px solid var(--gold);
}
.guara .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guara h4 {
  color: var(--gold);
  font-size: 13.5px;
  margin-bottom: 3px;
}
.guara p {
  color: #dfe7f1;
  font-size: 14px;
  line-height: 1.5;
}

footer.foot {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--axis);
}
footer.foot b {
  color: var(--head);
}
.up {
  color: var(--ok);
  font-weight: 600;
}
.dn {
  color: var(--err);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
