/* Quotic: site institucional. Linguagem de relatório de mídia: fios, colunas, números com nota de fonte. */
/* fontes servidas pelo próprio site (SIL Open Font License, licenças em assets/fonts/): nenhuma chamada externa */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: light;
  --bg: #F2EFE8; --side: #ECE8DF; --panel: #F8F6F1; --line: #DCD7CC; --text: #1C1B19; --muted: #5E5A53;
  --accent: #B83510; --accent-ink: #F8F6F1; --good: #0E7542; --warn: #8A6100; --bad: #A3122E;
  --series-1: #1F4BC4; --series-2: #13957A; --series-3: #E3B12B; --series-4: #8E4FC2; --series-5: #8C5A2B; --series-6: #2E2C28;
  --ad-label: #1C1B19; --ad-label-paper: #F2EFE8;
  --hot: #E0441B; --hot-ink: #BC3917; --ink-panel: #151412; --dot: 28, 27, 25; --dot-hot: 224, 68, 27;
  --shadow: 0 1px 0 rgba(28,27,25,.04), 0 18px 40px -22px rgba(28,27,25,.28);
  --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px;
  --wrap: 1280px; --gutter: 40px;
}
:root[data-qt="dark"] {
  color-scheme: dark;
  --bg: #141311; --side: #191816; --panel: #1C1B18; --line: #302E2A; --text: #EDEAE3; --muted: #A8A39A;
  --accent: #FF6A45; --accent-ink: #141311; --good: #3DC27A; --warn: #E3B341; --bad: #F2545B;
  --series-1: #6E95FF; --series-2: #2DB394; --series-3: #F2CC4E; --series-4: #C39BEA; --series-5: #C89160; --series-6: #E9E5DC;
  --hot: #FF6A45; --hot-ink: #FF6A45; --ink-panel: #1F1D1A; --dot: 237, 234, 227; --dot-hot: 255, 106, 69;
  --shadow: 0 1px 0 rgba(0,0,0,.2), 0 22px 44px -20px rgba(0,0,0,.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; font-feature-settings: "ss01" 0; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--radius-md); z-index: 100; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.ph { background: color-mix(in srgb, var(--warn) 18%, transparent); padding: 0 4px; border-radius: 3px; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; flex: 0 0 auto; }
.logo svg { height: 24px; width: auto; display: block; }
.logo .l-line { fill: var(--hot); }
.nav { flex: 1 1 auto; min-width: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav a { display: block; padding: 22px 0 20px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--hot); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.icon-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--muted); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
:root[data-qt="dark"] .theme-toggle .i-sun { display: block; }
:root[data-qt="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-md); font: 600 15px/1.1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { color: var(--text); border-color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.more:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero: paisagem que começa atrás do menu ---------- */
.has-bleed .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.has-bleed .site-header.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.has-bleed .nav-open { background: var(--bg); }
.hero { position: relative; overflow: hidden; margin-top: -68px; min-height: 880px; padding: 0 0 64px; display: flex; align-items: flex-end; }
.hero.home { min-height: 880px; }
.land { position: absolute; left: -16px; top: 0; width: calc(100% + 32px); height: 100%; z-index: 0; pointer-events: none; will-change: transform; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: end; }
.hero-text .display { font-size: clamp(44px, 6vw, 88px); line-height: .98; letter-spacing: -0.045em; }
.hero:not(.home) .hero-text .display { font-size: clamp(40px, 4.6vw, 70px); line-height: 1.02; }
.figcap { display: flex; gap: 14px; align-items: baseline; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0 0 22px; max-width: 60ch; }
.figcap b { color: var(--hot-ink); font-weight: 500; white-space: nowrap; }
.hero-side { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.hero-side .lede { font-size: 17px; color: var(--muted); }
.showcase { padding: 72px 0 24px; }
.showcase .stage { max-width: 1000px; margin: 0 auto; min-height: 500px; }
.display { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.045em; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 56ch; }
.lede.muted, .muted { color: var(--muted); }

/* palco do hero: página, leitura e registro em camadas */
.stage { position: relative; min-height: 520px; }
.st-page { position: absolute; left: 0; top: 0; width: 78%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.st-mast { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--text); padding-bottom: 8px; margin-bottom: 6px; }
.st-mast b { font-size: 15px; letter-spacing: -0.01em; } .st-mast span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.st-h { font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.st-p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.st-block { border: 1px solid var(--text); border-radius: var(--radius-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.st-block .t { font-size: 13.5px; font-weight: 700; }
.st-block .s { font-size: 12px; color: var(--muted); }
.st-reader { position: absolute; right: 0; top: 150px; width: 62%; background: #151412; color: #EDEAE3; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; overflow: hidden; }
.st-reader-head { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #2B2925; color: #A8A39A; font-size: 11px; }
.st-reader-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; position: relative; }
.st-reader-body .k { color: #A8A39A; }
.st-reader-body .h { color: #FF8A68; }
.st-reader-body span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-reader-body::after { content: ""; position: absolute; left: 0; right: 0; height: 20px; top: 12px; background: linear-gradient(90deg, rgba(255,106,69,.0), rgba(255,106,69,.16) 30%, rgba(255,106,69,.0)); animation: read 7s ease-in-out infinite; pointer-events: none; }
@keyframes read { 0%, 8% { top: 12px; } 46%, 54% { top: calc(100% - 32px); } 92%, 100% { top: 12px; } }
.st-log { position: absolute; left: 8%; bottom: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.st-log i { width: 18px; height: 18px; border-radius: 50%; background: var(--good); display: inline-flex; align-items: center; justify-content: center; }
.st-log i::after { content: ""; width: 4px; height: 8px; border: solid var(--panel); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-1px, -1px); }

/* ---------- carrossel de assistentes ---------- */
.trail { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trail-track { display: flex; width: max-content; animation: trail 52s linear infinite; }
.trail:hover .trail-track { animation-play-state: paused; }
.trail ul { list-style: none; margin: 0; padding: 0 0 0 64px; display: flex; gap: 64px; align-items: center; }
.ai { display: inline-flex; align-items: center; gap: 10px; height: 32px; color: var(--muted); }
.ai img { height: 28px; width: auto; display: none; }
.ai.has-logo img { display: block; }
.ai.has-logo .ai-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ai-name { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.ai-name::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; vertical-align: 3px; border-radius: 50%; background: currentColor; opacity: .45; }
@keyframes trail { to { transform: translateX(-50%); } }

/* ---------- seções com coluna de referência ---------- */
.sec { padding: 88px 0; }
.sec-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; border-top: 2px solid var(--text); padding-top: 26px; }
.rail { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; align-self: start; }
.rail-n { font-family: var(--font-mono); font-size: 13px; color: var(--hot-ink); }
.rail-l { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.sec-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -0.035em; max-width: 20ch; }
.h3 { font-size: 22px; line-height: 1.22; letter-spacing: -0.015em; }
.intro { display: flex; flex-direction: column; gap: 18px; }
.intro .lede { color: var(--muted); }
.note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--good); padding: 2px 0 2px 14px; max-width: 70ch; }
.fine { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.tag-il { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; }

/* ---------- números de mercado ---------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fig { padding: 28px 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig-num { font-size: clamp(52px, 5.4vw, 80px); line-height: .95; font-weight: 700; letter-spacing: -0.045em; }
.fig-cap { font-size: 16px; max-width: 30ch; }
.fig .viz { margin-top: 4px; }
.fig .fine { margin-top: auto; padding-top: 10px; border-top: 1px dotted var(--line); }

/* ---------- gráficos ---------- */
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz .ax { stroke: var(--text); stroke-width: 1; }
.viz .gr { stroke: var(--line); stroke-width: 1; }
.viz .gr-d { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.viz text { fill: var(--muted); font: 500 11.5px var(--font-sans); }
.viz text.mn { font-family: var(--font-mono); font-size: 11px; }
.proof .viz text { font-size: 14px; } .proof .viz text.mn { font-size: 12.5px; } .proof .viz text.v { font-size: 16px; }
.viz text.v { fill: var(--text); font-weight: 700; font-size: 13px; }
.viz text.big { fill: var(--text); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.viz text.hot-t { fill: var(--hot-ink); }
.viz .ink { fill: var(--text); } .viz .ink-s { stroke: var(--text); fill: none; stroke-width: 2.2; }
.viz .soft { fill: var(--muted); opacity: .35; } .viz .soft-s { stroke: var(--muted); fill: none; stroke-width: 2; opacity: .6; }
.viz .hot { fill: var(--hot); } .viz .hot-s { stroke: var(--hot); fill: none; stroke-width: 2.4; }
.viz .lead-l { stroke: var(--muted); stroke-width: 1; fill: none; }
.viz .s1 { fill: var(--series-1); } .viz .s2 { fill: var(--series-2); } .viz .s3 { fill: var(--series-3); } .viz .s4 { fill: var(--series-4); } .viz .s5 { fill: var(--series-5); } .viz .s6 { fill: var(--series-6); }
.viz .s1-s { stroke: var(--series-1); fill: none; stroke-width: 2.2; } .viz .s2-s { stroke: var(--series-2); fill: none; stroke-width: 2.2; }
.viz .area1 { fill: var(--series-1); opacity: .9; } .viz .area2 { fill: var(--series-2); opacity: .9; } .viz .area3 { fill: var(--series-3); opacity: .9; } .viz .area4 { fill: var(--series-4); opacity: .9; }
.viz .dot-o { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.viz .dot-h { fill: var(--bg); stroke: var(--hot); stroke-width: 2.4; }
.viz .cell { fill: none; stroke: var(--muted); stroke-width: 1.2; opacity: .55; }
.viz .cell-on { fill: var(--text); }
.viz .cell-hot { fill: var(--hot); }
.viz .hover-line { stroke: var(--text); stroke-width: 1; opacity: 0; }
.viz-wrap { position: relative; }
.tt { position: absolute; pointer-events: none; background: var(--text); color: var(--bg); font: 500 12px/1.45 var(--font-sans); padding: 8px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; transform: translate(-50%, -110%); transition: opacity .12s; z-index: 3; }
.tt b { font-weight: 700; }
.tt i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.legend i.sq { width: 10px; height: 10px; }
.play .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s cubic-bezier(.3,.6,.2,1) forwards; }
.play .grow { transform-box: fill-box; transform-origin: left center; animation: growx 1.2s cubic-bezier(.3,.6,.2,1) both; }
.play .rise { transform-box: fill-box; transform-origin: center bottom; animation: growy 1s cubic-bezier(.3,.6,.2,1) both; }
.play .pop { transform-box: fill-box; transform-origin: center; animation: pop .45s both; }
.play .fade { animation: fade .8s .9s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes growx { from { transform: scaleX(0); } }
@keyframes growy { from { transform: scaleY(0); } }
@keyframes pop { from { transform: scale(.2); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- prova ---------- */
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.proof > div { padding: 28px 32px 8px 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.proof > div + div { border-left: 1px solid var(--line); padding-left: 32px; padding-right: 0; }
.proof-num { font-size: clamp(56px, 6vw, 96px); line-height: .92; font-weight: 700; letter-spacing: -0.05em; }
.proof p { color: var(--muted); max-width: 44ch; }
.proof p b { color: var(--text); }

/* ---------- linhas numeradas ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: r; }
.rows > li { counter-increment: r; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.rows > li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--hot-ink); padding-top: 4px; }
.rows > li strong { color: var(--text); }
.rows.big > li { font-size: 19px; }
.rows.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 0; }
.rows.cols > li { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--text); border-bottom: 0; gap: 12px; }
.rows.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.rows.no > li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; border: 1.6px solid var(--bad); background: linear-gradient(45deg, transparent 44%, var(--bad) 44%, var(--bad) 56%, transparent 56%); }
.rows.ok > li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--good); -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); }
.rows.no > li, .rows.ok > li { grid-template-columns: 34px minmax(0, 1fr); color: var(--text); }
.gain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.gain > div { border-top: 1px solid var(--text); padding: 18px 0 30px; color: var(--muted); }
.gain strong { display: block; color: var(--text); font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }

/* ---------- tabelas ---------- */
.table-wrap { border-top: 2px solid var(--text); }
table.t { width: 100%; border-collapse: collapse; font-size: 16px; }
table.t th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); }
table.t td { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td:first-child { font-weight: 600; }
table.t.plain td:first-child { font-weight: 400; }
table.t .k-good { color: var(--good); } table.t .k-bad { color: var(--bad); }

/* ---------- painel e produto ---------- */
.app { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.app-side { background: var(--side); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.app-side .lg { color: var(--text); padding: 0 8px 16px; } .app-side .lg svg { height: 17px; width: auto; display: block; }
.app-side span { padding: 7px 10px; border-radius: 6px; }
.app-side span.cur { color: var(--text); background: var(--panel); font-weight: 600; box-shadow: inset 2px 0 0 var(--hot); }
.app-main { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.app-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.app-top strong { font-size: 15px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.seg span { font-size: 12px; padding: 5px 10px; color: var(--muted); border-left: 1px solid var(--line); }
.seg span:first-child { border-left: 0; } .seg span.cur { background: var(--text); color: var(--bg); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); }
.kpi { padding: 12px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 22px; letter-spacing: -0.02em; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.app-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.mini-t { font-size: 13px; display: flex; flex-direction: column; }
.mini-t div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mini-t div:first-child { border-top: 0; }
.mini-t b { font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--good); border-radius: 4px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--tone, var(--muted)); background: color-mix(in srgb, var(--tone, var(--muted)) 13%, var(--panel)); white-space: nowrap; }
.chip.good { --tone: var(--good); } .chip.warn { --tone: var(--warn); } .chip.bad { --tone: var(--bad); } .chip.info { --tone: var(--series-1); }
.months { border-top: 2px solid var(--text); }
.months div { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.months .track { height: 6px; border-radius: 3px; background: var(--line); position: relative; }
.months .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--text); }

/* busca de fontes */
.query { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.q-left { padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: var(--side); }
.bubble { background: var(--panel); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 15px; }
.q-right { padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.src { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 4px 12px; align-items: center; font-size: 13px; }
.src .d { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src .b { grid-column: 1 / -1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.src .b i { display: block; height: 100%; background: var(--text); border-radius: 3px; }
.src.pick .b i { background: var(--hot); }
.src b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- selo e bloco ---------- */
.seal { display: inline-flex; align-items: stretch; height: 22px; border: 1px solid var(--ad-label); border-radius: var(--radius-xs); overflow: hidden; background: var(--ad-label-paper); font: 600 12px/1 var(--font-sans); white-space: nowrap; vertical-align: middle; align-self: flex-start; }
.seal-mark { width: 21px; background: var(--ad-label); display: flex; align-items: center; justify-content: center; }
.seal-mark svg { width: 13px; height: 13px; display: block; }
.seal-mark circle { fill: none; stroke: var(--ad-label-paper); }
.seal-mark rect { fill: var(--ad-label-paper); }
.seal-text { color: var(--ad-label); padding: 0 8px; display: flex; align-items: center; }
.seal-text + .seal-text { border-left: 1px solid var(--ad-label); }

/* anatomia */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: start; }
.reader { background: var(--ink-panel); color: #EDEAE3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.reader-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #2B2925; font-family: var(--font-mono); font-size: 12px; color: #A8A39A; flex-wrap: wrap; }
.reader .seal { --ad-label: #1C1B19; --ad-label-paper: #F2EFE8; }
.reader-body { padding: 8px 0 12px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.62; }
.rl { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px; padding: 7px 18px 7px 12px; transition: background .2s; }
.rl:hover, .rl.hl { background: rgba(255, 106, 69, .1); }
.rl .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #FF8A68; color: #FF8A68; font: 600 11px/22px var(--font-mono); text-align: center; }
.rl .c { min-width: 0; overflow-wrap: anywhere; }
.rl .k { color: #A8A39A; }
.rl pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 12px; color: #D9D5CC; }
.parts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.parts li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: background .2s; }
.parts li:hover, .parts li.hl { background: color-mix(in srgb, var(--hot) 8%, transparent); }
.parts .n { font-family: var(--font-mono); font-size: 12px; color: var(--hot-ink); padding-top: 3px; }
.parts strong { color: var(--text); }
blockquote.def { margin: 0; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.32; letter-spacing: -0.02em; font-weight: 500; max-width: 34em; padding-left: 28px; border-left: 3px solid var(--hot); }
blockquote.def strong { font-weight: 700; }
.budget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

/* comparação */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pm { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.pm .bar-t { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ln { height: 7px; border-radius: 3px; background: var(--line); }
.ln.h { height: 14px; width: 72%; background: color-mix(in srgb, var(--text) 70%, transparent); }
.pm .st-block .t { font-size: 12.5px; }
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.who i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--muted); }
.who.ai i { background: var(--hot); }

/* caminho da leitura */
.flow { border-top: 2px solid var(--text); padding-top: 24px; }
.flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.flow .box rect { fill: var(--panel); stroke: var(--line); stroke-width: 1.2; transition: stroke .35s, fill .35s; }
.flow .box.on rect { stroke: var(--text); }
.flow .box.hot.on rect { stroke: var(--hot); fill: color-mix(in srgb, var(--hot) 6%, var(--panel)); }
.flow .box text { fill: var(--text); font: 600 15px var(--font-sans); }
.flow .box .sub { fill: var(--muted); font: 500 11.5px var(--font-mono); }
.flow .wire { fill: none; stroke: var(--line); stroke-width: 1.6; }
.flow .mini { fill: var(--line); }
.flow .mini-bc { fill: none; stroke: var(--text); stroke-width: 1.2; }
.flow .mini-bc-l { fill: var(--hot); }
.flow .pk { fill: var(--muted); }
.flow .pk.ai { fill: var(--hot); }
.flow .halo { fill: var(--hot); opacity: .18; }
.flow svg.flow-mobile { display: none; }
.flow .wire-head { fill: var(--muted); }
.flow-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; }

/* FAQ */
.faq { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pl { flex: 0 0 18px; height: 18px; position: relative; }
.faq .pl::before, .faq .pl::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.8px; background: var(--text); transition: transform .25s; }
.faq .pl::after { transform: rotate(90deg); }
.faq details[open] .pl::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }

/* chamada final */
.closing { padding: 120px 0 40px; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; border-top: 2px solid var(--text); padding-top: 40px; }
.closing h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; max-width: 18ch; }
.closing p { color: var(--muted); max-width: 56ch; margin-top: 18px; }

/* formulário */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; border-top: 2px solid var(--text); padding-top: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px var(--font-sans); color: var(--text); background: var(--panel); border: 1px solid var(--muted); border-radius: var(--radius-md); padding: 11px 12px; width: 100%; min-height: 48px; }
.field textarea { min-height: 150px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.confirm { display: none; color: var(--good); font-weight: 600; }
.confirm.show { display: inline-flex; }
.contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); }

/* rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
.site-footer .tag-line { margin-top: 14px; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ---------- responsivo ---------- */
@media (max-width: 1280px) {
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--hot-ink); }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1000px) {
  .hero-text { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-grid, .anatomy, .query, .app-cols { grid-template-columns: minmax(0, 1fr); }
  .q-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rail { position: static; flex-direction: row; gap: 12px; align-items: baseline; }
  .rows.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 500px; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .sec { padding: 60px 0; }
  .hero, .hero.home { min-height: 0; padding: calc(47vw + 28px) 0 44px; display: block; }
  .hero:not(.home) { padding-top: calc(41vw + 28px); }
  .showcase { padding: 40px 0 0; }

  .figures, .proof, .rows.cols, .rows.cols-5, .gain, .compare, .form, .budget, .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .fig { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line); }
  .fig:first-child { border-top: 0; }
  .proof > div, .proof > div + div { border-left: 0; padding: 26px 0 8px; }
  .proof > div + div { border-top: 1px solid var(--line); }
  .stage { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
  .st-page, .st-reader, .st-log { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; }
  .st-reader { margin-top: -40px; width: 92%; margin-left: 8%; }
  .st-log { align-self: flex-start; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .months div { grid-template-columns: minmax(0, 1fr) auto; }
  .months .track { display: none; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow svg.flow-desktop { display: none; }
  .flow svg.flow-mobile { display: block; }
  .header-actions .btn { padding: 0 12px; font-size: 13.5px; }
  .logo svg { height: 21px; }
  .closing { padding-top: 72px; }
  table.t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.t, table.t tbody, table.t tr, table.t td { display: block; width: 100%; }
  table.t tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  table.t td { padding: 3px 0; border: 0; }
  table.t td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  table.t td + td { margin-top: 8px; }
  .reader-body { font-size: 12.5px; }
  .rl { grid-template-columns: 38px minmax(0, 1fr); padding-right: 12px; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 8px; }
  .logo svg { height: 19px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 0 10px; font-size: 13px; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail-track { animation: none; width: 100%; }
  .trail ul + ul { display: none; }
  .trail ul { flex-wrap: wrap; gap: 16px 36px; padding: 0 var(--gutter); }
  .st-reader-body::after { animation: none; display: none; }
  .play .draw, .play .grow, .play .rise, .play .pop, .play .fade { animation: none; stroke-dashoffset: 0; }
}

/* ===================== v4: página mais estreita, tipografia menor, paisagem com fade longo ===================== */
:root { --wrap: 1120px; --gutter: 32px; }
body { font-size: 16px; }
main { position: relative; overflow-x: clip; }
.land { position: absolute; left: 0; top: -68px; width: 100%; height: min(88vw, 1260px); z-index: 0; pointer-events: none; will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 60%, rgba(0,0,0,.35) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 60%, rgba(0,0,0,.35) 82%, transparent 100%); }
/* the script sets top and height to the band between the header and the hero text */
.hero, .hero.home { position: relative; z-index: 1; overflow: visible; margin-top: 0; min-height: 0; padding: clamp(160px, min(36vw, 100svh - 340px), 520px) 0 52px; display: block; }
.hero-text { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end; }
.hero-text .display { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.04em; }
.hero:not(.home) .hero-text .display { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.035em; }
.hero-side { gap: 18px; padding-bottom: 4px; }
.hero-side .lede { font-size: 16px; }
.trail, .sec, .closing, .site-footer { position: relative; z-index: 1; }
.trail { padding: 15px 0; } .ai-name { font-size: 16px; } .trail ul { gap: 52px; padding-left: 52px; }
.nav a { font-size: 14px; } .nav ul { gap: 20px; }
.btn { min-height: 42px; font-size: 14.5px; padding: 0 18px; }
.sec { padding: 68px 0; }
.sec-head { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--text); padding-top: 14px; margin-bottom: 34px; }
.rail-n { font-size: 12px; } .rail-l { font-size: 13px; font-weight: 600; }
.sec-main { gap: 30px; }
.h2 { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.1; letter-spacing: -0.03em; max-width: 24ch; }
.h3 { font-size: 19px; }
.lede { font-size: 17px; line-height: 1.55; max-width: 64ch; }
.intro { max-width: 780px; gap: 14px; }
.note { font-size: 14.5px; }
.fig { padding: 24px 24px 20px; } .fig-num { font-size: clamp(40px, 4vw, 56px); } .fig-cap { font-size: 15px; }
.proof-num { font-size: clamp(40px, 4.4vw, 62px); }
.proof > div { padding: 24px 28px 8px 0; } .proof > div + div { padding-left: 28px; }
.rows > li { padding: 18px 0; } .rows.big > li { font-size: 16.5px; }
.gain { gap: 0 40px; } .gain strong { font-size: 19px; }
table.t { font-size: 15px; } table.t td { padding: 14px 16px 14px 0; }
.faq summary { font-size: 17px; padding: 18px 0; }
blockquote.def { font-size: clamp(19px, 1.8vw, 25px); }
.closing { padding: 80px 0 24px; } .closing h2 { font-size: clamp(28px, 3.2vw, 44px); }
.kpi b { font-size: 20px; }

/* código e texto lido pelo assistente */
.code { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; background: var(--ink-panel); color: #EDEAE3; border-radius: var(--radius-md); padding: 14px 14px 14px 6px; display: flex; flex-direction: column; min-width: 0; }
.code .ln { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 0 4px; }
.code .no { color: #77736B; text-align: right; user-select: none; }
.code .tx { overflow-wrap: anywhere; white-space: pre-wrap; }
.code .dim .tx { color: #A8A39A; }
.code .mk .tx { color: #FF8A68; }
.code .bl { background: rgba(255, 106, 69, .09); box-shadow: inset 2px 0 0 #FF6A45; }
:root[data-qt="dark"] .reader, :root[data-qt="dark"] .code { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-qt="dark"] .ba-a .code { box-shadow: none; }
/* endereço longo: reticências no meio, o fim do caminho fica visível */
.d.mid { display: flex; min-width: 0; text-overflow: clip; }
.d.mid .u1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.d.mid .u2 { flex: 0 0 auto; white-space: nowrap; }
.key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.key i { width: 12px; height: 12px; background: rgba(255, 106, 69, .25); box-shadow: inset 2px 0 0 #FF6A45; display: inline-block; }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } }

/* demonstração em passos */
.demo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 36px; align-items: stretch; --prog: 1; }
.demo-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.demo-tabs button { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 18px 0; color: var(--muted); position: relative; font-size: 15.5px; line-height: 1.5; opacity: .7; transition: opacity .25s; }
.demo-tabs button .n { font-family: var(--font-mono); font-size: 12px; color: var(--hot-ink); padding-top: 3px; }
.demo-tabs button strong { color: var(--text); }
.demo-tabs button[aria-selected="true"] { opacity: 1; }
.demo-tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--hot); transform: scaleX(0); transform-origin: left; }
.demo-tabs button[aria-selected="true"]::after { transform: scaleX(var(--prog)); }
.demo-stage { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 400px; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.pane { padding: 18px; display: none; flex-direction: column; gap: 12px; flex: 1; }
.pane.on { display: flex; }
.pane.on .ln, .pane.on .step-in { animation: lineIn .45s both; animation-delay: calc(var(--i, 0) * 110ms); }
.camp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.camp-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.camp-head strong { font-size: 16px; }
.st-log { position: static; align-self: flex-start; box-shadow: none; }

/* pessoa e assistente */
.ba { position: relative; display: grid; --p: 50%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ba > .ba-h, .ba > .ba-a { grid-area: 1 / 1; min-width: 0; padding: 52px 28px 26px; }
.ba-h { --panel: #F8F6F1; --text: #1C1B19; --muted: #5E5A53; --line: #DCD7CC; background: var(--panel); color: var(--text); }
.ba-a { background: #151412; color: #EDEAE3; clip-path: inset(0 0 0 var(--p)); }
.ba-a .code { background: transparent; padding: 0; font-size: 13px; }
.ba-tag { position: absolute; top: 14px; font: 600 12px/1 var(--font-sans); padding: 6px 10px; border-radius: 999px; z-index: 2; pointer-events: none; }
.ba-tag.l { left: 14px; background: var(--text); color: var(--bg); }
.ba-tag.r { right: 14px; background: #FF6A45; color: #141311; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--hot); z-index: 2; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 50%; background: var(--hot); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba-handle svg { width: 18px; height: 18px; fill: none; stroke: #141311; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba input:focus-visible ~ .ba-handle span { outline: 2px solid var(--text); outline-offset: 3px; }
.art { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.art-mast { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--text); padding-bottom: 6px; }
.art-mast b { font-size: 14px; } .art-mast span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.art h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.art p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.art .disp { border: 1px dashed var(--muted); border-radius: var(--radius-md); padding: 18px; text-align: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* perguntas de exemplo, registro ao vivo e leilão */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: 500 13px/1.3 var(--font-sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; text-align: left; }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.src .b i { transition: width .6s cubic-bezier(.3, .6, .2, 1), background .3s; }
.seg button { appearance: none; border: 0; border-left: 1px solid var(--line); background: none; font: 500 12px var(--font-sans); padding: 6px 11px; color: var(--muted); cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.chart-box { position: relative; }
tr.in td { animation: lineIn .5s both; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.auction tr td { transition: opacity .3s, background .3s; }
.auction tr.pend td { opacity: .3; }
.auction tr.pend .chip { visibility: hidden; }
.auction.done tr.win td { background: color-mix(in srgb, var(--hot) 8%, transparent); }
.auction.done tr.win td:first-child { box-shadow: inset 3px 0 0 var(--hot); padding-left: 12px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }

/* contato */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; border-top: 0; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.field label { font-size: 13px; }
.field input, .field select, .field textarea { font-size: 15px; min-height: 40px; padding: 8px 10px; background: var(--bg); }
.field textarea { min-height: 92px; }
.contacts { flex-direction: column; gap: 8px; margin-top: 20px; }

@media (min-width: 721px) and (max-width: 1000px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* an odd last tile takes the whole row and uses it: number and caption on the left, the chart (or the caption,
     when there is no chart) on the right, no wider than one column, and the source under both */
  .figures > .fig:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: calc(50% - 12px) minmax(0, 1fr); gap: 14px 48px; align-content: start; grid-template-areas: "num cap" "fine fine"; }
  .figures > .fig:last-child:nth-child(odd):has(> .viz) { grid-template-areas: "num viz" "cap viz" "fine fine"; grid-template-rows: auto 1fr auto; }
  .figures > .fig:last-child:nth-child(odd) > .fig-num { grid-area: num; }
  .figures > .fig:last-child:nth-child(odd) > .fig-cap { grid-area: cap; align-self: start; }
  .figures > .fig:last-child:nth-child(odd):not(:has(> .viz)) > .fig-cap { align-self: end; }
  .figures > .fig:last-child:nth-child(odd) > .viz { grid-area: viz; margin-top: 0; align-self: center; }
  .figures > .fig:last-child:nth-child(odd) > .fine { grid-area: fine; }
}
@media (max-width: 1000px) {
  .demo, .two, .contact, .camp { grid-template-columns: minmax(0, 1fr); }
  .hero-text { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .land { height: 520px; }
  .hero, .hero.home { padding: 270px 0 36px; }
  .sec { padding: 52px 0; }
  .fig { padding: 24px 0 20px; }
  .ba > .ba-h, .ba > .ba-a { padding: 50px 16px 20px; }
  .ba-a .code { font-size: 12px; }
  .closing { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .pane.on .ln, .pane.on .step-in, tr.in td, .live::before { animation: none; }
}

.nav ul { gap: 15px; } .nav a { font-size: 13.5px; } .site-header .wrap { gap: 20px; }

.code .ln { height: auto; background: none; border-radius: 0; }
.code .ln.bl { background: rgba(255, 106, 69, .09); }
.site-header .wrap { max-width: 1260px; }
.closing .wrap { border-top: 0; position: relative; }
.closing .wrap::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid var(--text); }

.contacts { align-items: flex-start; }

/* ===================== ajustes de celular ===================== */
.ba input { touch-action: pan-y; }
@media (max-width: 720px) {
  .proof > div + div { padding-left: 0; }
  .proof .viz text { font-size: 16px; } .proof .viz text.mn { font-size: 15px; } .proof .viz text.v { font-size: 19px; }
  .sec-main > .viz text.mn { font-size: 15px; }
  .seg button { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .chips button { min-height: 40px; }
  .viz-wrap[data-series] { overflow-x: auto; } .viz-wrap[data-series] svg { min-width: 540px; max-width: none; }
  /* registro ao vivo e leilão: linhas compactas em vez de cartões */
  [data-livelog] table.t tr, table.t.auction tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 11px 0; align-items: center; }
  [data-livelog] table.t td, table.t.auction td { width: auto; padding: 0; margin: 0; min-width: 0; }
  [data-livelog] table.t td + td, table.t.auction td + td { margin-top: 0; }
  [data-livelog] table.t td::before, table.t.auction td::before { display: none; }
  [data-livelog] td:nth-child(1) { grid-area: 1 / 1; color: var(--muted); }
  [data-livelog] td:nth-child(5) { grid-area: 1 / 2; justify-self: end; }
  [data-livelog] td:nth-child(2) { grid-area: 2 / 1 / 3 / 3; overflow-wrap: anywhere; }
  [data-livelog] td:nth-child(3) { grid-area: 3 / 1; }
  [data-livelog] td:nth-child(4) { grid-area: 3 / 2; justify-self: end; color: var(--muted); }
  table.t.auction td:nth-child(1) { grid-area: 1 / 1; }
  table.t.auction td:nth-child(4) { grid-area: 1 / 2; justify-self: end; }
  table.t.auction td:nth-child(2) { grid-area: 2 / 1; color: var(--muted); }
  table.t.auction td:nth-child(3) { grid-area: 2 / 2; justify-self: end; color: var(--muted); font-size: 13px; }
  table.t.auction td:nth-child(3)::before { display: inline; content: ""; font: inherit; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; }
  .auction.done tr.win td:first-child { padding-left: 10px; }
}
@media (max-width: 480px) { .form { grid-template-columns: minmax(0, 1fr); padding: 18px; } }
@media (max-width: 720px) {
  .viz[style*="overflow-x"] svg { min-width: 760px !important; max-width: none; }
  .proof .viz text { font-size: 14.5px; }
}

/* ajustes da revisão de conteúdo */
.sec-rule { border-top: 1px solid var(--text); margin-bottom: 34px; }
.rows.cols > li { align-content: start; align-items: start; }
.rows.cols > li strong { display: block; margin-bottom: 6px; }
.parts strong { color: var(--text); }
.rows.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 1000px) { .rows.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .rows.cols-4 { grid-template-columns: minmax(0, 1fr); }
  table.t.auction td:nth-child(3) { grid-area: 1 / 2; justify-self: end; font-size: inherit; color: inherit; }
  table.t.auction td:nth-child(3)::before { display: none; content: none; }
}

.legend i.pd { width: 11px; height: 11px; border-radius: 50%; }

/* ---------- jornada: seis etapas com painel ---------- */
.jr { display: flex; flex-direction: column; }
.jr-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, .78fr) minmax(0, 1.22fr); gap: 0 32px; padding-bottom: 84px; align-items: start; }
.jr-step:last-child { padding-bottom: 0; }
.jr-step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--line); }
.jr-step:last-child::before { display: none; }
.jr-line { position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--hot); transform-origin: top; }
.jr-step:last-child .jr-line { display: none; }
.jr-dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hot); background: var(--bg); color: var(--hot-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12.5px; position: relative; z-index: 1; }
.jr-text { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.jr-text h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }
.jr-text p { color: var(--muted); max-width: 44ch; }
.jr-text ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.jr-text li { display: flex; gap: 10px; align-items: baseline; }
.jr-text li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); flex: 0 0 auto; transform: translateY(-2px); }
.jr-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.jr-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jr.js .jr-step:not(.in) .jr-line { transform: scaleY(0); }
.jr.js .jr-line { transition: transform 1.1s cubic-bezier(.3, .6, .2, 1) .2s; }
.jr.js .jr-step:not(.in) .jr-dot { border-color: var(--line); color: var(--muted); }
.jr.js .jr-dot { transition: border-color .4s, color .4s; }
.jr.js .jr-panel { transition: opacity .6s, transform .6s cubic-bezier(.3, .6, .2, 1); }
.jr.js .jr-step:not(.in) .jr-panel { opacity: 0; transform: translateY(22px); }
.jr.js .jr-step.in .st, .jr.js .jr-step.in .code .ln { animation: lineIn .5s both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
.pd { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--muted); display: inline-block; opacity: .55; }
.pd.on { background: var(--hot); border-color: var(--hot); opacity: 1; }
.jr-mx { display: flex; flex-direction: column; font-size: 14px; }
.jr-mx > div { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 68px); gap: 8px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.jr-mx > div > span:not(.q):not(:first-child) { text-align: center; }
.jr-mx .hd { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.jr-mx .q { font-family: var(--font-mono); font-size: 12.5px; }
.jr-src { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 6px 12px; align-items: center; font-size: 13px; }
.jr-src .d { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-src b { text-align: right; font-variant-numeric: tabular-nums; }
.jr-src .b { grid-column: 1 / -1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.jr-src .b i { display: block; height: 100%; background: var(--text); border-radius: 3px; transition: width .6s cubic-bezier(.3, .6, .2, 1); }
.jr-src.pick .b i { background: var(--hot); }
.jr-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.jr-req { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); }
.jr-req .who { font-weight: 700; font-size: 13px; }
.jr-req .who::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); margin-right: 8px; }
.jr-req.alt .who::before { background: var(--muted); }
.jr-req .chip { margin-left: auto; }
.jr-body .table-wrap table.t { font-size: 14px; } .jr-body table.t td { padding: 11px 14px 11px 0; }
.jr-chat .me { align-self: flex-end; max-width: 82%; background: var(--text); color: var(--bg); border-radius: 16px 16px 4px 16px; padding: 11px 15px; font-size: 15px; }
.jr-chat .ai-msg { align-self: flex-start; max-width: 92%; border: 1px solid var(--line); background: var(--bg); border-radius: 16px 16px 16px 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.jr-chat .who { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.jr-chat .srcs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); border-top: 1px dotted var(--line); padding-top: 10px; }
.jr-chat .srcs .mono { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.jr-chat [data-type] .w { opacity: 0; transition: opacity .25s; }
.jr-chat [data-type] .w.on { opacity: 1; }
.kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-gain { display: grid; grid-template-columns: 78px minmax(0, 1fr) 46px; gap: 12px; align-items: center; font-size: 13.5px; }
.jr-gain .nm { font-weight: 600; }
.jr-gain .bars { display: flex; flex-direction: column; gap: 4px; }
.jr-gain .bars i { display: block; height: 8px; border-radius: 3px; background: var(--line); transform-origin: left; }
.jr-gain .bars i.z { background: var(--hot); }
.jr.js .jr-step.in .jr-gain .bars i, .sim-pane.on .jr-gain .bars i { animation: growx .9s cubic-bezier(.3, .6, .2, 1) both; }
.jr-gain b { text-align: right; font-size: 16px; letter-spacing: -0.02em; }

/* ---------- simulador de campanha ---------- */
.sim { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.sim-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--side); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.sim-bar .dots { display: inline-flex; gap: 5px; } .sim-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.sim-bar .url { flex: 1 1 auto; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 560px; }
.sim-main { padding: 14px 22px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sim-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; }
.sim-tabs button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 12px; font: 600 13.5px/1.2 var(--font-sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.sim-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--hot); }
.sim-pane { display: none; flex-direction: column; gap: 16px; min-width: 0; }
.sim-pane.on { display: flex; }
.sim-pane h3 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.sim-form { display: flex; gap: 8px; }
.sim-form input { flex: 1 1 auto; min-width: 0; font: 400 16px var(--font-sans); color: var(--text); background: var(--bg); border: 1px solid var(--muted); border-radius: var(--radius-md); padding: 11px 14px; min-height: 46px; }
.sim-try { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sim-llms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sim-llm { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; background: var(--bg); min-width: 0; transition: border-color .3s; }
.sim-llm b { font-size: 14px; } .sim-llm span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.sim-llm.run span { animation: blink 1s infinite; }
.sim-llm.done { border-color: color-mix(in srgb, var(--hot) 55%, var(--line)); }
.sim-top, .sim-src, .sim-gain { display: flex; flex-direction: column; gap: 12px; }
.sim-log { font-size: 13.5px !important; } .sim-log td { padding: 10px 14px 10px 0 !important; }
.sim-log tr.in td { animation: lineIn .4s both; }
.sim-log td:nth-child(3) { max-width: 0; width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }

/* ---------- formulário sem caixa ---------- */
.form { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.field input, .field select, .field textarea { background: var(--panel); }

@media (max-width: 900px) {
  .jr-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0 16px; padding-bottom: 56px; }
  .jr-step::before, .jr-line { left: 16px; top: 34px; }
  .jr-dot { width: 34px; height: 34px; font-size: 11.5px; }
  .jr-text { grid-column: 2; }
  .jr-panel { grid-column: 2; margin-top: 20px; }
  .jr-mx > div { grid-template-columns: minmax(0, 1fr) repeat(3, 52px); }
  .jr-mx .hd { font-size: 9.5px; letter-spacing: 0; }
  .sim-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sim .app-side { display: none; }
  .sim-main { padding: 12px 16px 20px; }
  .sim-llms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim-form { flex-direction: column; }
  .kpis.k3 { grid-template-columns: minmax(0, 1fr); }
  .kpis.k3 .kpi { border-left: 0; border-top: 1px solid var(--line); } .kpis.k3 .kpi:first-child { border-top: 0; }
  .sim-log tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 10px 0; }
  .sim-log td { width: auto; padding: 0 !important; margin: 0 !important; } .sim-log td::before { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .jr.js .jr-step .jr-panel { opacity: 1 !important; transform: none !important; }
  .jr.js .jr-step .jr-line { transform: none !important; }
}

/* ---------- cena: uma pergunta do começo ao fim ---------- */
.sc { display: flex; flex-direction: column; gap: 22px; --prog: 1; }
.sc-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.sc-steps button { appearance: none; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0 4px; font: inherit; text-align: left; cursor: pointer; color: var(--muted); display: flex; flex-direction: column; gap: 2px; position: relative; opacity: .75; transition: opacity .25s; }
.sc-steps button .n { font-family: var(--font-mono); font-size: 12px; color: var(--hot-ink); }
.sc-steps button .l { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.sc-steps button::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--hot); transform: scaleX(0); transform-origin: left; }
.sc-steps button.done::before { transform: scaleX(1); }
.sc-steps button[aria-selected="true"] { opacity: 1; }
.sc-steps button[aria-selected="true"]::before { transform: scaleX(var(--prog)); }
.sc-steps button.done { opacity: 1; }
.sc-bar { display: flex; align-items: flex-start; gap: 14px; }
.sc-bar .sc-steps { flex: 1 1 auto; min-width: 0; }
.sc-play { flex: 0 0 auto; width: 40px; height: 40px; margin-top: 4px; }
.sc-play svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-play .i-play { fill: currentColor; stroke-width: 1.4; }
.sc-play .i-play, .sc-play[aria-pressed="true"] .i-pause { display: none; } .sc-play[aria-pressed="true"] .i-play { display: block; }
.sc-panel { display: flex; flex-direction: column; gap: 22px; }
/* the caption keeps the height of its longest step: every step's text sits in the same grid cell, hidden */
.sc-cap { display: grid; } .sc-cap > * { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-cap .sc-g { visibility: hidden; }
.sc-cap h3, .sc-cap .h { margin: 0; font-weight: 700; text-wrap: balance; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.sc-cap p { color: var(--muted); max-width: 62ch; }
.sc-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.sc-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s, opacity .4s; }
.sc-card.wide { grid-column: 1 / -1; }
/* inactive cards: only the frame dims, never the content */
.sc.js .sc-card:not(.focus) { border-color: color-mix(in srgb, var(--line) 55%, transparent); }
.sc.js .sc-card.focus { opacity: 1; border-color: color-mix(in srgb, var(--hot) 60%, var(--line)); box-shadow: var(--shadow); }
.sc-card:not(.wide) + .sc-card:not(.wide)::before { content: ""; position: absolute; left: -13px; top: 14px; width: 8px; height: 8px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.sc-head { padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sc-head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s; }
.sc-card.focus .sc-head::before { background: var(--hot); }
.sc-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 auto; }
.sc-stack { display: grid; min-width: 0; } .sc-stack > * { grid-area: 1 / 1; min-width: 0; }
.sc.js [data-from] { opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .45s, transform .45s, visibility 0s .45s; }
.sc.js [data-from].on { opacity: 1; transform: none; visibility: visible; transition: opacity .45s, transform .45s; transition-delay: calc(var(--i, 0) * 120ms); }
.sc.js [data-to]:not([data-from]) { transition: opacity .35s; } .sc.js [data-to]:not([data-from]).off { opacity: 0; visibility: hidden; }
/* step 1: the inactive cards show a faint preview of where they end */
.sc.js [data-from].ghost { opacity: .16; transform: none; visibility: visible; transition: none; }
.sc.js .gone { opacity: 0; visibility: hidden; }
.sc:not(.js) [data-to] { display: none; } .sc:not(.js) [data-to="6"] { display: block; }
.sc .jr-chat .me, .sc .jr-chat .ai-msg { font-size: 14.5px; max-width: 100%; }
.sc .jr-chat .me { align-self: flex-end; }
.sc-wait { align-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: var(--bg); border-radius: 16px 16px 16px 4px; padding: 10px 14px; justify-self: start; }
.sc-wait .who { font-weight: 700; font-size: 12px; }
.d3 { display: inline-flex; gap: 4px; } .d3 i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; } .d3 i:nth-child(2) { animation-delay: .2s; } .d3 i:nth-child(3) { animation-delay: .4s; }
.sc-pg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); }
.sc-pg .d { font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-pg.pick { border-color: color-mix(in srgb, var(--hot) 55%, var(--line)); }
.sc-art { font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.sc-slot { border: 1px dashed var(--muted); border-radius: var(--radius-md); min-height: 108px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-align: center; padding: 10px; }
.sc .code { font-size: 11.5px; padding: 10px 10px 10px 2px; }
.sc-v { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sc-v > strong { font-size: 15px; } .sc-v > p { color: var(--muted); font-size: 14.5px; }
.sc-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sc-bids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sc-bid { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 13.5px; }
.sc-bid b { font-size: 16px; } .sc-bid.win { border-color: var(--hot); background: color-mix(in srgb, var(--hot) 7%, var(--bg)); }
.sc.js .sc-v.on .sc-bid { animation: lineIn .45s both; animation-delay: calc(var(--i, 0) * 140ms + 200ms); }
.sc-res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.sc-gains { display: flex; flex-direction: column; gap: 10px; }
.sc.js .sc-v.on .jr-gain .bars i { animation: growx .9s cubic-bezier(.3, .6, .2, 1) both; }
.sc-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.sc:not(.js) .sc-play { display: none; }
@media (max-width: 900px) {
  .sc-steps { gap: 0 6px; } .sc-steps button .l { display: none; } .sc-steps button[aria-selected="true"] .l { display: block; position: absolute; top: 34px; left: 0; white-space: nowrap; font-size: 12px; color: var(--hot); }
  .sc-steps { margin-bottom: 14px; }
  .sc-steps button:nth-child(n+5)[aria-selected="true"] .l { left: auto; right: 0; }
  /* one card at a time, all in the same grid cell, so the stage keeps the tallest card's height on every step */
  .sc-stage { grid-template-columns: minmax(0, 1fr); }
  .sc.js .sc-stage > .sc-card { grid-area: 1 / 1; }
  .sc.js .sc-card:not(.lead) { opacity: 0; pointer-events: none; }
  .sc.js .sc-card:not(.lead), .sc.js .sc-card:not(.lead) * { visibility: hidden !important; }
  .sc-card:not(.wide) + .sc-card:not(.wide)::before { display: none; }
  .sc-bids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-res { grid-template-columns: minmax(0, 1fr); }
}

.contacts a { color: var(--text); font-weight: 600; }

/* ---------- seletor de idioma ---------- */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); font: 600 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--text); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 164px; margin: 0; padding: 6px; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 30px rgba(0, 0, 0, .14); z-index: 60; }
.lang li a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 6px; font-size: 14px; color: var(--text); text-decoration: none; }
.lang li a:hover { background: var(--side); }
.lang li a[aria-current] { font-weight: 600; }
.lang li a span { font: 500 11px/1 var(--font-mono); color: var(--muted); }
.legal .langs { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal .langs a { color: var(--muted); text-decoration: none; }
.legal .langs a:hover, .legal .langs a[aria-current] { color: var(--text); }
@media (max-width: 420px) { .lang summary { padding: 0 6px; gap: 3px; } .header-actions { gap: 4px; } .header-actions .btn { padding: 0 8px; font-size: 12.5px; } }
@media (max-width: 380px) { .header-actions .theme-toggle { display: none; } }
