/* ============================================================
   QBIZU PETRO — Sales Page
   Direção: Refinaria-Tech Editorial
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* color — QBizu Petro brandbook palette */
  --petro-green: #008542;
  --petro-green-dark: #005a2c;
  --petro-green-light: #e6f3eb;
  --petro-orange: #ff6a13;
  --petro-orange-dark: #cc540f;
  --bizu-yellow: #ffb81c;
  --bizu-yellow-dark: #d99a00;

  --bg: #0a0a0a;
  --bg-1: #111110;
  --bg-2: #171717;
  --bg-3: #1f1f1e;
  --line: #262625;
  --line-2: #363635;

  --ink: #f8fafc;
  --ink-mute: #a3a3a3;
  --ink-dim: #737373;
  --ink-faint: #404040;

  /* Accent system: Bizu Yellow = primary highlight/CTA, Petro Green = identity, Petro Orange = urgency */
  --amber: #ffb81c;
  --amber-deep: #d99a00;
  --amber-soft: #6b4a00;
  --teal: #008542;
  --teal-deep: #005a2c;

  --red: #ff6a13;
  --green: #10b981;
  --ember: #ff6a13;

  /* type */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --editorial: "Newsreader", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --body: "Bricolage Grotesque", system-ui, sans-serif;

  /* fluid type scale */
  --t-cap: clamp(11px, 0.7vw, 13px);
  --t-body: clamp(15px, 1vw, 17px);
  --t-lead: clamp(17px, 1.25vw, 20px);
  --t-h4: clamp(18px, 1.4vw, 22px);
  --t-h3: clamp(24px, 2vw, 32px);
  --t-h2: clamp(32px, 3.6vw, 56px);
  --t-h1: clamp(40px, 4.6vw, 72px);
  --t-mega: clamp(56px, 8vw, 120px);

  /* spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  --radius-1: 2px;
  --radius-2: 4px;
  --radius-3: 8px;
  --radius-4: 16px;

  /* motion */
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);

  --dur-instant: 100ms;
  --dur-quick: 200ms;
  --dur-base: 400ms;
  --dur-slow: 800ms;
  --dur-cinematic: 1200ms;

  /* layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5,h6,p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--bg); }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--amber);
  transition: width 80ms linear;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-quick) var(--ease-soft);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 22px;
}
.brand__petro {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 3px 7px;
  border: 1px solid var(--amber);
  border-radius: var(--radius-1);
  transform: translateY(-2px);
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px;
  color: var(--ink-mute);
}
.nav__links a { transition: color var(--dur-quick); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 880px) { .nav__links { display: none; } }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all var(--dur-quick) var(--ease-soft);
}
.nav__cta:hover { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.nav__cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- LAYOUT HELPERS ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.problema { padding-bottom: clamp(40px, 5vw, 70px); }
.problema + .section, .problema + section { padding-top: clamp(40px, 5vw, 70px); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-5);
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--teal);
}
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* in-view base */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-soft), transform 800ms var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 18px 26px;
  border-radius: var(--radius-2);
  transition: all var(--dur-base) var(--ease-soft);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--amber);
  color: var(--bg);
  border: 1px solid var(--amber);
}
.btn--primary:hover {
  background: oklch(82% 0.16 75);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px color-mix(in oklab, var(--amber) 50%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn .arrow {
  transition: transform var(--dur-base) var(--ease-snap);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary .price {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 80px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 88px);
  mask-image: radial-gradient(ellipse at 30% 60%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, black 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.hero__noise {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 20%, color-mix(in oklab, var(--amber) 15%, transparent), transparent 50%);
  mix-blend-mode: screen;
}
.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 1100px) { .hero__container { grid-template-columns: 1fr; gap: var(--s-7); } }

.hero__meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: var(--s-6);
}
.hero__meta .pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 var(--teal);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 70%, transparent); }
  70% { box-shadow: 0 0 0 12px color-mix(in oklab, var(--amber) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 0%, transparent); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-h1);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 75;
}
.hero h1 .em {
  font-family: var(--editorial);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: normal;
  letter-spacing: -0.02em;
  color: var(--amber);
}
.hero h1 .num {
  font-family: var(--mono);
  font-weight: 600;
  font-variation-settings: normal;
  letter-spacing: -0.04em;
}
.hero__sub {
  margin-top: var(--s-6);
  font-size: var(--t-lead);
  line-height: 1.4;
  color: var(--ink-mute);
  max-width: 56ch;
}
.hero__sub strong { color: var(--ink); font-weight: 500; }
.hero__ctas { margin-top: var(--s-7); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__proof {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap; gap: 28px 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .b { color: var(--ink); font-weight: 500; }

/* hero word reveal */
.word-stack { display: block; }
.word-stack > span { display: inline-block; overflow: hidden; vertical-align: top; }
.word-stack > span > span {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp 900ms var(--ease-snap) forwards;
}
.word-stack > span:nth-child(1) > span { animation-delay: 50ms; }
.word-stack > span:nth-child(2) > span { animation-delay: 120ms; }
.word-stack > span:nth-child(3) > span { animation-delay: 190ms; }
.word-stack > span:nth-child(4) > span { animation-delay: 260ms; }
.word-stack > span:nth-child(5) > span { animation-delay: 330ms; }
.word-stack > span:nth-child(6) > span { animation-delay: 400ms; }
.word-stack > span:nth-child(7) > span { animation-delay: 470ms; }
.word-stack > span:nth-child(8) > span { animation-delay: 540ms; }
.word-stack > span:nth-child(9) > span { animation-delay: 610ms; }
.word-stack > span:nth-child(10) > span { animation-delay: 680ms; }
.word-stack > span:nth-child(11) > span { animation-delay: 750ms; }
@keyframes wordUp { to { transform: translateY(0); } }

/* hero mockup */
.hero__mockup {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-radius: var(--radius-3);
  overflow: hidden;
  animation: slideIn 1200ms var(--ease-snap) both;
  animation-delay: 400ms;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.mockup__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.mockup__head .dots { display: flex; gap: 6px; }
.mockup__head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.mockup__head .dots span:nth-child(1) { background: oklch(70% 0.18 30); }
.mockup__head .dots span:nth-child(2) { background: oklch(80% 0.16 90); }
.mockup__head .dots span:nth-child(3) { background: oklch(72% 0.16 145); }

.mockup__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.hero__mockup { aspect-ratio: auto !important; }
.mockup__tag {
  display: inline-flex; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--amber);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.mockup__q {
  font-family: var(--editorial);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.45;
  color: var(--ink);
}
.mockup__q .hl { background: color-mix(in oklab, var(--amber) 28%, transparent); padding: 0 2px; }
.mockup__opts { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.mockup__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  font-size: 13px;
  color: var(--ink-mute);
}
.mockup__opt .letter {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10px;
  flex-shrink: 0;
}
.mockup__opt.correct { border-color: var(--green); background: color-mix(in oklab, var(--green) 10%, transparent); color: var(--ink); }
.mockup__opt.correct .letter { background: var(--green); border-color: var(--green); color: var(--bg); }
.mockup__opt.wrong { border-color: color-mix(in oklab, var(--red) 50%, var(--line)); color: var(--ink-mute); }
.mockup__opt.wrong .letter { background: var(--red); border-color: var(--red); color: var(--bg); }
.mockup__formula {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: var(--radius-2);
  color: var(--teal);
}

/* hero side stamp */
.hero__stamp {
  position: absolute; right: var(--gutter); top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-faint);
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 1100px) { .hero__stamp { display: none; } }

/* ---------- MARQUEE ---------- */
.marquee {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.marquee__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 var(--gutter);
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.marquee__head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-h3);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 85;
  max-width: 22ch;
}
.marquee__head h2 em { font-family: var(--editorial); font-style: italic; color: var(--amber); }
.marquee__count {
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
  display: flex; align-items: center; gap: 12px;
}
.marquee__count .n { font-size: 28px; color: var(--ink); font-weight: 500; }
.marquee__masonry {
  padding: 0 var(--gutter);
  column-count: 5;
  column-gap: 20px;
}
@media (max-width: 1280px) { .marquee__masonry { column-count: 4; } }
@media (max-width: 980px)  { .marquee__masonry { column-count: 3; } }
@media (max-width: 700px)  { .marquee__masonry { column-count: 2; column-gap: 14px; } }
@media (max-width: 480px)  { .marquee__masonry { column-count: 1; } }
.testi {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.testi[data-tilt="1"] { transform: rotate(-1deg); }
.testi[data-tilt="2"] { transform: rotate(0.8deg); }
.testi[data-tilt="3"] { transform: rotate(-0.5deg); }
.testi__head {
  display: flex; align-items: center; gap: 12px;
}
.testi__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-3), var(--line-2));
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
  flex-shrink: 0;
}
.testi__name { font-size: 13px; font-weight: 500; }
.testi__meta { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.testi__msg {
  background: color-mix(in oklab, var(--green) 18%, var(--bg-2));
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.testi__msg .tag { font-weight: 500; color: var(--amber); }
.testi__time { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); align-self: flex-end; }

/* ---------- PROBLEMA ---------- */
.problema h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 16ch;
  font-variation-settings: "wdth" 80;
}
.problema h2 em { font-family: var(--editorial); font-style: italic; font-weight: 400; color: var(--amber); }
.problema__sub {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  color: var(--ink-mute);
  max-width: 60ch;
}
.problema__grid {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 980px) { .problema__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problema__grid { grid-template-columns: 1fr; } }
.prob {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
  transition: background var(--dur-base) var(--ease-soft);
  position: relative;
}
.prob:hover { background: var(--bg-1); }
.prob:hover .prob__num { animation: glitch 0.6s steps(2, end); }
@keyframes glitch {
  0%, 100% { transform: translate(0); text-shadow: none; }
  20% { transform: translate(-1px, 0); text-shadow: 1px 0 var(--amber), -1px 0 var(--teal); }
  40% { transform: translate(1px, 0); text-shadow: -1px 0 var(--amber), 1px 0 var(--teal); }
  60% { transform: translate(0, 1px); text-shadow: 0 -1px var(--amber); }
  80% { transform: translate(0); text-shadow: none; }
}
.prob__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.16em;
}
.prob h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-h4);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prob p { color: var(--ink-mute); font-size: 15px; line-height: 1.5; }

/* ---------- FILTRO ---------- */
.filtro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 1000px) { .filtro__grid { grid-template-columns: 1fr; } }
.filtro__txt h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "wdth" 80;
}
.filtro__txt h2 em { font-family: var(--editorial); font-style: italic; font-weight: 400; color: var(--amber); }
.filtro__txt p { margin-top: 24px; font-size: var(--t-lead); color: var(--ink-mute); max-width: 50ch; }
.filtro__sig {
  margin-top: 36px;
  font-family: var(--editorial);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink);
  border-left: 2px solid var(--amber);
  padding-left: 18px;
  line-height: 1.2;
}
.filtro__demo {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 28px;
}
.filtro__demo h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.filtro__demo h4 .live { color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.filtro__demo h4 .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }

.filt-row {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.filt-row:last-child { border-bottom: none; }
.filt-row__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--ink-dim); text-transform: uppercase;
  width: 80px; flex-shrink: 0;
}
.filt-row__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all var(--dur-quick) var(--ease-soft);
}
.chip:hover { border-color: var(--ink-mute); color: var(--ink); }
.chip.is-active { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.chip.is-disabled { opacity: 0.3; pointer-events: none; }
.filt-row__chips .chip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filtro__result {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-2);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
}
.filtro__result .count {
  font-size: 32px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

/* ---------- 3 FONTES ---------- */
.fontes__head { max-width: 880px; margin-bottom: 60px; }
.fontes__head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-h2); letter-spacing: -0.03em; line-height: 1;
  font-variation-settings: "wdth" 80;
}
.fontes__head h2 em { font-family: var(--editorial); font-style: italic; font-weight: 400; color: var(--amber); }
.fontes__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.fontes__tab {
  flex: 1;
  text-align: left;
  padding: 20px 24px 22px;
  border-bottom: 2px solid transparent;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--t-h4);
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  transition: all var(--dur-base) var(--ease-soft);
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
@media (max-width: 800px) { .fontes__tab { font-size: 16px; padding: 16px; } }
.fontes__tab .nm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-dim); }
.fontes__tab.is-active { color: var(--ink); border-bottom-color: var(--amber); }
.fontes__tab.is-active .nm { color: var(--amber); }
.fontes__panel {
  display: none;
  padding: 50px 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--s-8);
  align-items: center;
  animation: fadeIn 500ms var(--ease-snap);
}
.fontes__panel > .window .window__shot { max-height: 520px; object-fit: cover; object-position: top center; }
@media (max-width: 900px) { .fontes__panel { grid-template-columns: 1fr; } }
.fontes__panel.is-active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fontes__panel h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em; line-height: 1.05;
}
.fontes__panel h3 em { font-family: var(--editorial); font-style: italic; font-weight: 400; color: var(--amber); }
.fontes__panel p { margin-top: 18px; color: var(--ink-mute); font-size: var(--t-body); line-height: 1.6; }
.fontes__panel ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.fontes__panel li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-mute);
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
}
.fontes__panel li strong { color: var(--ink); font-weight: 500; }

/* mockup do feedback PhD */
.mock-feedback {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}
.mock-feedback__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  color: var(--amber); letter-spacing: 0.16em; text-transform: uppercase;
}
.mock-feedback__head::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
  animation: pulse 2s infinite;
}
.mock-feedback__body { padding: 22px; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.mock-feedback__body p + p { margin-top: 12px; }
.mock-feedback__body .typing::after {
  content: "▍"; color: var(--amber);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mock-feedback__body .tag {
  display: inline-block;
  font-family: var(--mono); font-size: 10px;
  padding: 2px 8px;
  background: var(--bg-3);
  color: var(--amber);
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius-1);
  margin-right: 8px;
}
.mock-feedback__body .formula {
  display: block;
  margin: 14px 0;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  font-family: var(--mono); font-size: 14px;
  color: var(--teal);
  text-align: center;
}
.mock-feedback__body strong { color: var(--ink); font-weight: 500; }

/* mockup professor */
.mock-prof {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 22px;
  min-height: 380px;
  display: flex; flex-direction: column; gap: 16px;
}
.mock-prof__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mock-prof__head .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-deep), var(--bg-3));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  color: var(--bg);
}
.mock-prof__head .nm { font-family: var(--display); font-weight: 500; font-size: 15px; }
.mock-prof__head .ti { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.mock-prof__bizu {
  margin-top: auto;
  background: color-mix(in oklab, var(--amber) 14%, var(--bg-2));
  border-left: 2px solid var(--amber);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
}
.mock-prof__bizu .tag {
  font-family: var(--mono); font-size: 10px; color: var(--amber);
  letter-spacing: 0.18em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}

/* mockup forum */
.mock-forum {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 22px;
  min-height: 380px;
  display: flex; flex-direction: column; gap: 14px;
}
.forum-msg {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: var(--radius-2);
}
.forum-msg .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; color: var(--ink-mute);
  flex-shrink: 0;
}
.forum-msg__top {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px;
}
.forum-msg__nm { font-size: 13px; font-weight: 500; }
.forum-msg__tag { font-family: var(--mono); font-size: 10px; color: var(--teal); }
.forum-msg__body { font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.forum-msg__body strong { color: var(--ink); font-weight: 500; }
.forum-msg__foot {
  margin-top: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--ink-dim);
  display: flex; gap: 16px;
}
