/*
  INIPE, quiz da Home (chamada, perguntas, captura e resultado).
  Escopado em #profissoes.qz para não interferir nas demais seções da Home.
  Anima apenas transform e opacity; respeita prefers-reduced-motion.
*/

#profissoes.qz {
  --azul: #034593;
  --azul-h: #0A56B0;
  --azul2: #3772D7;
  --grafite: #2C363E;
  --cinza: #6B7280;
  --gelo: #D5E0F4;
  --frio: #F5F7FA;
  --linha: #E3E8EF;
  --branco: #FFFFFF;
  --escuro: #0B1B33;
  --escuro-2: #06142A;
  --acento-esc: #034593;
  --erro: #B42318;
  --ok: #067647;
  --texto-esc: #4B5563;
  --f-titulo: 'Inter Tight', system-ui, sans-serif;
  --f-texto: 'Inter', system-ui, sans-serif;
  --r-g: 28px;
  --r-m: 20px;
  --r-p: 14px;
  --r-pill: 999px;
  --qz-caixa: 1280px;
  --qz-gutter: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #F7F4EE;
  color: #0F1729;
  padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 9vw, 128px);
  min-height: 760px;
  font-family: var(--f-texto);
}

#profissoes.qz *,
#profissoes.qz *::before,
#profissoes.qz *::after {
  box-sizing: border-box;
}

#profissoes.qz img {
  display: block;
  max-width: 100%;
}

#profissoes.qz a {
  color: inherit;
  text-decoration: none;
}

#profissoes.qz button,
#profissoes.qz input,
#profissoes.qz select {
  font: inherit;
  color: inherit;
}

#profissoes.qz .qz-caixa {
  max-width: var(--qz-caixa);
  margin: 0 auto;
  padding: 0 var(--qz-gutter);
}

/* Fundo da seção */
#profissoes.qz .qz-fundo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 92% 4%, #EEF3FB 0%, rgba(238, 243, 251, 0) 62%),
    #F7F4EE;
}

#profissoes.qz .luz {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  opacity: .45;
}

#profissoes.qz .l1 {
  width: 620px;
  height: 620px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, #D5E0F4 0%, rgba(213, 224, 244, 0) 68%);
  animation: qzDeriva1 22s ease-in-out infinite alternate;
}

#profissoes.qz .l2 {
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -220px;
  background: radial-gradient(circle, #D5E0F4 0%, rgba(213, 224, 244, 0) 70%);
  animation: qzDeriva2 28s ease-in-out infinite alternate;
}

@keyframes qzDeriva1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-120px, 90px, 0) scale(1.12); }
}

@keyframes qzDeriva2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(140px, -60px, 0) scale(.92); }
}

#profissoes.qz .trama {
  position: absolute;
  inset: 0;
  opacity: .04;
  background: repeating-linear-gradient(180deg, transparent 0 calc(100% / 7 - 1px), #0F1729 calc(100% / 7 - 1px) calc(100% / 7));
}

#profissoes.qz .grao {
  position: absolute;
  inset: -50%;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#profissoes.qz.fora .luz {
  animation-play-state: paused;
}

/* Telas e transições (M1) */
#profissoes.qz .tela {
  display: none;
}

#profissoes.qz .tela.ativa {
  display: block;
}

#profissoes.qz .tela.saindo {
  animation: qzTelaSai .22s var(--ease-in) forwards;
}

#profissoes.qz .tela.entrando {
  animation: qzTelaEntra .48s var(--ease-out) both;
}

@keyframes qzTelaSai {
  to { opacity: 0; transform: translateY(-8px); }
}

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

#profissoes.qz .eyebrow {
  font: 600 13px/1 var(--f-texto);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acento-esc);
  margin: 0;
}

#profissoes.qz .eyebrow.azul {
  color: var(--azul2);
}

/* ---------- Tela 1: Chamada ---------- */
#profissoes.qz .ch {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

#profissoes.qz .ch-titulo {
  font: 600 clamp(40px, 4.4vw, 64px)/1.02 var(--f-titulo);
  letter-spacing: -.035em;
  margin: 20px 0 24px;
  color: #0F1729;
}

#profissoes.qz .ch-titulo:focus {
  outline: none;
}

#profissoes.qz .ch-titulo .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
  margin-bottom: -.06em;
}

#profissoes.qz .ch-titulo .ln > span {
  display: inline-block;
}

#profissoes.qz .ch-titulo .acento {
  color: var(--acento-esc);
}

#profissoes.qz .ch-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--texto-esc);
  max-width: 34ch;
  margin: 0;
}

#profissoes.qz .ch-pista {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}

#profissoes.qz .segs {
  display: flex;
  gap: 6px;
}

#profissoes.qz .segs i {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: #034593;
  opacity: .9;
  transform-origin: left center;
}

#profissoes.qz .segs i:nth-child(n + 2) {
  opacity: .35;
}

#profissoes.qz .ch-pista p {
  font: 500 15px/1.3 var(--f-texto);
  color: #0F1729;
  margin: 0;
}

#profissoes.qz .ch-pista p span {
  color: var(--texto-esc);
}

#profissoes.qz .acoes {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

#profissoes.qz .nota {
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto-esc);
  max-width: 30ch;
  margin: 0;
}

/* Botões (M8, M9) */
#profissoes.qz .qz-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: 600 17px/1 var(--f-texto);
  padding: 8px 8px 8px 28px;
  min-height: 60px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: transform .25s var(--ease);
}

#profissoes.qz .qz-btn:hover {
  transform: translateY(-2px);
}

#profissoes.qz .qz-btn:active {
  transform: scale(.97);
  transition-duration: .12s;
}

#profissoes.qz .qz-btn:focus-visible {
  outline: 3px solid #034593;
  outline-offset: 3px;
}

#profissoes.qz .qz-btn .seta {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform .25s var(--ease);
}

#profissoes.qz .qz-btn:hover .seta {
  transform: translateX(4px);
}

#profissoes.qz .qz-btn svg {
  width: 18px;
  height: 18px;
}

#profissoes.qz .qz-btn-b {
  background: #034593;
  color: #fff;
}

#profissoes.qz .qz-btn-b .seta {
  background: #fff;
  color: #034593;
}

#profissoes.qz .qz-btn-b:hover {
  background: #0A56B0;
}

#profissoes.qz .qz-btn-p {
  background: var(--azul);
  color: #fff;
}

#profissoes.qz .qz-btn-p .seta {
  background: rgba(255, 255, 255, .16);
}

#profissoes.qz .qz-btn-p:hover {
  background: var(--azul-h);
}

#profissoes.qz .qz-btn-p:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
}

#profissoes.qz .qz-btn-c {
  background: transparent;
  color: #0F1729;
  box-shadow: inset 0 0 0 1.5px rgba(15, 23, 41, .35);
  padding: 8px 26px 8px 22px;
}

#profissoes.qz .qz-btn-c:hover {
  box-shadow: inset 0 0 0 1.5px #0F1729;
}

#profissoes.qz .qz-btn-b::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

#profissoes.qz .qz-btn-b.brilho::after {
  animation: qzBrilho .9s var(--ease) 1;
}

@keyframes qzBrilho {
  0% { opacity: 1; transform: translateX(-120%); }
  100% { opacity: 1; transform: translateX(120%); }
}

/* Visual da chamada: foto e cartão de prévia (M4, M5, M7) */
#profissoes.qz .ch-visual {
  position: relative;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

#profissoes.qz .ch-foto {
  position: relative;
  border-radius: var(--r-g);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0E2A52;
  margin: 0;
}

#profissoes.qz .ch-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

#profissoes.qz .ch-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 42, 0) 45%, rgba(6, 20, 42, .55) 100%);
}

#profissoes.qz .legenda {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  font: 500 13px/1 var(--f-texto);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  background: rgba(6, 20, 42, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#profissoes.qz .cc {
  position: absolute;
  left: -56px;
  right: 40px;
  bottom: -40px;
  z-index: 2;
  background: #fff;
  color: var(--grafite);
  border-radius: var(--r-m);
  padding: 20px 20px 18px;
  box-shadow: 0 24px 48px -24px rgba(15, 23, 41, .22), 0 0 0 1px #E3E8EF;
}

#profissoes.qz .cc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 12px/1 var(--f-texto);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cinza);
}

#profissoes.qz .cc-top b {
  color: var(--azul);
}

#profissoes.qz .cc-barra {
  height: 4px;
  border-radius: 2px;
  background: var(--gelo);
  margin: 12px 0 16px;
  overflow: hidden;
}

#profissoes.qz .cc-barra i {
  display: block;
  height: 100%;
  background: var(--azul);
  transform-origin: left center;
  transform: scaleX(.2857);
  transition: transform .5s var(--ease);
}

#profissoes.qz .cc-palco {
  position: relative;
  min-height: 132px;
}

#profissoes.qz .cc-q {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s var(--ease-out), transform .42s var(--ease-out);
}

#profissoes.qz .cc-q.ativa {
  opacity: 1;
  transform: none;
  transition-delay: .26s;
}

#profissoes.qz .cc-q.sai {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .28s var(--ease-in), transform .28s var(--ease-in);
}

#profissoes.qz .cc-perg {
  font: 600 18px/1.25 var(--f-titulo);
  letter-spacing: -.01em;
  margin: 0 0 12px;
  color: var(--grafite);
}

#profissoes.qz .cc-ops {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

#profissoes.qz .cc-ops li {
  position: relative;
  font: 500 14px/1 var(--f-texto);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: var(--frio);
  color: var(--grafite);
  box-shadow: inset 0 0 0 1px var(--linha);
}

#profissoes.qz .cc-ops li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--azul);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

#profissoes.qz .cc-ops li span {
  position: relative;
}

#profissoes.qz .cc-ops li.sel {
  color: #fff;
}

#profissoes.qz .cc-ops li.sel::before {
  opacity: 1;
  transform: none;
}

/* Entrada da chamada (M2, M3, M4, M5, M6) */
#profissoes.qz.qz-js .ent {
  opacity: 0;
  transform: translateY(16px);
}

#profissoes.qz.qz-js .ch-titulo .ln > span {
  transform: translateY(105%);
}

#profissoes.qz.qz-js .ch-foto {
  opacity: 0;
  transform: scale(1.06);
}

#profissoes.qz.qz-js .cc {
  opacity: 0;
  transform: translateY(24px);
}

#profissoes.qz.qz-js .segs i {
  transform: scaleX(0);
}

#profissoes.qz .vista .ent {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}

#profissoes.qz .vista .ch-titulo .ln > span {
  transform: none;
  transition: transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

#profissoes.qz .vista .ch-foto {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease-out) .15s, transform 1.2s var(--ease-out) .15s;
}

#profissoes.qz .vista .cc {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out) .65s, transform .8s var(--ease-out) .65s;
}

#profissoes.qz .vista .segs i {
  transform: none;
  transition: transform .3s var(--ease);
  transition-delay: calc(700ms + var(--i) * 70ms);
}

/* ---------- Tela de Perguntas (passos 0..6) ---------- */
#profissoes.qz .cartao {
  background: #fff;
  color: var(--grafite);
  border-radius: var(--r-g);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 41, .22), 0 0 0 1px #E3E8EF;
  overflow: hidden;
}

#profissoes.qz .perg-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 44px 36px;
}

#profissoes.qz .perg-barra {
  height: 4px;
  border-radius: 2px;
  background: var(--gelo);
  overflow: hidden;
  margin-bottom: 24px;
}

#profissoes.qz .perg-barra i {
  display: block;
  height: 100%;
  background: var(--azul);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}

#profissoes.qz .perg-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

#profissoes.qz .perg-voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: var(--cinza);
  font: 500 14px/1 var(--f-texto);
  cursor: pointer;
  min-height: 44px;
  padding: 0 8px 0 0;
}

#profissoes.qz .perg-voltar:hover {
  color: var(--grafite);
}

#profissoes.qz .perg-voltar:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 8px;
}

#profissoes.qz .perg-voltar svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#profissoes.qz .perg-conta {
  font: 600 13px/1 var(--f-texto);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--azul2);
}

#profissoes.qz .perg-titulo {
  font: 600 clamp(26px, 3vw, 36px)/1.12 var(--f-titulo);
  letter-spacing: -.025em;
  color: var(--grafite);
  margin: 0 0 24px;
}

#profissoes.qz .perg-titulo:focus {
  outline: none;
}

#profissoes.qz .perg-ops {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

#profissoes.qz .perg-op {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: var(--r-p);
  border: 0;
  background: var(--frio);
  color: var(--grafite);
  text-align: left;
  font: 500 16px/1.35 var(--f-texto);
  box-shadow: inset 0 0 0 1.5px var(--linha);
  cursor: pointer;
  transition: transform .18s var(--ease);
}

#profissoes.qz .perg-op:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1.5px var(--azul2);
}

#profissoes.qz .perg-op:active {
  transform: scale(.98);
}

#profissoes.qz .perg-op:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
}

#profissoes.qz .perg-op.on {
  background: var(--azul);
  color: #fff;
  box-shadow: none;
}

#profissoes.qz .perg-op-n {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 13px/1 var(--f-texto);
  background: #fff;
  color: var(--azul);
  box-shadow: inset 0 0 0 1px var(--gelo);
}

#profissoes.qz .perg-op.on .perg-op-n {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: none;
}

#profissoes.qz .perg-eco {
  margin: 18px 0 0;
  min-height: 24px;
  font: 500 14px/1.45 var(--f-texto);
  color: var(--azul);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

#profissoes.qz .perg-eco.visivel {
  opacity: 1;
  transform: none;
}

#profissoes.qz .perg-aviso {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--linha);
  font-size: 13px;
  line-height: 1.45;
  color: var(--cinza);
}

/* ---------- Tela 2: Captura ---------- */
#profissoes.qz .cap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  max-width: 1120px;
  margin: 0 auto;
}

#profissoes.qz .cap-lado {
  background: var(--frio);
  padding: 48px 44px;
}

#profissoes.qz .prog {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 13px/1 var(--f-texto);
  color: var(--cinza);
  margin-bottom: 32px;
}

#profissoes.qz .prog .b {
  flex: 0 0 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--azul);
}

#profissoes.qz .cap-titulo {
  font: 600 clamp(34px, 3.6vw, 48px)/1.05 var(--f-titulo);
  letter-spacing: -.03em;
  margin: 14px 0 14px;
  color: var(--grafite);
}

#profissoes.qz .cap-titulo:focus {
  outline: none;
}

#profissoes.qz .cap-sub {
  color: var(--cinza);
  font-size: 17px;
  line-height: 1.5;
  max-width: 32ch;
  margin: 0;
}

#profissoes.qz .recebe {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

#profissoes.qz .recebe li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
  color: var(--grafite);
}

#profissoes.qz .recebe .ic {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--azul);
  box-shadow: inset 0 0 0 1px var(--gelo);
}

#profissoes.qz .recebe svg {
  width: 15px;
  height: 15px;
}

#profissoes.qz .cap-form {
  padding: 44px 44px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-content: start;
}

#profissoes.qz .campo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

#profissoes.qz .campo label {
  font: 600 14px/1.2 var(--f-texto);
  color: var(--grafite);
}

#profissoes.qz .campo label.lgpd {
  font: 400 14px/1.45 var(--f-texto);
}

#profissoes.qz .ctrl {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-radius: var(--r-p);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--linha);
}

#profissoes.qz .ctrl:focus-within {
  box-shadow: inset 0 0 0 2px var(--azul);
}

#profissoes.qz .ctrl input,
#profissoes.qz .ctrl select {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 16px;
  height: 54px;
  font-size: 17px;
  color: var(--grafite);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

#profissoes.qz .ctrl .ddi {
  padding-left: 16px;
  color: var(--cinza);
  font-size: 17px;
  border-right: 1px solid var(--linha);
  padding-right: 12px;
  flex-shrink: 0;
}

#profissoes.qz .ctrl.sel {
  position: relative;
}

#profissoes.qz .ctrl.sel::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cinza);
  border-bottom: 2px solid var(--cinza);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

#profissoes.qz .campo.erro .ctrl {
  box-shadow: inset 0 0 0 2px var(--erro);
}

#profissoes.qz .msg {
  display: none;
  font-size: 14px;
  line-height: 1.35;
  color: var(--erro);
  gap: 6px;
  align-items: flex-start;
  margin: 0;
}

#profissoes.qz .campo.erro .msg {
  display: flex;
  animation: qzMsgEntra .2s var(--ease) both;
}

@keyframes qzMsgEntra {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

#profissoes.qz .msg svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

#profissoes.qz .campo.erro .dica,
#profissoes.qz .campo.erro .pre {
  display: none;
}

#profissoes.qz .pre {
  font-size: 13px;
  color: var(--cinza);
  margin: 0;
}

#profissoes.qz .pre b {
  color: var(--grafite);
  font-weight: 500;
}

#profissoes.qz .lgpd {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--grafite);
  cursor: pointer;
}

#profissoes.qz .lgpd input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px #A9B4C2;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin: 1px 0 0;
  background: #fff;
}

#profissoes.qz .lgpd input::after {
  content: "";
  width: 6px;
  height: 11px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-1px) rotate(45deg) scale(0);
  transition: transform .18s var(--ease);
}

#profissoes.qz .lgpd input:checked {
  background: var(--azul);
  box-shadow: none;
}

#profissoes.qz .lgpd input:checked::after {
  transform: translateY(-1px) rotate(45deg) scale(1);
}

#profissoes.qz .lgpd input:focus-visible {
  outline: 3px solid var(--azul2);
  outline-offset: 2px;
}

#profissoes.qz .lgpd a {
  color: var(--azul);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#profissoes.qz .campo.erro .lgpd input {
  box-shadow: inset 0 0 0 2px var(--erro);
}

#profissoes.qz .mel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#profissoes.qz .cap-form .qz-btn {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
}

#profissoes.qz .qz-btn .rot {
  transition: opacity .2s var(--ease);
}

#profissoes.qz .qz-btn .gira {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  opacity: 0;
}

#profissoes.qz .qz-btn.carregando {
  pointer-events: none;
}

#profissoes.qz .qz-btn.carregando .rot,
#profissoes.qz .qz-btn.carregando .seta {
  opacity: 0;
}

#profissoes.qz .qz-btn.carregando .gira {
  opacity: 1;
  animation: qzGira .8s linear infinite;
}

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

#profissoes.qz .seguro {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--cinza);
  margin: 0;
}

#profissoes.qz .seguro svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

#profissoes.qz .falha {
  display: none;
  border-radius: var(--r-p);
  background: #FEF3F2;
  color: var(--erro);
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 14px;
  margin: 0;
}

#profissoes.qz .falha.on {
  display: block;
  animation: qzMsgEntra .2s var(--ease) both;
}

#profissoes.qz .voltar {
  justify-self: start;
  background: none;
  border: 0;
  color: var(--cinza);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  padding: 4px 0;
}

#profissoes.qz .voltar:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

#profissoes.qz.qz-js .cap-form > * {
  opacity: 0;
  transform: translateY(10px);
}

#profissoes.qz .tela.entrando .cap-form > *,
#profissoes.qz .tela.ativa .cap-form > * {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease) calc(var(--i, 0) * 50ms + 120ms), transform .5s var(--ease) calc(var(--i, 0) * 50ms + 120ms);
}

/* ---------- Tela 3: Resultado ---------- */
#profissoes.qz .res {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

#profissoes.qz .res-ok {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 15px/1.35 var(--f-texto);
  color: #0F1729;
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: inset 0 0 0 1px #E3E8EF;
  margin: 0 0 28px;
}

#profissoes.qz .res-ok .ck {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E7F5EE;
  color: var(--ok);
  flex-shrink: 0;
}

#profissoes.qz .res-ok svg {
  width: 15px;
  height: 15px;
}

#profissoes.qz .res-nome {
  font: 600 clamp(44px, 6.2vw, 88px)/.98 var(--f-titulo);
  letter-spacing: -.045em;
  margin: 16px 0 20px;
  overflow: hidden;
  padding-bottom: .08em;
  color: #0F1729;
}

#profissoes.qz .res-nome:focus {
  outline: none;
}

#profissoes.qz .res-nome span {
  display: inline-block;
}

#profissoes.qz .res-frase {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--texto-esc);
  max-width: 30ch;
  margin: 0;
}

#profissoes.qz .chips-rot {
  font: 600 12px/1 var(--f-texto);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #034593;
  margin: 28px 0 0;
}

#profissoes.qz .chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 36px;
  padding: 0;
}

#profissoes.qz .chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 14px/1.2 var(--f-texto);
  padding: 11px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: inset 0 0 0 1px #E3E8EF;
  color: #0F1729;
}

#profissoes.qz .chips svg {
  width: 14px;
  height: 14px;
  color: #034593;
  flex-shrink: 0;
}

#profissoes.qz .turma {
  background: #fff;
  color: var(--grafite);
  border-radius: var(--r-g);
  padding: 32px;
  box-shadow: 0 24px 48px -24px rgba(15, 23, 41, .22), 0 0 0 1px #E3E8EF;
}

#profissoes.qz .turma .rot {
  font: 600 12px/1 var(--f-texto);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul2);
  margin: 0;
}

#profissoes.qz .turma-l {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 20px 0 24px;
}

#profissoes.qz .data {
  display: grid;
  place-items: center;
  width: 84px;
  height: 92px;
  border-radius: 18px;
  background: var(--azul);
  color: #fff;
  text-align: center;
}

#profissoes.qz .data b {
  display: block;
  font: 600 40px/1 var(--f-titulo);
  letter-spacing: -.03em;
}

#profissoes.qz .data span {
  display: block;
  font: 600 13px/1 var(--f-texto);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .85;
}

#profissoes.qz .data.sem {
  background: var(--frio);
  color: var(--azul);
}

#profissoes.qz .data.sem svg {
  width: 30px;
  height: 30px;
}

#profissoes.qz .turma h3 {
  font: 600 22px/1.2 var(--f-titulo);
  letter-spacing: -.015em;
  margin: 0;
  color: var(--grafite);
}

#profissoes.qz .turma .q {
  font-size: 15px;
  color: var(--cinza);
  margin: 6px 0 0;
}

#profissoes.qz .un {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-p);
  background: var(--frio);
  font-size: 15px;
  color: var(--grafite);
  margin: 0;
}

#profissoes.qz .un svg {
  width: 18px;
  height: 18px;
  color: var(--azul);
  flex: 0 0 18px;
}

#profissoes.qz .turma .mais {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--azul);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#profissoes.qz .turma .mais:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

#profissoes.qz .res-acoes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#profissoes.qz .res-rodape {
  max-width: 1120px;
  margin: 56px auto 0;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--texto-esc);
  border-top: 1px solid #E3E8EF;
  padding-top: 20px;
}

#profissoes.qz .refazer {
  background: none;
  border: 0;
  color: #034593;
  font: 500 14px/1 var(--f-texto);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  padding: 6px 0;
}

#profissoes.qz .refazer:focus-visible {
  outline: 3px solid #034593;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Entrada do resultado (M15) */
#profissoes.qz.qz-js .tela-resultado .r-ent {
  opacity: 0;
  transform: translateY(16px);
}

#profissoes.qz.qz-js .tela-resultado .res-nome span {
  transform: translateY(105%);
}

#profissoes.qz.qz-js .tela-resultado .turma {
  opacity: 0;
  transform: translateY(24px);
}

#profissoes.qz.qz-js .tela-resultado .res-ok .ck {
  opacity: 0;
  transform: scale(.6);
}

#profissoes.qz .tela-resultado.ativa .r-ent {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms);
}

#profissoes.qz .tela-resultado.ativa .res-nome span {
  transform: none;
  transition: transform .9s var(--ease-out) .12s;
}

#profissoes.qz .tela-resultado.ativa .turma {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease-out) .52s, transform .6s var(--ease-out) .52s;
}

#profissoes.qz .tela-resultado.ativa .res-ok .ck {
  opacity: 1;
  transform: none;
  transition: opacity .4s var(--ease) .1s, transform .4s var(--ease) .1s;
}

/* ---------- Responsivo (<= 900px e <= 520px) ---------- */
@media (max-width: 900px) {
  #profissoes.qz {
    min-height: 0;
  }
  #profissoes.qz .ch {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  #profissoes.qz .ch-visual {
    justify-self: stretch;
    max-width: none;
    margin-bottom: 56px;
  }
  #profissoes.qz .cc {
    left: 16px;
    right: 16px;
    bottom: -56px;
  }
  #profissoes.qz .cap {
    grid-template-columns: minmax(0, 1fr);
  }
  #profissoes.qz .cap-lado {
    padding: 28px 22px 24px;
  }
  #profissoes.qz .cap-form {
    padding: 24px 22px 28px;
  }
  #profissoes.qz .prog {
    margin-bottom: 20px;
  }
  #profissoes.qz .recebe {
    margin-top: 20px;
    gap: 10px;
  }
  #profissoes.qz .res {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  #profissoes.qz .perg-card {
    padding: 28px 22px 24px;
  }
}

@media (max-width: 520px) {
  #profissoes.qz .ch-pista {
    margin: 28px 0;
  }
  #profissoes.qz .acoes {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  #profissoes.qz .acoes .qz-btn {
    justify-content: space-between;
  }
  #profissoes.qz .nota {
    max-width: none;
  }
  #profissoes.qz .cap-sub {
    font-size: 16px;
  }
  #profissoes.qz .recebe li {
    font-size: 14px;
  }
  #profissoes.qz .turma {
    padding: 24px 20px;
  }
  #profissoes.qz .data {
    width: 72px;
    height: 80px;
  }
  #profissoes.qz .data b {
    font-size: 34px;
  }
  #profissoes.qz .res-acoes {
    flex-direction: column;
  }
  #profissoes.qz .res-acoes .qz-btn {
    width: 100%;
    justify-content: space-between;
  }
  #profissoes.qz .res-acoes .qz-btn-c {
    justify-content: center;
    gap: 10px;
  }
  #profissoes.qz .res-ok {
    font-size: 14px;
  }
  #profissoes.qz .res-rodape {
    margin-top: 40px;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  #profissoes.qz *,
  #profissoes.qz *::before,
  #profissoes.qz *::after {
    animation: none !important;
    transition: none !important;
  }
  #profissoes.qz.qz-js .ent,
  #profissoes.qz.qz-js .ch-foto,
  #profissoes.qz.qz-js .cc,
  #profissoes.qz.qz-js .cap-form > *,
  #profissoes.qz.qz-js .tela-resultado .r-ent,
  #profissoes.qz.qz-js .tela-resultado .turma,
  #profissoes.qz.qz-js .tela-resultado .res-ok .ck {
    opacity: 1 !important;
    transform: none !important;
  }
  #profissoes.qz.qz-js .ch-titulo .ln > span,
  #profissoes.qz.qz-js .tela-resultado .res-nome span,
  #profissoes.qz.qz-js .segs i {
    transform: none !important;
  }
}
