/* =========================================================
   Formulário Virtus - Estratégia Digital
   Identidade: Azul Profundo (#030b1c) + Verde Neon (#00ea77) + Branco Puro (#ffffff)
   Tipografia: Montserrat (executiva, moderna e de alta conversão)
   ========================================================= */
:root {
  /* Identidade Virtus */
  --virtus-bg: #030b1c;
  --virtus-navy: #041243;
  --virtus-surface: #071954;
  --virtus-surface-hover: #0c2472;
  --virtus-border: rgba(254, 254, 254, 0.12);
  --virtus-border-subtle: rgba(254, 254, 254, 0.06);

  /* Acento: Verde Neon Virtus */
  --accent: #00ea77;
  --accent-glow: rgba(0, 234, 119, 0.45);
  --accent-soft: rgba(0, 234, 119, 0.12);
  --accent-dark: #00c763;
  --accent-bright: #15ff8e;

  /* Tipografia & Contrastes */
  --fg: #ffffff;
  --fg-muted: #8fa2be;
  --fg-subtle: #627694;

  --err: #ff5252;
  --kbd: rgba(254, 254, 254, 0.08);

  --font-main: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-heading: "Montserrat", "Space Grotesk", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-main);
  color: var(--fg);
  background-color: var(--virtus-bg);
  background-image:
    radial-gradient(1100px 700px at 78% 42%, rgba(0, 234, 119, 0.13), transparent 70%),
    radial-gradient(850px 550px at 15% 90%, rgba(0, 160, 100, 0.08), transparent 60%),
    radial-gradient(900px 500px at 50% -10%, rgba(4, 18, 67, 0.8), transparent 70%),
    linear-gradient(135deg, #020815 0%, #041238 50%, #020918 100%);
  background-attachment: fixed;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Barra de Progresso ---------- */
#bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--virtus-border-subtle);
  z-index: 10;
  transition: opacity 0.3s ease;
}

#bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.4s var(--ease);
}

/* ---------- Header ---------- */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 20px 0;
  height: 110px;
  z-index: 5;
  transition: opacity 0.3s ease, visibility 0.3s;
}

body.hero-active header {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.hero-active #bar-wrap {
  opacity: 0;
}

#back {
  position: absolute;
  left: 20px;
  top: 36px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--virtus-border);
  border-radius: var(--radius-sm);
  background: rgba(4, 18, 67, 0.6);
  backdrop-filter: blur(8px);
  color: var(--fg);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

#back:hover {
  background: var(--virtus-surface);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-2px);
}

#back[disabled] {
  opacity: 0;
  pointer-events: none;
}

#counter {
  position: absolute;
  right: 24px;
  top: 46px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  transition: opacity 0.3s;
}

#counter.hide {
  opacity: 0;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#logo {
  height: 64px;
  width: auto;
  max-width: 280px;
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

#logo.empty,
.photo.empty,
.photo-full.empty {
  border: 1px dashed var(--virtus-border);
  border-radius: var(--radius-md);
  color: var(--fg-muted);
  padding: 12px 20px;
  font-size: 13px;
  text-align: center;
}

/* ---------- Estágios / Etapas ---------- */
#stage {
  position: absolute;
  inset: 0;
}

.step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 125px max(24px, calc(50% - 330px)) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0s 0.4s;
}

.step.prev {
  transform: translateY(-28px);
}

.step.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0.08s, 0.08s, 0s;
}

/* ---------- Tela Inicial Hero (fiel às referências desktop e mobile) ----------
   Desktop: tudo escala pela unidade --u (1u = 1% da largura na proporção da referência 2576x1438).
   Mobile (<=860px): tudo escala em vw (referência 941px de largura).
   Sem o "V" gigante de fundo: apenas brilhos suaves de azul e verde. */
.hero-step {
  --u: min(1vw, 1.79vh);
  --ph: min(120vh, 67vw);
  /* altura da foto original */
  --hero-base: #020a1f;
  --periwinkle: #8c9bdc;
  display: block;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-base);
}

.hero-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* Spotlight superior direito de estúdio */
    radial-gradient(ellipse 75vw 65vh at 96% 2%, rgba(45, 130, 245, 0.55), transparent 70%),
    linear-gradient(220deg, rgba(35, 115, 235, 0.32) 0%, rgba(18, 75, 180, 0.15) 38%, transparent 62%),
    /* Halo verde esmeralda com escala e opacidade aumentadas para volume tridimensional */
    radial-gradient(circle 50vw at 78% 30%, rgba(0, 234, 119, 0.42), rgba(0, 234, 119, 0.15) 55%, transparent 75%),
    radial-gradient(circle 30vw at 76% 24%, rgba(44, 242, 139, 0.30), transparent 65%),
    /* Base navy profunda */
    linear-gradient(135deg, #020817 0%, #031135 50%, #02091c 100%);
}

.hero-step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Efeitos de fundo no canto inferior esquerdo (ondas de luz esmeralda e ciano) */
    radial-gradient(ellipse 65vw 38vh at 4% 96%, rgba(0, 234, 119, 0.22), transparent 68%),
    radial-gradient(ellipse 50vw 28vh at 18% 88%, rgba(14, 165, 233, 0.16), transparent 65%),
    radial-gradient(ellipse 45vw 45vh at 86% 28%, rgba(0, 234, 119, 0.10), transparent 70%);
  mix-blend-mode: screen;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* ----- Coluna de texto (esquerda) ----- */
.hero-content {
  position: relative;
  width: auto;
  max-width: 580px;
  padding: 0 0 0 calc(var(--u) * 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 3;
}

.hero-logo {
  margin: 0 0 calc(var(--u) * 2.7);
}

.hero-logo img {
  display: block;
  width: calc(var(--u) * 19);
  height: auto;
  max-width: none;
}

.headline-block {
  display: flex;
  align-items: stretch;
  gap: calc(var(--u) * 1.9);
  margin: 0 0 calc(var(--u) * 2.4);
}

.headline-bar {
  flex: none;
  width: max(3px, calc(var(--u) * 0.16));
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.headline-block h1 {
  font-family: var(--font-heading);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 0.15);
}

.headline-block .hl-top {
  font-size: max(20px, calc(var(--u) * 2.5));
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.17;
}

.headline-block .hl-accent {
  font-size: max(25px, calc(var(--u) * 3.2));
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-shadow: 0 0 24px rgba(0, 234, 119, 0.3);
}

.headline-block .hl-bottom {
  font-size: max(24px, calc(var(--u) * 3.0));
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.17;
}

.headline-block .hl-conn {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 calc(var(--u) * 2.5);
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 1.9);
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.8);
  background: none !important;
  border: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  transform: none !important;
}

.b-icon {
  flex: none;
  width: max(28px, calc(var(--u) * 3.2));
  height: max(28px, calc(var(--u) * 3.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  filter: drop-shadow(0 0 8px #00FF88);
}

.b-icon svg {
  width: 100%;
  height: 100%;
}

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

.b-text strong {
  font-family: var(--font-heading);
  font-size: max(14px, calc(var(--u) * 1.3));
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.b-text span {
  font-size: max(13px, calc(var(--u) * 1.2));
  font-weight: 400;
  color: #ffffff;
  opacity: 0.92;
  line-height: 1.25;
}

/* CTA */
.hero-content .cta {
  margin: 0;
  min-width: 0;
  height: auto;
  min-height: max(48px, calc(var(--u) * 4.7));
  padding: 0 calc(var(--u) * 2.4);
  border: none;
  border-radius: max(8px, calc(var(--u) * 0.55));
  background: #00ea77;
  color: #031024;
  font-family: var(--font-heading);
  font-size: max(13px, calc(var(--u) * 1.3));
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

@media (hover: hover) {
  .hero-content .cta:hover {
    background: #5dffa8;
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.5);
  }
}

/* ----- Foto (direita) ----- */
.hero-person {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58vw;
  max-width: 780px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 95%);
}

.person-wrapper {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.person-wrapper img {
  position: absolute;
  z-index: 10;
  right: calc(var(--u) * 8.8);
  bottom: calc(var(--ph) * -0.2);
  /* parte inferior sai da tela, igual à referência */
  height: var(--ph);
  width: auto;
  max-width: none;
  display: block;
}

/* ----- Mobile: composição vertical da referência (941px de largura) ----- */
@media (max-width: 860px) {
  .hero-step {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .hero-step::before {
    background:
      /* Spotlight superior direito de estúdio descendo sobre o Victor */
      radial-gradient(110vw 60vh at 98% 0%, rgba(45, 130, 245, 0.52), transparent 70%),
      linear-gradient(215deg, rgba(30, 110, 235, 0.32) 0%, rgba(15, 60, 160, 0.14) 38%, transparent 62%),
      /* Halo de contraluz esmeralda com mais volume e destaque à silhueta */
      radial-gradient(85vw 45vh at 82% 34%, rgba(0, 234, 119, 0.40), rgba(0, 234, 119, 0.15) 55%, transparent 75%),
      radial-gradient(55vw 28vh at 78% 28%, rgba(44, 242, 139, 0.28), transparent 65%),
      /* Fundo gradiente navy profundo */
      linear-gradient(165deg, #020817 0%, #031135 50%, #02091c 100%);
  }

  .hero-step::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      /* Ondas de luz esmeralda e ciano no canto inferior esquerdo */
      radial-gradient(ellipse 95vw 42vh at 0% 98%, rgba(0, 234, 119, 0.26), transparent 70%),
      radial-gradient(ellipse 75vw 30vh at 18% 92%, rgba(14, 165, 233, 0.18), transparent 66%),
      radial-gradient(ellipse 55vw 22vh at -5% 82%, rgba(44, 242, 139, 0.15), transparent 60%);
    mix-blend-mode: screen;
  }

  .hero-container {
    display: block;
    max-width: none;
    margin: 0;
    min-height: 100%;
    height: auto;
  }

  .hero-content {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    padding: 24.5vw 6vw max(36px, 10vw) 6vw;
    justify-content: flex-start;
    z-index: 25;
  }

  .hero-logo {
    margin: 0 0 9.2vw 1.4vw;
  }

  .hero-logo img {
    width: 34vw;
  }

  .headline-block {
    gap: 2.4vw;
    margin-bottom: 8vw;
  }

  .headline-bar {
    width: max(2px, 0.5vw);
  }

  .headline-block h1 {
    gap: 0.9vw;
  }

  .headline-block .hl-top {
    font-size: 3.95vw;
    font-weight: 800;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(2, 8, 23, 0.95);
  }

  .headline-block .hl-accent {
    font-size: 5.05vw;
    font-weight: 800;
    line-height: 1.16;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 234, 119, 0.4), 0 0 24px rgba(2, 8, 23, 0.9);
  }

  .headline-block .hl-bottom {
    font-size: 4.8vw;
    font-weight: 800;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(2, 8, 23, 0.95);
  }

  .hero-bullets {
    gap: 3.6vw;
    margin-bottom: 6.8vw;
  }

  .hero-bullets li {
    gap: 2.4vw;
  }

  .b-icon {
    width: 5.8vw;
    height: 5.8vw;
    filter: drop-shadow(0 0 8px #00FF88) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  }

  .b-text {
    gap: 0.3vw;
  }

  .b-text strong {
    font-size: 3.15vw;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(2, 8, 23, 0.95);
  }

  .b-text span {
    font-size: 2.85vw;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(2, 8, 23, 0.95);
  }

  .hero-content .cta {
    min-height: max(40px, 7.4vw);
    padding: 0 3.2vw;
    font-size: max(9.5px, 2.35vw);
    font-weight: 800;
    letter-spacing: 0;
    border-radius: 7px;
    gap: 6px;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
  }

  .hero-person {
    inset: 0;
    width: auto;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 68%, transparent 92%);
  }

  /* Scrim escuro suave sobre o lado esquerdo da foto para garantir leitura perfeita */
  .hero-person::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 23, 0.88) 0%, rgba(2, 8, 23, 0.72) 36%, rgba(2, 8, 23, 0.3) 56%, transparent 72%);
    pointer-events: none;
    z-index: 12;
  }

  .person-wrapper img {
    position: absolute;
    z-index: 10;
    right: -14.3vw;
    bottom: auto;
    top: 36.5vw;
    width: 80.4vw;
    height: auto;
  }
}

/* Tipografia Geral */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4.8vw, 36px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}

h2 i {
  color: var(--accent);
  font-style: normal;
  margin-left: 4px;
}

.hint {
  color: var(--fg-muted);
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.hint b {
  color: var(--fg);
  font-weight: 600;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}

ul li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #dce5fa;
  padding: 13px 16px;
  border: 1px solid var(--virtus-border-subtle);
  border-radius: var(--radius-md);
  background: rgba(7, 25, 84, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

ul li:hover {
  border-color: rgba(81, 251, 147, 0.3);
  background: rgba(7, 25, 84, 0.7);
  transform: translateX(3px);
}

.note {
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(81, 251, 147, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.photo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 12px 28px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Campos & Inputs ---------- */
.field {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 26px;
  border-bottom: 1.5px solid var(--virtus-border);
  transition: border-color 0.25s ease;
  padding-bottom: 4px;
}

.field:focus-within {
  border-color: var(--accent);
}

.field.bad {
  border-color: var(--err);
}

input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: 0;
  font: inherit;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--fg);
  padding: 8px 0;
}

input::placeholder {
  color: var(--fg-subtle);
  opacity: 0.6;
}

.cc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
}

.err {
  color: var(--err);
  font-size: 13px;
  min-height: 20px;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Botões (Sérios e de Alta Conversão) ---------- */
.btn {
  position: relative;
  margin-top: 24px;
  align-self: flex-start;
  min-width: 180px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #041243;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--accent-soft);
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .btn:hover {
    background: #64ff9f;
    border-color: #64ff9f;
    box-shadow: 0 6px 24px var(--accent-glow);
    transform: translateY(-2px);
  }
}

.btn:active {
  transform: scale(0.98);
}

.btn.load {
  pointer-events: none;
  color: transparent !important;
  border-color: rgba(81, 251, 147, 0.4);
  background: rgba(81, 251, 147, 0.2);
}

.btn.load::after,
.opt.load .k::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid #041243;
  border-top-color: transparent;
  border-radius: 50%;
  animation: sp 0.6s linear infinite;
}

.opt.load .k::after {
  border-color: var(--accent);
  border-top-color: transparent;
}

.cta {
  height: auto;
  min-height: 52px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  animation: ctaPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (hover: hover) {
  .cta:hover {
    animation-play-state: paused;
  }
}

@keyframes ctaPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.45);
  }

  50% {
    transform: scale(1.025);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.65), 0 0 45px rgba(0, 234, 119, 0.45);
  }
}

.press {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
}

kbd {
  background: var(--kbd);
  border: 1px solid var(--virtus-border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: monospace;
  color: var(--fg-muted);
}

@media(hover: none) {
  .press {
    display: none;
  }
}

/* ---------- Opções de Escolha ---------- */
.opts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--virtus-border);
  border-radius: var(--radius-sm);
  background: rgba(7, 25, 84, 0.4);
  backdrop-filter: blur(6px);
  color: var(--fg);
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.opt:hover {
  border-color: var(--accent);
  background: rgba(7, 25, 84, 0.8);
  transform: translateX(4px);
}

.opt .k {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--kbd);
  border: 1px solid var(--virtus-border-subtle);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  flex: none;
  transition: all 0.2s ease;
}

.opt.sel {
  border-color: var(--accent);
  background: rgba(81, 251, 147, 0.08);
}

.opt.sel .k {
  background: var(--accent);
  border-color: var(--accent);
  color: #041243;
}

.opt.load .k {
  color: transparent;
}

/* ---------- Finalização ---------- */
.done {
  align-items: flex-start;
}

.done h2 {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 700;
}

.check {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.check svg {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

.step.on .check svg {
  animation: draw 0.6s 0.4s var(--ease) forwards;
}

/* Animações Auxiliares */
.shake {
  animation: sh 0.35s;
}

@keyframes sp {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sh {
  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cta {
    animation: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  header {
    height: 90px;
    padding-top: 24px;
  }

  .step:not(.hero-step) {
    padding-top: 115px;
  }

  #logo {
    height: 50px;
    max-width: 200px;
    margin-top: 2px;
  }

  input {
    font-size: 20px;
  }

  #counter {
    display: none;
  }
}