/* style.css — SWFL Development Partners · v2 "instrumento de precisão"
 * Identidade traduzida de thewatch.60fps.fr (ver DESIGN.md + teardown/):
 * monocromático platina/preto, display grotesco colossal expandido, anotações
 * técnicas em mono, atos claro/escuro alternados, motivo radial de mostrador,
 * champanhe como fio de ouro. Consome apenas tokens.css.
 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 80% -10%, #F6F6F7 0%, transparent 60%),
    radial-gradient(90% 60% at 10% 110%, #E2E2E5 0%, transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

/* grão de metal escovado */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection { background: var(--gold-bright); color: var(--dark); }

a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.6rem); }

.display, .sec-body h3, .sec-body h4 { font-family: var(--font-display); }

/* pequenas anotações técnicas (o "Color / Silver Steel" da referência) */
.annot {
  font-family: var(--font-data); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted); line-height: 1.8;
}
.annot b, .annot strong { color: var(--ink); font-weight: 500; }
.annot::before { content: "+ "; color: var(--gold); }

/* ---------- letterhead / nav ---------- */
.letterhead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.letterhead .container {
  display: flex; align-items: center; gap: 1.2rem;
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.lh-brand {
  font-family: var(--font-display); font-weight: 800;
  font-stretch: 118%; letter-spacing: 0.01em;
  font-size: 1rem; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.lh-brand em { font-style: normal; color: var(--gold); }
.lh-nav { display: flex; gap: 0.9rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.lh-nav::-webkit-scrollbar { display: none; }
.lh-nav a {
  font-family: var(--font-data); font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-muted);
  white-space: nowrap; padding: 0.2rem 0;
}
.lh-nav a:hover { color: var(--ink); }
.lh-lang {
  font-family: var(--font-data); font-size: 0.64rem; letter-spacing: 0.12em;
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: 0.26rem 0.7rem; text-decoration: none; color: var(--ink-soft);
  white-space: nowrap;
}
.lh-lang:hover { border-color: var(--ink); }
.confidential {
  font-family: var(--font-data); font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  padding: 0.22rem 0.6rem; border-radius: 2px; white-space: nowrap;
}
@media (max-width: 760px) { .letterhead .confidential { display: none; } }

/* ---------- 2ª linha do header: seletor A/C + links das outras páginas ---------- */
.structure-bar {
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.7rem 1.4rem; flex-wrap: wrap;
  padding: 0.45rem clamp(1.1rem, 4vw, 2.6rem);
  max-width: var(--container); margin: 0 auto;
}
.sb-group { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.sb-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sb-tools .sb-l { margin-right: -0.2rem; }
.sb-tools a {
  font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--gold);
  white-space: nowrap;
}
.sb-tools a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .structure-bar { justify-content: center; } }
.structure-bar .sb-l {
  font-family: var(--font-data); font-size: 0.56rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-muted);
}
.structure-bar button {
  font-family: var(--font-data); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--hairline-strong); border-radius: 99px;
  padding: 0.38rem 1rem; transition: all 0.15s;
}
.structure-bar button:hover { border-color: var(--ink); }
.structure-bar button.active { background: var(--dark); border-color: var(--dark); color: var(--paper-ink); }
.structure-bar button.active::before { content: "● "; color: var(--gold-bright); font-size: 0.55rem; }

/* visões: só a estrutura escolhida aparece */
body.view-a .only-c { display: none !important; }
body.view-c .only-a { display: none !important; }

/* ---------- HERO — ato escuro com mostrador ---------- */
.hero {
  background:
    radial-gradient(60% 45% at 50% 42%, #1B1B1E 0%, transparent 70%),
    radial-gradient(120% 80% at 85% -20%, #202024 0%, transparent 55%),
    var(--dark);
  color: var(--paper-ink);
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(4rem, 8vh, 6rem);
}
.hero::before { /* partículas de prata (a poeira da referência), CSS puro */
  content: ""; position: absolute; inset: -20%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 30%, #6a6a70 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #55555b 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 22%, #4a4a50 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 74%, #6a6a70 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 76% 38%, #55555b 50%, transparent 51%),
    radial-gradient(1px 1px at 89% 62%, #45454b 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 82%, #45454b 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 14%, #55555b 50%, transparent 51%);
  background-size: 46% 43%, 41% 37%, 53% 47%, 37% 53%, 49% 41%, 43% 49%, 51% 39%, 39% 51%;
  opacity: 0.5;
  animation: drift 80s linear infinite;
}
@keyframes drift { to { transform: translate3d(2%, -3%, 0) rotate(0.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.hero .container { position: relative; }
.hero-top {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}
.hero .annot { color: var(--paper-ink-soft); }
.hero .annot b { color: var(--paper-ink); }

.hero-stage { position: relative; text-align: center; padding: clamp(1rem, 4vh, 3rem) 0; }
.dial {
  position: absolute; left: 50%; top: 50%;
  width: clamp(300px, 46vw, 620px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #2E2E33;
  pointer-events: none;
}
.dial::before { /* ticks do mostrador */
  content: ""; position: absolute; inset: -7%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      #3A3A40 0deg 0.5deg, transparent 0.5deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 92%, #000 92.5%);
          mask: radial-gradient(closest-side, transparent 92%, #000 92.5%);
  animation: dial-turn 240s linear infinite;
}
.dial::after { /* arco champanhe */
  content: ""; position: absolute; inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 300deg, var(--gold-bright) 0 14deg, transparent 14deg);
  -webkit-mask: radial-gradient(closest-side, transparent 97%, #000 97.5%);
          mask: radial-gradient(closest-side, transparent 97%, #000 97.5%);
  opacity: 0.9;
}
.dial-inner {
  position: absolute; inset: 16%;
  border-radius: 50%; border: 1px solid #232327;
}
@keyframes dial-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dial::before { animation: none; } }
@media (max-width: 640px) { .dial::after { display: none; } } /* arco não cruza o wordmark no mobile */

.hero h1 {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 125%;
  font-size: var(--step-hero);
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--paper-ink);
}
.hero h1 .thin { font-weight: 200; font-stretch: 105%; color: var(--paper-ink-soft); }
.hero-tag {
  position: relative; z-index: 2;
  font-family: var(--font-data); font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  letter-spacing: 0.55em; text-transform: uppercase;
  color: var(--gold-bright); margin: 1.4rem 0 0;
}
.hero-sub {
  position: relative; z-index: 2;
  font-family: var(--font-body); font-style: italic;
  font-size: var(--step-1); color: var(--paper-ink-soft);
  max-width: 46ch; margin: 1.6rem auto 0;
}
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(2rem, 6vh, 4rem);
}
.hero-kpis { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.hero-kpi { text-align: left; }
.hero-kpi .k {
  font-family: var(--font-data); font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--paper-ink); font-variant-numeric: tabular-nums; font-weight: 500;
}
.hero-kpi .l {
  display: block; font-family: var(--font-data); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-ink-soft);
  margin-top: 0.3rem;
}

/* stagger de entrada */
.hero [data-st] { opacity: 0; transform: translateY(16px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero [data-st="1"] { animation-delay: 0.05s; }
.hero [data-st="2"] { animation-delay: 0.16s; }
.hero [data-st="3"] { animation-delay: 0.3s; }
.hero [data-st="4"] { animation-delay: 0.44s; }
.hero [data-st="5"] { animation-delay: 0.58s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero [data-st] { animation: none; opacity: 1; transform: none; } }

/* ---------- seções (atos claros) ---------- */
.section { padding: var(--sp-5) 0 0; position: relative; }
.section > .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline);
}
.sec-side { position: relative; }
.sec-num {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink-faint);
  text-transform: uppercase;
}
.sec-num::after {
  content: ""; display: block; width: 2.4rem; height: 2px;
  background: var(--gold); margin-top: 0.9rem;
}
.sec-side h2 {
  font-family: var(--font-data); font-weight: 500;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-muted); margin: 1rem 0 0; line-height: 1.8;
}
@media (min-width: 900px) { .sec-side .sticky { position: sticky; top: 5rem; } }
@media (max-width: 899px) {
  .section > .container { grid-template-columns: 1fr; gap: 1.1rem; }
  .sec-num { font-size: 2.4rem; display: inline-block; -webkit-text-stroke-width: 1px; }
  .sec-side h2 { display: inline-block; margin-left: 0.9rem; vertical-align: super; }
  .sec-num::after { display: none; }
}

.sec-body h3 {
  font-weight: 750; font-stretch: 115%;
  font-size: var(--step-2); line-height: 1.12;
  text-transform: uppercase; letter-spacing: 0.005em;
  color: var(--ink); margin: 0 0 1.2rem;
  max-width: 30ch;
}
.sec-body h4 {
  font-weight: 700; font-stretch: 112%; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--ink); margin: 2.6rem 0 0.7rem;
}
.sec-body h4::before { content: "— "; color: var(--gold); }
.sec-body p { max-width: var(--measure); margin: 0 0 1.1rem; }
.sec-body .lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.sec-body ul { max-width: var(--measure); padding-left: 1.1rem; }
.sec-body li { margin-bottom: 0.55rem; }
.sec-body li::marker { color: var(--gold); }
.footref { font-family: var(--font-data); font-size: 0.62em; color: var(--gold); text-decoration: none; vertical-align: super; }

.num {
  font-family: var(--font-data); font-variant-numeric: tabular-nums;
  font-size: 0.9em; color: var(--ink); font-weight: 500; white-space: nowrap;
}

/* ---------- tiles (spec sheet) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 1.8rem 0; }
.tiles.tiles-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tiles, .tiles.tiles-3 { grid-template-columns: repeat(2, 1fr); } }
.tile {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 0.9rem;
  position: relative;
}
.tile::before {
  content: "+"; position: absolute; top: 0.55rem; right: 0.7rem;
  font-family: var(--font-data); font-size: 0.7rem; color: var(--gold);
}
.tile .t-label {
  font-family: var(--font-data); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted); display: block;
  margin-bottom: 0.55rem; line-height: 1.6; padding-right: 1rem;
}
.tile .t-value {
  font-family: var(--font-data); font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.tile .t-sub { font-family: var(--font-data); font-size: 0.62rem; color: var(--ink-muted); display: block; margin-top: 0.45rem; }
.tile.tile-hi { background: var(--dark); border-color: var(--dark); }
.tile.tile-hi::before { color: var(--gold-bright); }
.tile.tile-hi .t-label { color: var(--paper-ink-soft); }
.tile.tile-hi .t-value { color: var(--paper-ink); }
.tile.tile-hi .t-sub { color: var(--paper-ink-soft); }

/* ---------- insights de mercado ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.8rem 0; }
@media (max-width: 900px) { .insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .insights { grid-template-columns: 1fr; } }
.insight {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.1rem 1.2rem 1rem;
}
.insight .i-num {
  font-family: var(--font-display); font-weight: 800; font-stretch: 120%;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.insight .i-num small { font-size: 0.55em; font-weight: 600; color: var(--gold); }
.insight .i-cap {
  font-family: var(--font-data); font-size: 0.66rem; color: var(--ink-soft);
  display: block; margin-top: 0.5rem; line-height: 1.65;
}
.insight .i-cap a { color: var(--ink-muted); }

/* ---------- gráficos ---------- */
.figure {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem 1rem;
  margin: 1.6rem 0;
}
.fig-title {
  font-family: var(--font-data); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.fig-title .fig-n { color: var(--gold); }
.chart { position: relative; }
.chart svg { display: block; }
.axis-label { font-family: var(--font-data); font-size: 10.5px; fill: var(--ink-muted); }
.series-label { font-family: var(--font-data); font-size: 11px; font-weight: 500; }
.marker-label { font-family: var(--font-data); font-size: 10.5px; fill: var(--ink); font-weight: 500; }
.value-label { font-family: var(--font-data); font-size: 10px; fill: var(--ink-soft); }
.chart-tip {
  position: absolute; top: 0; left: 0; z-index: 5;
  pointer-events: none; opacity: 0; transition: opacity 0.12s;
  background: var(--dark); color: var(--paper-ink);
  font-family: var(--font-data); font-size: 0.72rem; line-height: 1.5;
  padding: 0.5rem 0.65rem; border-radius: 4px; border: 1px solid #2A2A2E;
  max-width: 250px; font-variant-numeric: tabular-nums;
}
.chart-tip .tip-sub { opacity: 0.7; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; margin-top: 0.8rem; }
.chart-legend-item { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-data); font-size: 0.68rem; color: var(--ink-soft); }
.chart-chip { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.span-bar { display: flex; gap: 2px; height: 46px; border-radius: 4px; overflow: hidden; }
.span-seg { min-width: 4px; }
.span-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem 1rem; margin-top: 1rem; }
.span-legend-item { display: flex; gap: 0.5rem; align-items: baseline; }
.span-legend-item .chart-chip { transform: translateY(1px); }
.span-name { display: block; font-family: var(--font-data); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.span-val { display: block; font-family: var(--font-data); font-size: 0.9rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- tabelas ---------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--card); }
table.data { border-collapse: collapse; width: 100%; min-width: 700px; font-family: var(--font-data); font-size: 0.74rem; }
table.data caption {
  text-align: left; padding: 1rem 1.2rem 0.4rem;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
table.data th, table.data td { padding: 0.55rem 0.9rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data thead th {
  font-weight: 500; color: var(--ink-muted); text-transform: uppercase;
  font-size: 0.58rem; letter-spacing: 0.12em; border-bottom: 1px solid var(--hairline-strong);
}
table.data tbody th { text-align: left; font-weight: 500; color: var(--ink); }
table.data tbody tr { border-bottom: 1px solid var(--hairline); }
table.data tbody tr:last-child { border-bottom: 0; }
table.data tbody tr:hover { background: color-mix(in srgb, var(--gold) 6%, transparent); }

/* termos */
.terms { border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); overflow: hidden; margin: 1.4rem 0 2rem; background: var(--card); }
.terms .term { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--hairline); }
.terms .term:last-child { border-bottom: 0; }
.terms dt {
  padding: 0.85rem 1.2rem; font-family: var(--font-data); font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted);
  background: color-mix(in srgb, var(--paper-2) 65%, transparent);
}
.terms dd { padding: 0.85rem 1.2rem; margin: 0; font-size: 0.95rem; }
@media (max-width: 700px) {
  .terms .term { grid-template-columns: 1fr; }
  .terms dt { padding-bottom: 0.15rem; background: none; }
  .terms dd { padding-top: 0; }
}

/* ---------- waterfall ---------- */
.waterfall { display: grid; gap: 10px; margin: 1.6rem 0; counter-reset: wf; max-width: 640px; }
.wf-step {
  position: relative;
  border: 1px solid var(--hairline-strong);
  border-left: 3px solid var(--gold);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem 1.2rem 1rem 4rem;
}
.wf-step::before {
  counter-increment: wf; content: counter(wf, decimal-leading-zero);
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 800; font-stretch: 120%;
  font-size: 1.4rem; color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.wf-step strong { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.02em; color: var(--ink); display: block; margin-bottom: 0.15rem; }
.wf-step span { font-size: 0.9rem; color: var(--ink-soft); }
.wf-step.wf-last { border-left-color: var(--s1); }
.wf-step.wf-last::before { -webkit-text-stroke-color: var(--s1); }

/* split societário */
.split { display: flex; gap: 2px; border-radius: 6px; overflow: hidden; margin: 1.5rem 0 0.7rem; height: 58px; max-width: 640px; }
.split .sp { display: grid; place-content: center; text-align: center; color: #fff; font-family: var(--font-data); }
.split .sp b { font-size: 1.05rem; font-weight: 500; }
.split .sp span { font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.split-note { font-family: var(--font-data); font-size: 0.68rem; color: var(--ink-muted); max-width: 640px; line-height: 1.7; }

/* ---------- riscos ---------- */
.risks { display: grid; gap: 12px; margin: 1.6rem 0; }
.risk { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--card); padding: 1.1rem 1.3rem; }
.risk h5 { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.95rem; color: var(--ink); }
.risk p { margin: 0; font-size: 0.92rem; max-width: none; color: var(--ink-soft); }
.risk .mit { display: block; margin-top: 0.5rem; font-size: 0.88rem; }
.risk .mit b { font-family: var(--font-data); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s1); font-weight: 500; margin-right: 0.4rem; }

/* ---------- time ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6rem 0; }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--card); padding: 1.4rem 1.5rem; }
.member .m-name { font-family: var(--font-display); font-weight: 750; font-stretch: 115%; text-transform: uppercase; font-size: 1.15rem; color: var(--ink); }
.member .m-role { font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0.35rem 0 0.8rem; }
.member p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }

/* ---------- roadmap ---------- */
.roadmap { display: grid; gap: 0; margin: 1.8rem 0; border-left: 1px solid var(--hairline-strong); }
.rm-step { position: relative; padding: 0 0 1.6rem 1.8rem; }
.rm-step::before {
  content: ""; position: absolute; left: -5px; top: 0.4rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.rm-step .rm-when { font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.rm-step h5 { margin: 0.25rem 0 0.35rem; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 0.95rem; color: var(--ink); }
.rm-step p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 58ch; }

/* ---------- simulador (ato escuro) ---------- */
.sim {
  margin-top: var(--sp-5);
  background:
    radial-gradient(70% 50% at 50% 0%, #17171A 0%, transparent 70%),
    var(--dark);
  color: var(--paper-ink); position: relative;
}
.sim::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); }
.sim .container { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
.sim-head { max-width: 760px; margin-bottom: 2.2rem; }
.sim-kicker { font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 0.9rem; }
.sim h3 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 122%;
  text-transform: uppercase; font-size: var(--step-3); line-height: 1.02;
  margin: 0 0 0.9rem; color: var(--paper-ink);
}
.sim h3 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--gold-bright); }
.sim-head p { color: var(--paper-ink-soft); margin: 0; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.presets.modes { margin-bottom: 0.8rem; }
.presets button {
  font-family: var(--font-data); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; color: var(--paper-ink);
  border: 1px solid #38383E;
  border-radius: 99px; padding: 0.5rem 1.05rem; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.presets button:hover { border-color: var(--gold-bright); }
.presets button.active { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--dark); font-weight: 500; }
.presets.modes button.active { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--dark); }

.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .sim-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sim-grid { grid-template-columns: 1fr; } }
.ctrl-group {
  border: 1px solid #26262B; border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 0.6rem;
  background: color-mix(in srgb, #FFFFFF 3%, transparent);
}
.ctrl-group h6 { margin: 0 0 0.9rem; font-family: var(--font-data); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; }
.ctrl { margin-bottom: 1rem; }
.ctrl label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem;
  font-family: var(--font-data); font-size: 0.64rem; letter-spacing: 0.04em;
  color: var(--paper-ink-soft); margin-bottom: 0.35rem;
}
.ctrl output { color: var(--paper-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.ctrl input[type="range"] { width: 100%; margin: 0; accent-color: var(--gold-bright); height: 20px; }
.ramp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ramp-row .ctrl label { justify-content: center; }
.ramp-row input[type="number"] {
  width: 100%; background: transparent; color: var(--paper-ink);
  border: 1px solid #38383E; border-radius: 6px;
  font-family: var(--font-data); font-size: 1rem; padding: 0.4rem 0.2rem; text-align: center;
}

.sim .tiles { margin-top: 2rem; }
.sim .tile { background: var(--dark-card); border-color: #26262B; }
.sim .tile::before { color: var(--gold-bright); }
.sim .tile .t-label { color: var(--paper-ink-soft); }
.sim .tile .t-value { color: var(--paper-ink); }
.sim .tile .t-sub { color: color-mix(in srgb, var(--paper-ink) 52%, transparent); }
.sim .tile.tile-hi { background: var(--gold-bright); border-color: var(--gold-bright); }
.sim .tile.tile-hi::before { color: var(--dark); }
.sim .tile.tile-hi .t-label { color: color-mix(in srgb, var(--dark) 72%, transparent); }
.sim .tile.tile-hi .t-value, .sim .tile.tile-hi .t-sub { color: var(--dark); }
.sim-note { font-family: var(--font-data); font-size: 0.64rem; color: color-mix(in srgb, var(--paper-ink) 52%, transparent); margin-top: 1.4rem; max-width: 74ch; line-height: 1.8; }
.sim .tiles-c { display: none; }
.sim.mode-c .tiles-a { display: none; }
.sim.mode-c .tiles-c { display: grid; }

/* ---------- ferramentas (hub interno) ---------- */
.toolgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6rem 0; }
@media (max-width: 900px) { .toolgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .toolgrid { grid-template-columns: 1fr; } }
.tool {
  display: block; text-decoration: none;
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: var(--card); padding: 1.2rem 1.3rem;
  transition: border-color 0.15s, transform 0.15s;
}
.tool:hover { border-color: var(--gold); transform: translateY(-2px); }
.tool .tl-k { font-family: var(--font-data); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.tool .tl-t { font-family: var(--font-display); font-weight: 750; font-stretch: 115%; text-transform: uppercase; font-size: 1.05rem; color: var(--ink); margin: 0.4rem 0 0.3rem; }
.tool .tl-d { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- fontes / rodapé ---------- */
.sources { padding: var(--sp-5) 0 0; }
.sources ol { font-size: 0.82rem; color: var(--ink-soft); max-width: var(--measure); padding-left: 1.2rem; }
.sources li { margin-bottom: 0.4rem; }
footer.colophon { margin-top: var(--sp-5); background: var(--dark); color: var(--paper-ink-soft); padding: 2.8rem 0 3.4rem; }
.colophon .container { display: grid; gap: 1.4rem; }
.colophon .disclaimer { font-size: 0.78rem; color: var(--paper-ink-soft); max-width: 80ch; }
.colophon .disclaimer strong { color: var(--paper-ink); }
.colophon-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.4rem;
  font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #6E6E74;
}
.colophon a { color: var(--paper-ink-soft); }
.colophon a:hover { color: var(--gold-bright); }

/* reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .letterhead, .sim, .chart-tip { display: none; }
  body::after { display: none; }
  body { background: #fff; }
}
