:root {
  --bg: #050505;
  --bg-elev: #111111;
  --bg-card: #161616;
  --red: #ee0110;
  --red-dark: #b4000c;
  --red-soft: rgba(238, 1, 16, 0.16);
  --red-glow: rgba(238, 1, 16, 0.45);
  --text: #ffffff;
  --muted: #b3b3b3;
  --muted-2: #8a8a8a;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/quiz/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/quiz/fonts/inter-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: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/quiz/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/quiz/fonts/oswald-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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(900px 480px at 110% -8%, rgba(238, 1, 16, 0.32), transparent 55%),
    radial-gradient(700px 380px at -10% 108%, rgba(238, 1, 16, 0.16), transparent 50%),
    #050505;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 1, 16, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 1, 16, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: var(--text);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px 0 calc(28px + env(safe-area-inset-bottom));
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 28px;
}

.logo-mark {
  height: 36px;
  width: auto;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: rise 0.38s ease;
}

.screen[hidden] {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.35rem, 11vw, 3.4rem);
}

h1 span {
  color: var(--red);
}

h2 {
  font-size: clamp(1.55rem, 7vw, 2.05rem);
}

.lead,
.tip-text,
.reason,
.disclaimer,
.includes,
.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.02rem;
  margin: 0 0 28px;
  max-width: 34em;
}

.privacy-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 28px;
}

.privacy-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ff1a22;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
  margin-top: 10px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:focus-visible,
.option:focus-visible,
.back:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.back {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back:hover {
  color: var(--text);
}

.progress-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.option {
  text-align: left;
  width: 100%;
  padding: 16px 16px 16px 18px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.option:hover {
  border-color: rgba(238, 1, 16, 0.55);
  background: #1b1b1b;
}

.option.is-selected {
  border-color: var(--red);
  background: linear-gradient(90deg, var(--red-soft), #1a1a1a 40%);
  box-shadow: inset 3px 0 0 var(--red), var(--shadow);
}

.tip-card {
  margin-top: 8px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(238, 1, 16, 0.35);
  box-shadow: 0 0 0 1px rgba(238, 1, 16, 0.08), var(--shadow);
}

.tip-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.tip-text {
  margin: 0 0 20px;
  font-size: 1.02rem;
  color: #e8e8e8;
}

.result-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(238, 1, 16, 0.4);
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 6px;
  text-transform: uppercase;
}

.reason {
  margin: 0 0 16px;
  font-size: 1rem;
  color: #e0e0e0;
}

.includes {
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.card {
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin: 0 0 16px;
}

.card.featured {
  border-color: rgba(238, 1, 16, 0.5);
  background:
    linear-gradient(180deg, rgba(238, 1, 16, 0.12), transparent 42%),
    var(--bg-card);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.trilha-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: auto;
  padding-top: 32px;
}

.signature {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-2);
  margin: 0;
}

@media (min-width: 720px) {
  .wrap {
    padding-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen,
  .bar span,
  .btn,
  .option {
    animation: none;
    transition: none;
  }
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 28px;
  color: inherit;
}

.how {
  margin: 0 0 28px;
  padding: 16px 16px 16px 18px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}

.note {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.level {
  margin: 8px 0 28px;
}

.level h2 {
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  margin-bottom: 14px;
}

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

.course-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.course-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.course-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.15;
}

.course-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

.course-body .btn {
  margin-top: 2px;
}

.text-link,
.catalog-link {
  text-align: center;
  margin: 16px 0 0;
}

.text-link a,
.catalog-link a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link a:hover,
.catalog-link a:hover {
  color: var(--text);
}

@media (min-width: 540px) {
  .course-card {
    flex-direction: row;
    align-items: stretch;
  }

  .course-cover {
    width: 168px;
    flex: 0 0 168px;
  }

  .course-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
}
