@charset "UTF-8";

:root {
  --bg: #070e1b;
  --panel: #101b2c;
  --panel2: #111f32;
  --line: rgba(196, 217, 255, .13);
  --text: #f3f6ff;
  --muted: #b4c0d3;
  --gold: #f6cd80;
  --gold2: #b98c49;
  --blue: #91b8ff;
  --ok: #72edb8;
  --bad: #ff8e96
}

* {
  box-sizing: border-box
}

html {
  min-height: 100%;
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 14%, rgba(32, 75, 140, .32), transparent 35%), radial-gradient(circle at 88% 70%, rgba(118, 74, 21, .14), transparent 45%), var(--bg);
  line-height: 1.5;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(to right, rgba(152, 187, 244, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(152, 187, 244, .09) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, black, transparent 90%)
}

.orb {
  position: fixed;
  pointer-events: none;
  border: 1px solid rgba(244, 202, 125, .23);
  border-radius: 50%;
  width: 440px;
  height: 440px;
  top: -230px;
  right: -175px;
  box-shadow: 0 0 0 75px rgba(244, 202, 125, .015), 0 0 0 150px rgba(244, 202, 125, .012)
}

.wrap {
  max-width: 1060px;
  margin: auto;
  padding: 26px 22px 65px;
  position: relative;
  z-index: 1
}

.topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
  padding: 18px 22px;
  border: 1px solid rgba(196, 217, 255, .16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 30, 52, .88), rgba(8, 18, 34, .9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
  backdrop-filter: blur(12px)
}

.topline:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(246, 205, 128, .16), transparent 28%), radial-gradient(circle at 86% 22%, rgba(135, 177, 255, .18), transparent 30%), linear-gradient(to right, rgba(255, 255, 255, .035), transparent 38%, rgba(255, 255, 255, .025));
  pointer-events: none
}

.topline:after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 205, 128, .42), rgba(145, 184, 255, .34), transparent)
}

.brandWrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #f3f6ff
}

.logo {
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(246, 205, 128, .5);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(246, 205, 128, .16), rgba(246, 205, 128, .05));
  font-family: Georgia, serif;
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(246, 205, 128, .08)
}

.brandText {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.brandKicker {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8ea6cb;
  font-weight: 800
}

.brandTitle {
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 18px;
  text-transform: uppercase
}

.brandSub {
  font-size: 12px;
  color: #c3d0e2;
  max-width: 420px
}

.mini {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px
}

.miniBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 217, 255, .15);
  background: rgba(255, 255, 255, .04);
  color: #dbe6f9;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02)
}

.miniBadge strong {
  color: var(--gold);
  font-weight: 800
}

.hidden {
  display: none !important
}

.panel {
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(130deg, rgba(23, 35, 54, .93), rgba(9, 17, 31, .94));
  box-shadow: 0 24px 85px rgba(0, 0, 0, .24);
  overflow: hidden;
  backdrop-filter: blur(9px)
}

.intro {
  display: grid;
  grid-template-columns: 1.06fr .94fr
}

.visual {
  background: #040a13;
  display: grid;
  place-items: center;
  min-height: 440px;
  position: relative;
  padding: 12px
}

.visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 15px
}

.info {
  padding: 49px 43px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 750;
  color: var(--gold);
  text-transform: uppercase
}

.info h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.07;
  font-size: clamp(36px, 4.4vw, 58px);
  margin: 18px 0 22px;
  letter-spacing: -.035em
}

.gradient {
  color: var(--gold)
}

.info p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 27px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px
}

.chip {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 12px;
  color: #c9d6e9;
  font-size: 12px
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  appearance: none;
  border: 1px solid #f7d9a2;
  color: #0c1423;
  font-weight: 800;
  background: linear-gradient(130deg, #f9e6bd, #e6b86c);
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 15px;
  box-shadow: 0 14px 36px rgba(231, 174, 90, .16);
  transition: transform .2s, filter .2s
}

.primary:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-2px)
}

.primary:disabled {
  cursor: not-allowed;
  opacity: .43;
  filter: grayscale(.5);
  box-shadow: none
}

.secondary {
  cursor: pointer;
  border: 1px solid rgba(200, 219, 255, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  padding: 13px 18px;
  color: #d8e6ff;
  font: inherit;
  font-weight: 650
}

.secondary:hover {
  background: rgba(255, 255, 255, .09)
}

button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px
}

.foot {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid rgba(196, 217, 255, .14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 27, 47, .86), rgba(8, 16, 30, .94));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .2);
  overflow: hidden
}

.foot:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(246, 205, 128, .1), transparent 28%), radial-gradient(circle at 85% 35%, rgba(145, 184, 255, .12), transparent 30%);
  pointer-events: none
}

.foot:after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 205, 128, .42), rgba(145, 184, 255, .32), transparent)
}

.footLeft,
.footRight {
  position: relative;
  z-index: 1
}

.footKicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 8px
}

.footTitle {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.18;
  margin: 0 0 8px;
  color: #f3f6ff
}

.footCopy {
  margin: 0;
  color: #9fb0c9;
  font-size: 13px;
  line-height: 1.65
}

.footLegal {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  text-align: right
}

.footLegalInner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(196, 217, 255, .12);
  background: rgba(255, 255, 255, .03)
}

.footLegalInner .yearline {
  margin: 0 0 4px;
  color: #f4f7ff;
  font-size: 15px;
  font-weight: 700
}

.footLegalInner .rights {
  margin: 0;
  color: #8fa5c5;
  font-size: 12px;
  letter-spacing: .04em
}

.questionWrap {
  max-width: 790px;
  margin: auto
}

.progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: #abbeda;
  font-size: 13px
}

.bar {
  height: 4px;
  background: #28394e;
  border-radius: 12px;
  margin-bottom: 21px;
  overflow: hidden
}

.bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #9b7e4f, #ffe8bd)
}

.questionCard {
  padding: 38px 39px 35px
}

.questionCard h2 {
  font: 500 clamp(30px, 5.2vw, 49px)/1.15 Georgia, serif;
  margin: 10px 0 16px
}

.questionCard .sub {
  color: var(--muted);
  margin: 0 0 25px
}

.equation {
  color: var(--gold);
  font-family: Georgia, serif
}

.choices {
  display: grid;
  gap: 12px
}

.choice {
  border: 1px solid rgba(166, 197, 241, .2);
  border-radius: 15px;
  background: rgba(8, 19, 35, .77);
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  min-height: 72px;
  padding: 12px 17px;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: .16s
}

.choice:hover:not(:disabled) {
  border-color: #cda36d;
  background: rgba(237, 195, 127, .055)
}

.choice .letter {
  border: 1px solid rgba(193, 211, 247, .28);
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #bbcee7;
  flex: 0 0 auto
}

.choice .formula {
  font-family: Georgia, serif;
  font-size: 27px;
  letter-spacing: .01em
}

.choice.selected {
  border-color: var(--gold);
  background: rgba(246, 205, 128, .085);
  box-shadow: inset 0 0 0 1px rgba(246, 205, 128, .18)
}

.choice.selected .letter {
  background: var(--gold);
  border-color: var(--gold);
  color: #142034
}

.choice.correct {
  border-color: rgba(114, 237, 184, .9);
  background: rgba(50, 160, 124, .14)
}

.choice.correct .letter {
  background: var(--ok);
  color: #09251b;
  border-color: var(--ok)
}

.choice.incorrect {
  border-color: rgba(255, 142, 150, .7);
  background: rgba(231, 73, 87, .1)
}

.choice.incorrect .letter {
  background: var(--bad);
  color: #280d12;
  border-color: var(--bad)
}

.choice:disabled {
  cursor: default
}

.actions {
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px
}

.actions .primary {
  min-width: 206px
}

.hint {
  font-size: 13px;
  color: #8eabc8
}

.result {
  margin-top: 21px;
  animation: emerge .32s ease-out
}

.resultHeader {
  border-radius: 17px;
  padding: 21px 22px;
  border: 1px solid rgba(114, 237, 184, .3);
  background: rgba(29, 135, 99, .12)
}

.resultHeader.wrong {
  border-color: rgba(255, 142, 150, .28);
  background: rgba(205, 73, 81, .1)
}

.resultHeader h3 {
  font-size: 19px;
  margin: 0 0 5px
}

.resultHeader p {
  margin: 0;
  color: #cedbeb;
  font-size: 14px
}

.stepsTitle {
  font-family: Georgia, serif;
  font-size: 30px;
  margin: 30px 0 13px
}

.step {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 12px;
  margin: 11px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(14, 28, 47, .75);
  border: 1px solid var(--line)
}

.stepNumber {
  height: 28px;
  width: 28px;
  border-radius: 8px;
  background: rgba(246, 205, 128, .12);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800
}

.step h4 {
  margin: 0 0 7px;
  font-size: 15px
}

.step p {
  margin: 0 0 6px;
  color: #b5c6db;
  font-size: 13.5px
}

.mathrow {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.65;
  color: #f6f3ec
}

.mathrow.small {
  font-size: 20px
}

.mathrow strong {
  color: var(--gold)
}

sup {
  font-size: .58em;
  line-height: 0;
  vertical-align: super
}

.fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  line-height: 1.15;
  font-family: Georgia, serif;
  font-size: .98em
}

.fraction .numerator {
  padding: 0 12px 5px;
  border-bottom: 1px solid #e6e5e2
}

.fraction .denominator {
  padding-top: 6px
}

.finalbox {
  text-align: center;
  padding: 20px;
  border-radius: 17px;
  background: linear-gradient(130deg, rgba(246, 205, 128, .13), rgba(19, 32, 49, .4));
  border: 1px solid rgba(246, 205, 128, .32);
  margin: 18px 0
}

.finalbox .lab {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold)
}

.finalbox .big {
  font-family: Georgia, serif;
  font-size: 49px;
  margin: 2px 0;
  color: #fce1a9
}

.finalbox p {
  font-size: 13px;
  color: #cad5e3;
  margin: 0
}

.resultActions {
  display: flex;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 19px
}

.author {
  text-align: center;
  font-size: 12px;
  color: #8a9fba;
  margin-top: 24px
}

@keyframes emerge {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:790px) {
  .wrap {
    padding: 17px 13px 50px
  }

  .topline {
    margin-bottom: 17px;
    padding: 16px 15px;
    border-radius: 20px;
    align-items: flex-start;
    flex-direction: column
  }

  .brandWrap {
    width: 100%
  }

  .logo {
    height: 42px;
    width: 42px;
    font-size: 25px
  }

  .brandTitle {
    font-size: 16px
  }

  .brandSub {
    font-size: 11.5px;
    max-width: none
  }

  .mini {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    width: 100%
  }

  .miniBadge {
    font-size: 11px;
    padding: 8px 10px
  }

  .intro {
    grid-template-columns: 1fr
  }

  .visual {
    padding: 6px;
    min-height: 0
  }

  .visual img {
    max-height: none
  }

  .info {
    padding: 27px 23px 28px
  }

  .info h1 {
    font-size: 37px;
    margin: 12px 0 13px
  }

  .info p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 17px
  }

  .chips {
    margin-bottom: 19px
  }

  .primary {
    width: 100%
  }

  .panel {
    border-radius: 20px
  }

  .questionCard {
    padding: 26px 19px 24px
  }

  .questionCard h2 {
    font-size: 36px
  }

  .choice {
    min-height: 66px;
    padding: 11px 13px
  }

  .choice .formula {
    font-size: 25px
  }

  .actions {
    flex-direction: column-reverse;
    align-items: stretch
  }

  .actions .primary {
    min-width: 0
  }

  .hint {
    text-align: center
  }

  .foot {
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding: 19px 16px;
    border-radius: 20px
  }

  .footTitle {
    font-size: 19px
  }

  .footLegal {
    justify-content: flex-start;
    text-align: left
  }

  .footLegalInner {
    width: 100%
  }

  .stepsTitle {
    font-size: 27px
  }

  .step {
    padding: 15px 12px;
    grid-template-columns: 27px 1fr;
    gap: 9px
  }

  .mathrow {
    font-size: 22px
  }

  .mathrow.small {
    font-size: 18px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }
}

/* Refinamento visual: header, hero e footer */
:root {
  --gold: #f5cd84;
  --silver: #dce8ff;
}

body {
  background: radial-gradient(ellipse 700px 520px at 7% 3%, rgba(38, 85, 157, .28), transparent 72%), radial-gradient(ellipse 850px 590px at 99% 67%, rgba(146, 100, 37, .105), transparent 75%), #070d18;
}

.wrap {
  max-width: 1150px;
  padding-top: 28px;
}

.topline {
  border-radius: 23px;
  padding: 22px 27px;
  margin-bottom: 26px;
  min-height: 110px;
  background: linear-gradient(114deg, rgba(23, 41, 69, .95), rgba(9, 19, 37, .98) 56%, rgba(21, 28, 42, .97));
  border: 1px solid rgba(225, 203, 150, .2);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .23), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.topline:before {
  background: radial-gradient(ellipse 210px 130px at 8% 20%, rgba(245, 205, 132, .13), transparent 100%), radial-gradient(ellipse 400px 130px at 93% 100%, rgba(105, 148, 223, .12), transparent 100%), repeating-linear-gradient(125deg, transparent 0 65px, rgba(255, 255, 255, .015) 66px, transparent 67px);
}

.topline:after {
  background: linear-gradient(90deg, transparent, rgba(245, 205, 132, .62), rgba(130, 160, 216, .42), transparent);
}

.logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  font-size: 36px;
  position: relative;
  transform: rotate(-5deg);
  background: linear-gradient(155deg, rgba(250, 213, 144, .22), rgba(246, 205, 128, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 35px rgba(241, 185, 96, .09);
}

.logo:before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(250, 221, 164, .18);
  border-radius: 12px;
}

.logo>span {
  transform: rotate(5deg);
  position: relative;
  z-index: 1;
}

.brand {
  gap: 19px
}

.brandText {
  gap: 6px
}

.brandKicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #adc0dd;
  font-size: 9px;
  letter-spacing: .185em
}

.brandKickerDot,
.statusDot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #efd098;
  box-shadow: 0 0 13px rgba(245, 205, 132, .65)
}

.brandKickerSep {
  color: #a78b66
}

.brandTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.55vw, 32px);
  text-transform: none;
  letter-spacing: -.025em;
  line-height: 1.13;
  font-weight: 600;
  color: #f9f6f0
}

.brandTitleAccent {
  background: linear-gradient(100deg, #fff0ce, #e8b967);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding-left: 18px;
  border-left: 1px solid rgba(244, 206, 149, .14);
  flex-shrink: 0
}

.headerCounter {
  display: flex;
  align-items: baseline;
  line-height: 1;
  font-family: Georgia, serif;
  color: #edd6ad;
  font-size: 37px;
  white-space: nowrap
}

.headerCounterDiv {
  color: #536681;
  font-size: 19px;
  margin: 0 4px
}

.headerCounterTotal {
  font-size: 18px;
  color: #8fa5c8
}

.headerCaption {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.headerCaptionEyebrow {
  font-size: 9px;
  letter-spacing: .18em;
  color: #8ea4c4;
  font-weight: 800
}

.headerCaptionMain {
  font-size: 10px;
  letter-spacing: .14em;
  color: #e9d9bf;
  font-weight: 800;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px
}

.panel.intro {
  border: 1px solid rgba(231, 203, 156, .24);
  border-radius: 28px;
  box-shadow: 0 35px 85px rgba(0, 0, 0, .29), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  isolation: isolate;
  position: relative;
  background: linear-gradient(135deg, #142338, #091321)
}

.panel.intro:before {
  content: "";
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid transparent;
  background: linear-gradient(125deg, rgba(255, 218, 160, .3), transparent 32%, rgba(119, 174, 255, .13) 70%, transparent) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude
}

.intro {
  grid-template-columns: 1.02fr .98fr
}

.visual {
  padding: 13px;
  min-height: 520px;
  background: linear-gradient(155deg, #050d19, #101c2b);
  position: relative
}

.visual:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 44% at 50% 8%, rgba(233, 198, 128, .12), transparent 100%);
  z-index: 1
}

.visual img {
  border-radius: 16px;
  box-shadow: 0 12px 42px rgba(0, 0, 0, .3);
  position: relative;
  z-index: 0
}

.info {
  padding: 58px clamp(25px, 4.3vw, 58px) 52px;
  position: relative;
  background: radial-gradient(ellipse 95% 60% at 90% 4%, rgba(53, 88, 145, .2), transparent 100%)
}

.info:before {
  content: "2ⁿ";
  position: absolute;
  right: 28px;
  top: 35px;
  color: rgba(255, 234, 188, .045);
  font-size: 112px;
  font-family: Georgia, serif;
  pointer-events: none;
  line-height: 1
}

.heroMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  color: #e9d09e;
  position: relative
}

.heroMetaStar {
  font-size: 16px;
  color: #f7d995
}

.heroMetaDash {
  width: 23px;
  height: 1px;
  background: rgba(230, 198, 150, .45)
}

.info h1 {
  font-size: clamp(43px, 4.9vw, 66px);
  line-height: 1.035;
  letter-spacing: -.055em;
  margin: 28px 0 24px;
  max-width: 430px;
  position: relative
}

.gradient {
  background: linear-gradient(106deg, #ffe9bb, #edba71, #fff0c9);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text
}

.info p.heroDescription {
  font-size: 16px;
  line-height: 1.84;
  color: #afc0d8;
  margin: 0 0 29px;
  max-width: 430px;
  position: relative
}

.heroDescription strong {
  font-weight: 700;
  color: #f7e7cb
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 27px
}

.statTile {
  padding: 15px 12px;
  border: 1px solid rgba(186, 207, 239, .14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
  row-gap: 5px;
  align-items: center
}

.statIcon {
  color: var(--gold);
  font-size: 15px
}

.statNumber {
  color: #f4f5f9;
  font-size: 19px;
  font-weight: 750;
  line-height: 1
}

.statLabel {
  grid-column: 1/-1;
  color: #a0b4d1;
  font-size: 11px;
  letter-spacing: .03em
}

.ctaBlock {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.heroButton {
  width: 100%;
  padding: 10px 12px 10px 24px;
  min-height: 66px;
  justify-content: space-between;
  border-radius: 16px;
  background: linear-gradient(105deg, #ffebc4, #f0cc8a 57%, #dba85b);
  font-size: 16px;
  box-shadow: 0 20px 43px rgba(217, 160, 75, .22), inset 0 1px 0 rgba(255, 255, 255, .65)
}

.heroArrow {
  display: grid;
  place-items: center;
  background: rgba(65, 44, 15, .12);
  border: 1px solid rgba(67, 48, 21, .09);
  border-radius: 11px;
  width: 43px;
  height: 43px;
  font-size: 27px;
  font-weight: 400;
  transition: transform .2s
}

.heroButton:hover:not(:disabled) .heroArrow {
  transform: translate(2px, -2px)
}

.heroNote {
  font-size: 11px;
  letter-spacing: .045em;
  color: #93a9c5;
  text-align: center
}

.heroNote>span {
  color: #e9c885;
  font-size: 17px;
  vertical-align: middle;
  margin-right: 3px
}

.foot {
  display: block;
  padding: 0;
  margin-top: 25px;
  border: 1px solid rgba(235, 208, 160, .18);
  background: linear-gradient(120deg, rgba(18, 32, 54, .96), rgba(7, 16, 30, .97));
  border-radius: 24px;
  isolation: isolate
}

.foot:before {
  background: radial-gradient(ellipse 320px 180px at 12% 23%, rgba(232, 193, 119, .12), transparent 100%), radial-gradient(ellipse 290px 180px at 90% 75%, rgba(95, 137, 209, .14), transparent 100%)
}

.foot:after {
  left: 20px;
  right: 20px;
  background: linear-gradient(90deg, transparent, rgba(245, 205, 132, .56), rgba(145, 184, 255, .38), transparent)
}

.footerGlow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(220, 198, 147, .22) .9px, transparent .9px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent 65%, black);
  opacity: .19
}

.footTop,
.footBottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px
}

.footTop {
  padding: 26px 28px 22px
}

.footSignature {
  display: flex;
  gap: 15px;
  align-items: center
}

.footMark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 47px;
  height: 47px;
  border: 1px solid rgba(245, 205, 132, .3);
  border-radius: 14px;
  color: var(--gold);
  font: 29px Georgia, serif;
  background: rgba(245, 205, 132, .07)
}

.footKicker {
  display: block;
  color: #b59a74;
  font-size: 9px;
  letter-spacing: .2em;
  font-weight: 800;
  margin-bottom: 5px
}

.footTitle {
  font-family: Georgia, serif;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.3;
  color: #f4f4f6;
  letter-spacing: -.025em;
  margin: 0
}

.footTitle em {
  font-style: normal;
  color: #e6c082
}

.socialLinks {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.socialLink {
  position: relative;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 14px;
  color: #d9e4f5;
  border: 1px solid rgba(190, 208, 238, .2);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  text-decoration: none;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.socialLink svg {
  width: 22px;
  height: 22px
}

.socialLink:hover,
.socialLink:focus-visible {
  color: #ffdd9f;
  transform: translateY(-3px);
  border-color: rgba(245, 205, 132, .6);
  background: rgba(245, 205, 132, .11);
  box-shadow: 0 9px 22px rgba(0, 0, 0, .22)
}

.socialLink:focus-visible {
  outline: 2px solid #f6cd80;
  outline-offset: 3px
}

.socialLink:after {
  position: absolute;
  content: attr(data-tooltip);
  white-space: nowrap;
  bottom: calc(100% + 11px);
  left: 50%;
  transform: translate(-50%, 4px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
  color: #091321;
  background: #f7d9a2;
  border-radius: 8px;
  padding: 7px 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s, transform .18s;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .3)
}

.socialLink:hover:after,
.socialLink:focus-visible:after {
  opacity: 1;
  transform: translate(-50%, 0)
}

.footRule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 215, 245, .16), transparent);
  position: relative;
  z-index: 1;
  margin: 0 28px
}

.footBottom {
  padding: 18px 28px 19px;
  font-size: 12px;
  letter-spacing: .025em;
  color: #a9bed7;
  flex-wrap: wrap
}

.footBottomRight {
  font-size: 9px;
  letter-spacing: .19em;
  color: #718cae;
  font-weight: 800
}

.footBottomRight span {
  color: #efca89
}

@media(max-width:900px) {
  .headerCaption {
    display: none
  }

  .headerRight {
    padding-left: 15px
  }

  .topline {
    padding: 17px 19px
  }

  .logo {
    height: 52px;
    width: 52px;
    font-size: 30px
  }

  .brandTitle {
    font-size: clamp(22px, 3vw, 29px)
  }
}

@media(max-width:790px) {
  .wrap {
    padding-top: 14px
  }

  .intro {
    grid-template-columns: minmax(0, 1fr)
  }

  .brandKickerDetail,
  .brandKickerSep {
    display: none
  }

  .topline {
    margin-bottom: 17px;
    padding: 18px 17px;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    border-radius: 20px
  }

  .brandWrap {
    min-width: 0
  }

  .brand {
    gap: 11px
  }

  .logo {
    height: 45px;
    width: 45px;
    border-radius: 13px;
    font-size: 27px
  }

  .logo:before {
    inset: 4px;
    border-radius: 9px
  }

  .brandKicker {
    letter-spacing: .105em;
    font-size: 8px;
    gap: 6px
  }

  .brandKickerSep {
    display: none
  }

  .brandKickerSep~* {
    display: none
  }

  .brandTitle {
    font-size: clamp(18px, 4.9vw, 27px);
    letter-spacing: -.045em
  }

  .headerRight {
    padding-left: 12px
  }

  .headerCounter {
    font-size: 24px
  }

  .headerCounterDiv {
    font-size: 13px;
    margin: 0 2px
  }

  .headerCounterTotal {
    font-size: 12px
  }

  .panel.intro {
    border-radius: 22px
  }

  .panel.intro:before {
    border-radius: 22px
  }

  .visual {
    padding: 7px;
    min-height: 0
  }

  .visual img {
    border-radius: 16px
  }

  .info {
    padding: 29px 23px 33px
  }

  .info:before {
    right: 15px;
    top: 17px;
    font-size: 90px
  }

  .heroMeta {
    font-size: 9px;
    letter-spacing: .12em
  }

  .info h1 {
    font-size: clamp(40px, 9vw, 49px);
    margin: 15px 0 15px;
    max-width: none
  }

  .info p.heroDescription {
    font-size: 14px;
    line-height: 1.78;
    margin: 0 0 23px
  }

  .statsGrid {
    gap: 8px;
    margin-bottom: 22px
  }

  .statTile {
    padding: 12px 8px;
    border-radius: 12px
  }

  .statNumber {
    font-size: 17px
  }

  .statLabel {
    font-size: 10px
  }

  .heroButton {
    min-height: 62px;
    border-radius: 14px;
    padding: 9px 10px 9px 21px
  }

  .heroArrow {
    height: 41px;
    width: 41px
  }

  .heroNote {
    font-size: 10px
  }

  .foot {
    border-radius: 20px;
    margin-top: 18px
  }

  .footTop {
    padding: 23px 19px 18px;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap
  }

  .footSignature {
    gap: 12px
  }

  .footMark {
    height: 42px;
    width: 42px;
    font-size: 26px
  }

  .footTitle {
    font-size: 19px
  }

  .socialLinks {
    margin-left: auto
  }

  .socialLink {
    height: 45px;
    width: 45px
  }

  .footRule {
    margin: 0 19px
  }

  .footBottom {
    padding: 17px 19px 19px;
    font-size: 11px;
    gap: 8px
  }

  .footBottomRight {
    font-size: 8px
  }

  .socialLink:after {
    bottom: calc(100% + 7px)
  }
}

@media(max-width:390px) {
  .brandKicker {
    font-size: 7.5px
  }

  .brandTitle {
    font-size: 18px
  }

  .headerCounter {
    font-size: 20px
  }

  .headerRight {
    padding-left: 8px
  }

  .logo {
    width: 39px;
    height: 39px;
    font-size: 24px
  }

  .brand {
    gap: 8px
  }

  .footTop {
    flex-direction: column
  }

  .socialLinks {
    margin-left: 0
  }
}

/* Acessibilidade, navegação entre temas e autoria */
.brand {
  text-decoration: none;
  cursor: pointer
}

.brand:hover .brandTitleAccent {
  color: #fff3da
}

.skip-link {
  position: absolute;
  z-index: 1000;
  left: 10px;
  top: -100px;
  background: #f5d69b;
  color: #071221;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700
}

.skip-link:focus {
  top: 8px
}

.topicShelf {
  margin: 33px 0 18px
}

.topicHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 0 4px 16px
}

.topicHead h2 {
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 36px);
  margin: 3px 0;
  color: #f6f2e9
}

.topicHead p {
  font-size: 13px;
  color: #b6c5d8;
  margin: 0
}

.topicAll {
  color: #f6d495;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap
}

.topicAll:hover {
  text-decoration: underline
}

.topicTrack {
  display: flex;
  overflow-x: auto;
  gap: 13px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  padding: 3px 3px 12px;
  scrollbar-color: #6c7895 #101c30
}

.topicItem {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 0 0 min(275px, 80%);
  color: #f5f4ed;
  text-decoration: none;
  border: 1px solid rgba(182, 204, 241, .18);
  border-radius: 18px;
  background: #14243a;
  transition: transform .18s, border-color .18s
}

.topicItem:hover {
  border-color: #e5c186;
  transform: translateY(-3px)
}

.topicItem[aria-current=page] {
  border-color: #dfbb7f;
  box-shadow: inset 0 0 0 1px rgba(223, 187, 127, .25)
}

.topicItem img {
  width: 100%;
  height: 136px;
  object-fit: cover
}

.topicCardInfo {
  padding: 13px 15px 16px;
  display: grid;
  gap: 5px
}

.topicCardInfo small {
  color: #f4d297;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.topicCardInfo strong {
  font: 700 20px/1.3 Georgia, serif
}

.topicCardInfo span {
  font-size: 12px;
  color: #b4c6dc
}

.foot {
  background: linear-gradient(155deg, rgba(10, 18, 32, .97), rgba(8, 13, 25, .99));
  border: 1px solid rgba(188, 207, 237, .17);
  padding: 26px 28px 18px;
  border-radius: 23px;
  display: block
}

.foot:after {
  display: none
}

.footTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0 0 22px
}

.footSignature {
  display: flex;
  gap: 0
}

.footKicker {
  color: #aabace;
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 750
}

.footTitle {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 6px 0 5px;
  line-height: 1.15
}

.footTitle a {
  color: #f5f6fc;
  text-decoration: none
}

.footTitle a:hover {
  color: #f8dbaa
}

.footRole {
  margin: 0;
  color: #adbbce;
  font-size: 12px
}

.socialLinks {
  display: flex;
  gap: 8px
}

.socialLink {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(192, 218, 251, .17);
  color: #f1f4fb;
  position: relative;
  transition: background .18s, transform .18s
}

.socialLink:hover,
.socialLink:focus-visible {
  color: #f7d396;
  background: rgba(236, 193, 119, .13);
  transform: translateY(-2px)
}

.socialLink svg {
  width: 22px;
  height: 22px
}

.socialLink:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 5px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: #f7dfb1;
  color: #132033;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition: opacity .15s, transform .15s
}

.socialLink:is(:hover, :focus-visible):after {
  opacity: 1;
  transform: translate(-50%, 0)
}

.footRule {
  margin: 0;
  border-top: 1px solid rgba(185, 210, 242, .16)
}

.footBottom {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 18px 0 0;
  color: #aabace;
  font-size: 12px
}

.footBottomRight,
.footerGlow {
  display: none
}

.resultHeader {
  transition: background .4s, border-color .4s
}

.result:not(.hidden) .resultHeader {
  animation: emerge .4s ease-out
}

.choice.correct {
  box-shadow: 0 0 0 1px rgba(112, 237, 185, .15), 0 4px 22px rgba(30, 166, 105, .1)
}

.choice.incorrect {
  box-shadow: 0 0 0 1px rgba(255, 142, 150, .18)
}

.noteGallery {
  font-size: 12px;
  color: #8ea8cb;
  margin-top: 7px
}

@media(max-width:790px) {
  .topicShelf {
    margin-top: 24px
  }

  .topicHead h2 {
    font-size: 26px
  }

  .topicAll {
    font-size: 11px
  }

  .topicItem {
    flex-basis: 220px
  }

  .topicItem img {
    height: 115px
  }

  .foot {
    padding: 23px 19px 20px
  }

  .footTop {
    padding-bottom: 17px;
    align-items: flex-start
  }

  .footTitle {
    font-size: 20px
  }

  .socialLink {
    height: 44px;
    width: 44px
  }

  .footBottom {
    padding-top: 16px
  }
}

@media(max-width:370px) {
  .topicHead {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }
}

@media(prefers-reduced-motion:reduce) {

  .topicItem,
  .socialLink {
    transition: none !important
  }
}

/* Universo Matemático: trilha de 3 capítulos, avaliação individual e resumo */
.quizNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 19px
}

.backLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 10px 15px;
  border: 1px solid rgba(226, 204, 158, .3);
  border-radius: 999px;
  background: rgba(246, 205, 128, .065);
  color: #f7d8a4;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  transition: background .2s, transform .2s
}

.backLink:hover {
  background: rgba(246, 205, 128, .17);
  transform: translateX(-2px)
}

.quizNavTag {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 800;
  color: #8eabc8
}

.quizNavTag span {
  color: #eaca91
}

.seriesRoadmap {
  margin: 32px 0 12px
}

.seriesRailTitle {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px
}

.seriesRailTitle h2 {
  font: 600 clamp(24px, 3vw, 34px)/1.2 Georgia, serif;
  margin: 7px 0 0;
  color: #f4f2f0
}

.railHint {
  font-size: 11px;
  letter-spacing: .02em;
  color: #98acc8
}

.seriesRail {
  display: flex;
  gap: 13px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 16px;
  scrollbar-color: #6a7690 #101b2b
}

.seriesTile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 223px;
  text-align: left;
  scroll-snap-align: start;
  flex: 1 0 min(260px, 81%);
  padding: 22px;
  border: 1px solid rgba(200, 217, 242, .19);
  border-radius: 21px;
  color: #f2f5fa;
  background: linear-gradient(145deg, rgba(27, 45, 69, .96), rgba(10, 19, 35, .96));
  cursor: pointer;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .13);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden
}

.seriesTile:before {
  content: "";
  position: absolute;
  right: -56px;
  top: -65px;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  border: 1px solid rgba(243, 202, 125, .17);
  box-shadow: 0 0 0 30px rgba(243, 202, 125, .016), 0 0 0 70px rgba(145, 184, 255, .015);
  pointer-events: none
}

.seriesTile:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 202, 125, .58);
  box-shadow: 0 17px 45px rgba(0, 0, 0, .25)
}

.seriesTile:focus-visible,
.backLink:focus-visible,
.difficultyDetails summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px
}

.seriesTileTop {
  display: flex;
  justify-content: space-between;
  color: #f6d398;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 800
}

.seriesTileTop span {
  font-size: 17px;
  letter-spacing: 0
}

.seriesTileMath {
  font: 600 43px/1.3 Georgia, serif;
  letter-spacing: -.035em;
  margin: 13px 0 6px;
  color: #f9e3bb
}

.seriesTileMath small {
  font-size: 23px;
  color: #d9e6fa;
  margin-left: 8px
}

.seriesTile strong {
  font: 600 19px Georgia, serif;
  margin-bottom: 4px
}

.seriesTile>span:nth-last-child(2) {
  font-size: 12px;
  color: #a8bdd6
}

.seriesTileFoot {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(189, 205, 232, .15);
  padding-top: 11px;
  margin-top: auto;
  font-size: 9px;
  color: #c7dbf5;
  font-weight: 800;
  letter-spacing: .12em
}

.seriesDone {
  color: #76e7b0;
  letter-spacing: .03em
}

.seriesTile.isCompleted {
  border-color: rgba(118, 231, 176, .38)
}

.difficultyCard {
  margin: 20px 0 9px;
  padding: 23px;
  border: 1px solid rgba(246, 205, 128, .34);
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0%, rgba(232, 179, 84, .14), transparent 50%), linear-gradient(135deg, rgba(27, 40, 60, .97), rgba(12, 24, 42, .97));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
  animation: emerge .45s ease-out both
}

.difficultyHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 17px
}

.difficultyKicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #e9c486
}

.difficultyHeader h3 {
  font: 600 clamp(20px, 3vw, 25px)/1.22 Georgia, serif;
  margin: 6px 0 6px;
  color: #faf6ed
}

.difficultyHeader p {
  font-size: 12px;
  color: #b5c6de;
  line-height: 1.55;
  margin: 0;
  max-width: 390px
}

.difficultyScore {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 92px;
  padding: 13px 10px 10px;
  gap: 3px;
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(255, 225, 175, .1), rgba(246, 205, 128, .025));
  border: 1px solid rgba(246, 205, 128, .25)
}

.difficultyScore strong {
  font: 700 38px/1 Georgia, serif;
  color: #f7d290
}

.difficultyScore small {
  font: 700 13px Georgia, serif;
  color: #c0af91
}

.difficultyMeter {
  height: 9px;
  background: rgba(195, 217, 247, .14);
  border-radius: 12px;
  overflow: hidden;
  margin: 21px 0 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15)
}

.difficultyMeter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #87b4e5 0%, #c5b17b 45%, #e9bd70 100%);
  border-radius: 12px;
  transition: width .85s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 0 16px rgba(246, 205, 128, .3)
}

.difficultyScale {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #dfc49d;
  font-size: 11px;
  font-weight: 750
}

.difficultyScale span {
  display: flex;
  flex-direction: column
}

.difficultyScale span:nth-child(2) {
  text-align: center
}

.difficultyScale span:last-child {
  text-align: right
}

.difficultyScale small {
  font-size: 10px;
  color: #91a8c7;
  font-weight: 500;
  margin-top: 2px
}

.difficultyVerdict {
  margin-top: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px
}

.difficultyLevel {
  flex: 0 0 auto;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 800;
  color: #101d32;
  background: #f2d29a;
  padding: 7px 11px;
  border-radius: 999px
}

.difficultyVerdict p {
  margin: 2px 0 0;
  color: #c0d0e6;
  font-size: 12px;
  line-height: 1.65
}

.difficultyDetails {
  border-top: 1px solid rgba(194, 217, 245, .13);
  margin-top: 18px;
  padding-top: 14px;
  color: #bed1e8
}

.difficultyDetails summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 750;
  color: #f3d6a1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.difficultyDetails summary:after {
  content: '+';
  font-size: 19px;
  line-height: 1
}

.difficultyDetails[open] summary:after {
  content: '−'
}

.difficultyDetails summary::-webkit-details-marker {
  display: none
}

.difficultyDetails summary:focus-visible {
  outline: 2px solid #8eb8ff;
  outline-offset: 5px
}

.difficultyBreakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 15px 0 10px
}

.difficultyBreakdown>div {
  padding: 12px;
  border: 1px solid rgba(194, 217, 245, .12);
  border-radius: 11px;
  background: rgba(7, 17, 34, .36);
  display: grid;
  gap: 6px
}

.difficultyBreakdown span {
  font-size: 11px;
  color: #b5c8e0
}

.difficultyBreakdown strong {
  color: #f6d29a;
  font: 700 17px Georgia, serif
}

.difficultyDetails>p {
  font-size: 11px;
  line-height: 1.65;
  margin: 12px 0 0;
  color: #91a8c7
}

.nextButton {
  min-width: 210px
}

.menuInline {
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.finishPanel {
  position: relative;
  max-width: 790px;
  margin: auto;
  isolation: isolate;
  padding: 33px;
  border: 1px solid rgba(246, 205, 128, .31);
  border-radius: 28px;
  background: linear-gradient(145deg, #182b45, #0b1426 70%);
  overflow: hidden;
  box-shadow: 0 25px 75px rgba(0, 0, 0, .25)
}

.finishHalo {
  position: absolute;
  right: -24px;
  top: -48px;
  color: rgba(243, 202, 125, .11);
  font: 300 280px Georgia, serif;
  pointer-events: none
}

.finishInside {
  position: relative;
  z-index: 1
}

.finishPanel h2 {
  font: 600 clamp(31px, 5vw, 50px)/1.1 Georgia, serif;
  margin: 14px 0;
  color: #f4f4f8;
  max-width: 520px
}

.finishPanel h2 em {
  font-style: normal;
  color: #f5cb82
}

.finishPanel p {
  color: #bbc9da;
  line-height: 1.7;
  max-width: 590px
}

.finishStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 23px 0
}

.finishStats>div {
  border: 1px solid rgba(192, 214, 247, .16);
  border-radius: 16px;
  padding: 15px 14px;
  background: rgba(255, 255, 255, .025);
  display: grid;
  gap: 5px
}

.finishStats strong {
  font: 700 28px Georgia, serif;
  color: #ffddaa
}

.finishStats span {
  font-size: 11px;
  color: #9cb5d0
}

.finishList {
  display: grid;
  gap: 9px;
  margin: 17px 0 25px
}

.finishItem {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(192, 214, 247, .13);
  border-radius: 13px;
  background: rgba(4, 13, 24, .28)
}

.finishIcon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid #677b95;
  color: #91a6c1;
  flex: 0 0 auto
}

.finishIcon.good {
  color: #76ecc0;
  border-color: #429e7e;
  background: rgba(78, 209, 151, .1)
}

.finishIcon.bad {
  color: #f19ca5;
  border-color: #ae5660;
  background: rgba(218, 93, 110, .08)
}

.finishItemName {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1
}

.finishItemName strong {
  font-size: 13px;
  color: #f4f6fb
}

.finishItemName span {
  font-size: 11px;
  color: #97aec9
}

.finishItemRating {
  color: #f3ce8e;
  font-size: 12px;
  white-space: nowrap
}

.finishActions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap
}

.finishActions .primary,
.finishActions .secondary {
  min-height: 48px;
  flex: 1;
  min-width: 210px;
  text-decoration: none
}

.finishActions .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center
}

@media(max-width:790px) {
  .seriesRoadmap {
    margin: 26px 0 5px
  }

  .seriesRailTitle h2 {
    font-size: 26px
  }

  .railHint {
    font-size: 10px
  }

  .seriesTile {
    flex-basis: 230px;
    min-height: 218px;
    padding: 18px
  }

  .seriesTileMath {
    font-size: 41px
  }

  .quizNavTag {
    font-size: 9px
  }

  .difficultyCard {
    padding: 17px 15px
  }

  .difficultyHeader {
    align-items: flex-start
  }

  .difficultyHeader h3 {
    font-size: 20px
  }

  .difficultyScore {
    min-width: 62px
  }

  .difficultyScore strong {
    font-size: 32px
  }

  .difficultyVerdict {
    flex-direction: column;
    gap: 9px
  }

  .finishPanel {
    padding: 25px 18px;
    border-radius: 21px
  }

  .finishStats {
    gap: 7px
  }

  .finishStats>div {
    padding: 12px 8px
  }

  .finishStats strong {
    font-size: 22px
  }

  .finishStats span {
    font-size: 10px
  }

  .finishActions .primary,
  .finishActions .secondary {
    width: 100%
  }
}

@media(max-width:400px) {
  .seriesRailTitle {
    align-items: flex-start;
    flex-direction: column
  }

  .difficultyScale {
    font-size: 10px
  }

  .difficultyScale small {
    font-size: 9px
  }

  .difficultyBreakdown {
    grid-template-columns: 1fr 1fr
  }

  .finishItem {
    padding: 12px 9px;
    gap: 9px
  }

  .finishItemName strong {
    font-size: 12px
  }

  .finishItemRating {
    font-size: 11px
  }

  .quizNavTag {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {

  .seriesTile,
  .backLink,
  .difficultyMeter span {
    transition: none !important
  }
}

/* Contador exclusivo do catálogo */
.headerCounter:has(.catalogNumber) {
  align-items: center;
  gap: 6px
}

.catalogNumber {
  font: 650 29px/1 Georgia, serif;
  color: #f0d19b
}

.catalogUnit {
  font: 800 10px/1.1 system-ui, sans-serif;
  letter-spacing: .12em;
  color: #aebfd7
}

@media(max-width:790px) {
  .catalogNumber {
    font-size: 22px
  }

  .catalogUnit {
    font-size: 9px;
    letter-spacing: .06em
  }

  .headerCounter:has(.catalogNumber) {
    gap: 4px
  }
}

@media(max-width:360px) {
  .catalogNumber {
    font-size: 19px
  }

  .catalogUnit {
    font-size: 8px
  }
}