/* fontes:inicio */
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fontes/gloock-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fontes/gloock-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: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fontes/schibsted-grotesk-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fontes/schibsted-grotesk-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; }
/* fontes:fim */
/* InterMedFit: quiz de entrada (comecar/). Uma pergunta por tela, celular primeiro.
   Paleta "Champanhe e ouro", a mesma do app (o quiz leva direto para ele, que começa no mesmo papel
   pelo --quiz-fundo): papel champanhe, tinta quase preta e ouro metálico só no que é destaque (botão
   final, barra de progresso, anel do "montando"). Ouro = escolhido, feito e conquista; azul só para
   água; tinta = treino. Em texto sobre o papel use a versão "-claro" (a mais escura, passa no AA).
   Texto sobre ouro usa --tinta. Cartão de ônix em poucos pontos de destaque. Nada daqui depende do app. */

:root {
  --fora: #e8dac5;
  --fundo: #f2e9dc;
  --cartao: #fbf7f0;
  --cartao-2: #f3eadc;
  --cartao-3: #eadcc6;
  --entrada-fundo: #fffcf7;
  --fundo-rgb: 242 233 220;
  --luz-rgb: 23 19 14;
  --linha: rgb(var(--luz-rgb) / .11);
  --linha-2: rgb(var(--luz-rgb) / .2);
  --contorno: #8a7c6c;
  --apagado: #e2d4bf;
  --tx: #17130e;
  --tx-2: #5c5146;
  --tx-3: #6f6255;
  --alimento: #c49156;
  --alimento-claro: #8a5a22;
  --alimento-escuro: #7d5728;
  --alimento-fundo: #f1e2c8;
  --alimento-rgb: 196 145 86;
  --agua: #3d7fae;
  --agua-claro: #2c6a96;
  --agua-fundo: #dcebf4;
  --agua-rgb: 61 127 174;
  --treino: #2b241b;
  --treino-claro: #4a3d2e;
  --treino-fundo: #e9dece;
  --treino-rgb: 43 36 27;
  --metal: linear-gradient(115deg, #7d5728 0%, #c49156 22%, #f4dfb3 46%, #d9a869 58%, #9a6c35 82%, #e2bb80 100%);
  --degrade: var(--metal);
  --degrade-texto: linear-gradient(115deg, #6f4c22, #9a6c35 45%, #b98446 60%, #7d5728);
  --ouro-claro: #e6c38f;
  --onix: #0f0d0a;
  --onix-tx: #f6eedf;
  --onix-tx-2: #d3c7b5;
  --sombra-papel: 0 1px 0 rgb(255 255 255 / .7) inset, 0 1px 2px rgb(60 40 15 / .06), 0 14px 32px -18px rgb(90 60 20 / .38);
  --conquista: var(--alimento);
  --conquista-claro: var(--alimento-claro);
  --acao: #c49156;
  --acao-claro: #8a5a22;
  --acao-rgb: 196 145 86;
  --tinta: #21160a;
  --erro: #a8402d;
  --sala: #e9e6e1;
  --titulo: "Gloock", Georgia, "Times New Roman", serif;
  --texto: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --saida: cubic-bezier(0.2, 0.8, 0.2, 1);
  --topo: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--fora); }
body {
  margin: 0; min-height: 100dvh;
  background: radial-gradient(70% 40% at 80% 0%, #fff7ea, rgb(255 247 234 / 0) 70%) no-repeat, var(--fundo); color: var(--tx);
  font-family: var(--texto); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip; font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--titulo); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
::selection { background: rgb(var(--acao-rgb) / .3); color: var(--tx); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--alimento-claro); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barra do topo: voltar, marca e progresso ---------- */

.qz-topo { position: sticky; top: 0; z-index: 10; background: rgb(var(--fundo-rgb) / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.qz-topo__linha { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: var(--topo); padding: 0 12px; max-width: 760px; margin: 0 auto; }
.qz-voltar {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s var(--saida);
}
.qz-voltar:hover { background: var(--cartao-2); }
.qz-voltar:active { transform: scale(0.92); }
.qz-voltar svg { width: 20px; height: 20px; fill: none; stroke: var(--tx); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qz-marca { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-family: var(--titulo); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--tx); text-decoration: none; }
.qz-marca img { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgb(90 60 20 / .25)); }
.qz-marca span span { color: var(--acao-claro); }
.qz-barra { height: 6px; background: rgb(var(--luz-rgb) / .08); }
.qz-barra__cheia { height: 100%; width: 0; background: var(--metal); border-radius: 0 6px 6px 0; transition: width 0.5s var(--saida); }

/* ---------- Palco e telas ---------- */

.qz-palco { position: relative; max-width: 620px; margin: 0 auto; padding: 28px 20px 140px; overflow-x: clip; }
.qz-tela { display: block; }
.qz-tela.entra { animation: qz-entra 0.45s var(--saida) both; }
.qz-tela.entra--tras { animation-name: qz-entra-tras; }
@keyframes qz-entra { from { opacity: 0; transform: translateX(28px); } }
@keyframes qz-entra-tras { from { opacity: 0; transform: translateX(-28px); } }
.qz-tela.entra .qz-op, .qz-tela.entra .qz-escala { animation: qz-sobe 0.5s var(--saida) both; }
.qz-tela.entra .qz-op:nth-child(2) { animation-delay: 0.05s; }
.qz-tela.entra .qz-op:nth-child(3) { animation-delay: 0.1s; }
.qz-tela.entra .qz-op:nth-child(4) { animation-delay: 0.15s; }
.qz-tela.entra .qz-op:nth-child(5) { animation-delay: 0.2s; }
.qz-tela.entra .qz-op:nth-child(n+6) { animation-delay: 0.25s; }
@keyframes qz-sobe { from { opacity: 0; transform: translateY(14px); } }

.qz-titulo { font-size: clamp(1.75rem, 1.25rem + 2.4vw, 2.6rem); line-height: 1.06; letter-spacing: -0.02em; }
.qz-sub { margin-top: 10px; color: var(--tx-2); font-size: 1.0625rem; max-width: 34em; }
.qz-titulo:focus { outline: none; }

/* ---------- Opções ---------- */

.qz-ops { display: grid; gap: 10px; margin-top: 26px; }
.qz-op {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%;
  min-height: 64px; padding: 12px 18px 12px 14px;
  border: 0; border-radius: 20px; background: var(--cartao); color: var(--tx);
  box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha);
  font-family: var(--texto); font-weight: 600; font-size: 1.03rem; line-height: 1.25; text-align: left;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s var(--saida);
}
.qz-op:hover { background: var(--entrada-fundo); }
.qz-op:active { transform: scale(0.98); }
.qz-op[aria-pressed="true"], .qz-op[aria-checked="true"] { background: rgb(var(--acao-rgb) / .12); color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--alimento); }
.qz-op__tx { display: grid; gap: 2px; flex: 1; }
.qz-op__tx small { font-family: var(--texto); font-weight: 400; font-size: 0.9375rem; color: var(--tx-2); }
.qz-op[aria-pressed="true"] small, .qz-op[aria-checked="true"] small { color: var(--tx-2); }
.qz-op__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--alimento-fundo); color: var(--acao-claro); }
.qz-op__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qz-op[aria-pressed="true"] .qz-op__ic, .qz-op[aria-checked="true"] .qz-op__ic { background: var(--conquista); color: var(--tinta); }
.qz-caixa { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--entrada-fundo); box-shadow: inset 0 0 0 1.5px var(--contorno); display: grid; place-items: center; }
.qz-caixa svg { width: 16px; height: 16px; fill: none; stroke: var(--ouro-claro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.qz-op[aria-checked="true"] .qz-caixa { background: var(--tx); box-shadow: none; }
.qz-op[aria-checked="true"] .qz-caixa svg { opacity: 1; }

/* Opções com foto: duas colunas, foto no alto e o nome embaixo */
.qz-ops--fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-op--foto { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 22px; }
.qz-op--foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; transition: transform 0.6s var(--saida); }
.qz-op--foto:hover img { transform: scale(1.04); }
.qz-op--foto .qz-op__tx { padding: 12px 14px 14px; }
.qz-op--foto[aria-pressed="true"] .qz-op__tx::before { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--conquista) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321160a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 3px var(--fundo); }
.qz-ops--fotos .qz-op--foto:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qz-ops--fotos .qz-op--foto:last-child:nth-child(odd) img { aspect-ratio: 16 / 7; object-position: center 25%; }

/* Opções com desenho de corpo ou de lugar */
.qz-ops--desenhos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-op--desenho { flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 12px 14px; text-align: center; }
.qz-op--desenho .qz-op__tx { justify-items: center; }
.qz-desenho { display: block; width: 100%; height: 150px; }
.qz-tela[data-tela="sexo"] .qz-desenho { height: 230px; }
.qz-desenho--lugar { height: 104px; }
.qz-op--desenho[aria-pressed="true"] .qz-desenho .pele { fill: var(--conquista); }
.qz-op--desenho[aria-pressed="true"] .qz-desenho .traco { stroke: var(--conquista); }
.qz-op--desenho[aria-pressed="true"] .qz-desenho .chao { fill: var(--alimento-escuro); }

/* Números grandes (dias, refeições, minutos) */
.qz-ops--numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-op--numero { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 112px; padding: 16px 18px; }
.qz-op--numero b { font-family: var(--texto); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -0.035em; }
.qz-op--numero small { font-family: var(--texto); font-weight: 400; font-size: 0.9375rem; color: var(--tx-2); }
.qz-op--numero[aria-pressed="true"] b { color: var(--conquista-claro); }
.qz-op--numero[aria-pressed="true"] small { color: var(--tx-2); }
.qz-pontos { display: flex; gap: 4px; }
.qz-pontos i { width: 9px; height: 9px; border-radius: 50%; background: var(--apagado); }
.qz-pontos i.on { background: var(--tx-3); }
.qz-op--numero[aria-pressed="true"] .qz-pontos i.on { background: var(--conquista); }

/* Áreas: corpo que acende onde a pessoa marca */
.qz-areas { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; align-items: center; margin-top: 22px; }
.qz-areas__corpo { border-radius: 24px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); padding: 14px 6px; }
.qz-areas__corpo svg { display: block; width: 100%; height: auto; max-height: 340px; }
.qz-areas .qz-ops { margin-top: 0; gap: 8px; }
.qz-areas .qz-op { min-height: 52px; padding: 10px 12px; font-size: 0.98rem; border-radius: 16px; }
.qz-areas__corpo .pele { fill: var(--treino-claro); }
.qz-areas__corpo .traco { stroke: var(--treino-claro); }
.zona { fill: var(--ouro-claro); opacity: 0; transition: opacity 0.3s ease; }
.zona.on { opacity: 0.9; }

/* Entrada de número: valor grande, régua e botões de mais e menos */
.qz-escala { margin-top: 30px; padding: 26px 18px 22px; border-radius: 26px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); }
.qz-valor { display: flex; align-items: center; justify-content: center; gap: 10px; }
.qz-passo {
  flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--cartao-2); box-shadow: inset 0 0 0 1px var(--linha-2); cursor: pointer;
  font-family: var(--texto); font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--tx);
  transition: background-color 0.18s ease, transform 0.18s var(--saida);
}
.qz-passo:hover { background: var(--cartao-3); }
.qz-passo:active { transform: scale(0.9); }
.qz-campo { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-width: 0; }
.qz-campo input {
  width: 4.2ch; padding: 0; border: 0; background: transparent; text-align: center;
  font-family: var(--texto); font-weight: 800; font-size: clamp(3.2rem, 2.4rem + 4vw, 4.4rem); line-height: 1.1; letter-spacing: -0.035em; color: var(--tx);
  border-radius: 12px;
}
.qz-campo input:focus { outline: none; background: var(--entrada-fundo); box-shadow: inset 0 0 0 2px var(--alimento); }
.qz-campo span { font-family: var(--texto); font-weight: 600; font-size: 1.3rem; color: var(--tx-2); }
.qz-regua { width: 100%; margin: 22px 0 6px; accent-color: var(--alimento-escuro); height: 32px; cursor: pointer; }
.qz-faixa { display: flex; justify-content: space-between; font-size: 0.9375rem; color: var(--tx-3); }
.qz-nota { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--alimento-fundo); font-size: 1rem; color: var(--tx); }
.qz-nota b { color: var(--acao-claro); }
.qz-erro { margin-top: 12px; min-height: 1.5em; color: var(--erro); font-weight: 500; font-size: 1rem; }

/* ---------- Telas de respiro (você sabia, você não está sozinha) ---------- */

.qz-info { display: grid; gap: 22px; }
.qz-info__foto { margin: 0; overflow: hidden; border-radius: 28px; }
.qz-info__foto img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.qz-tela.entra .qz-info__foto img { animation: qz-aproxima 1.4s var(--saida) both; }
@keyframes qz-aproxima { from { transform: scale(1.08); } }
.qz-info__campo { display: grid; align-content: center; gap: 4px; min-height: 220px; padding: 28px 26px; border-radius: 28px; }
.qz-info__campo b { font-family: var(--texto); font-weight: 800; font-size: clamp(2.8rem, 2rem + 4vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
.qz-info__campo span { font-size: 1.0625rem; color: var(--tx); }
.qz-cor--salvia { background: var(--alimento-fundo); } .qz-cor--salvia b { color: var(--alimento-claro); }
.qz-cor--pessego { background: var(--treino-fundo); } .qz-cor--pessego b { color: var(--tx); }
.qz-cor--lilas { background: radial-gradient(110% 90% at 100% 0%, rgb(var(--alimento-rgb) / .22), transparent 60%), var(--onix); } .qz-cor--lilas b { color: var(--ouro-claro); } .qz-cor--lilas span { color: var(--onix-tx); }
.qz-info .qz-sub { font-size: 1.125rem; color: var(--tx); }

/* ---------- Montando o plano ---------- */

.qz-monta { display: grid; justify-items: center; gap: 26px; padding-top: 18px; text-align: center; }
.qz-anel { position: relative; width: 170px; height: 170px; }
.qz-anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-anel circle { fill: none; stroke-width: 12; }
.qz-anel .fundo { stroke: rgb(var(--luz-rgb) / .08); }
.qz-anel .cheio { stroke: url(#qzanel) var(--alimento); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.3s linear; }
.qz-anel b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--texto); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.035em; }
.qz-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 420px; text-align: left; }
.qz-passos li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); color: var(--tx-3); transition: background-color 0.3s ease, color 0.3s ease; }
.qz-passos li i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--entrada-fundo); box-shadow: inset 0 0 0 1.5px var(--contorno); display: grid; place-items: center; }
.qz-passos li i svg { width: 14px; height: 14px; fill: none; stroke: var(--ouro-claro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qz-passos li.feito { background: rgb(var(--acao-rgb) / .12); color: var(--tx); box-shadow: inset 0 0 0 1px rgb(var(--alimento-rgb) / .45); }
.qz-passos li.feito i { background: var(--tx); box-shadow: none; }
.qz-passos li:not(.feito) i svg { opacity: 0; }

/* ---------- Revelação ---------- */

.qz-revela .qz-titulo { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.9rem); }
.qz-chega { margin-top: 12px; font-size: 1.2rem; color: var(--tx-2); }
.qz-chega b { color: var(--conquista-claro); }
.qz-grafico { margin-top: 22px; padding: 18px 12px 12px; border-radius: 26px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); }
.qz-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 8px 0; font-size: 0.9375rem; color: var(--tx-2); }
.qz-legenda span { display: inline-flex; align-items: center; gap: 8px; }
.qz-legenda span::before { content: ""; width: 18px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--treino), var(--alimento-escuro) 50%, var(--alimento)); }
.qz-legenda span + span::before { height: 12px; background: rgb(var(--alimento-rgb) / .3); }
.qz-legenda span + span + span::before { height: 0; border-top: 2.5px dashed var(--alimento-escuro); background: none; }
.qz-aviso { margin-top: 10px; font-size: 0.9375rem; color: var(--tx-3); }
.qz-corpo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.qz-corpo div { display: grid; gap: 3px; padding: 14px 16px; border-radius: 20px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); }
.qz-corpo span, .qz-corpo small { font-size: 0.9375rem; color: var(--tx-2); }
.qz-corpo b { font-family: var(--texto); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.035em; line-height: 1.15; }
.qz-perfil { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-perfil li { display: grid; align-content: start; gap: 4px; padding: 16px 16px 18px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--linha); }
.qz-perfil li span { font-size: 0.9375rem; color: var(--tx-2); }
.qz-perfil li b { font-family: var(--titulo); font-weight: 400; font-size: 1.45rem; line-height: 1.12; letter-spacing: -0.015em; }
.qz-perfil li small { font-size: 0.9375rem; color: var(--tx-2); line-height: 1.35; }
.qz-perfil li:nth-child(4n+1) { background: var(--alimento-fundo); } .qz-perfil li:nth-child(4n+1) b { color: var(--alimento-claro); }
.qz-perfil li:nth-child(4n+2) { background: var(--treino-fundo); } .qz-perfil li:nth-child(4n+2) b { color: var(--tx); }
.qz-perfil li:nth-child(4n+3) { background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); }
.qz-perfil li:nth-child(4n+4) { background: var(--onix); box-shadow: inset 0 0 0 1px rgb(230 195 143 / .18); color: var(--onix-tx); } .qz-perfil li:nth-child(4n+4) b { color: var(--ouro-claro); }
.qz-perfil li:nth-child(4n+4) span, .qz-perfil li:nth-child(4n+4) small { color: var(--onix-tx-2); }
.qz-voce { margin-top: 22px; padding: 22px 22px 24px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, rgb(var(--alimento-rgb) / .16), transparent 60%), var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px rgb(var(--alimento-rgb) / .35); color: var(--tx); }
.qz-voce h2 { font-size: 1.5rem; line-height: 1.15; color: var(--acao-claro); }
.qz-voce p { margin-top: 8px; color: var(--tx); }
.qz-inclui { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.qz-inclui li { display: flex; gap: 12px; align-items: flex-start; }
.qz-inclui svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--alimento-escuro); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.qz-adaptado { margin-top: 18px; padding: 14px 18px; border-radius: 18px; background: var(--alimento-fundo); font-size: 1rem; color: var(--tx); }
.qz-adaptado b { color: var(--conquista-claro); }
.qz-montado-t { margin-top: 24px; font-size: 1.45rem; line-height: 1.15; }
.qz-inclui--montado { margin-top: 10px; }
.qz-op--declara { align-items: flex-start; }
.qz-op--declara .qz-op__tx { font-family: var(--texto); font-weight: 500; font-size: 1rem; line-height: 1.45; }
.qz-op--declara .qz-caixa { margin-top: 2px; }
.qz-letra { margin-top: 12px; font-size: 0.9375rem; color: var(--tx-2); text-align: center; }
.qz-letra b { color: var(--tx); }
.qz-refazer { display: block; margin: 18px auto 0; padding: 12px 16px; border: 0; background: none; color: var(--acao-claro); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 1rem; }

/* ---------- Botão de ação preso embaixo ---------- */

.qz-acao {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgb(var(--fundo-rgb) / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--linha);
}
.qz-acao__in { max-width: 580px; margin: 0 auto; }
.qz-acao[hidden] { display: none; }
.botao {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 58px; padding: 0.8em 1.6em; border: 0; border-radius: 999px;
  background: var(--tx); color: var(--cartao); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 20px -12px rgb(23 19 14 / .7);
  font-family: var(--texto); font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  transition: filter 0.18s ease, transform 0.18s var(--saida), opacity 0.18s ease;
}
.botao:hover { background: #2e271e; transform: translateY(-2px); }
.botao:active { transform: scale(0.98); }
.botao[aria-disabled="true"] { background: var(--cartao-3); color: var(--tx-2); cursor: not-allowed; transform: none; filter: none; box-shadow: inset 0 0 0 1px var(--linha-2); }
.botao--ouro { font-weight: 700; background: var(--metal); color: var(--tinta); box-shadow: 0 12px 26px -10px rgb(196 145 86 / .7), inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -2px 0 rgb(90 60 20 / .25); }
.botao--ouro:hover { background: var(--metal); filter: brightness(1.05); }
@media (hover: none) { .botao:hover { background: var(--tx); filter: none; transform: none; } .botao--ouro:hover { background: var(--metal); filter: none; transform: none; } }
.botao[aria-disabled="true"]:hover { filter: none; transform: none; }

/* ---------- Gráfico (curva até a meta) ---------- */

.cm { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--texto); }
.cm-grad-a { stop-color: var(--alimento); stop-opacity: 0.3; }
.cm-grad-b { stop-color: var(--alimento); stop-opacity: 0; }
.cm-linha-a { stop-color: var(--treino); }
.cm-linha-b { stop-color: var(--alimento-escuro); }
.cm-linha-c { stop-color: var(--alimento); }
.cm-faixa { fill: var(--alimento); opacity: 0.16; }
.cm-lenta { fill: none; stroke: var(--tx-3); stroke-width: 1.5; stroke-dasharray: 0.006 0.012; opacity: 0.7; }
.cm-linha { fill: none; stroke: url(#qzlinha) var(--alimento); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 0; }
.cm-linha-meta { stroke: var(--alimento-escuro); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: 0.8; }
.cm-tique { fill: var(--tx-3); opacity: 0.6; }
.cm-mes { fill: var(--tx-3); font-size: var(--cm-fs, 13px); }
.cm-marco--inicio { fill: var(--tx); stroke: var(--cartao); stroke-width: 3; }
.cm-marco--meta { fill: var(--alimento); stroke: var(--cartao); stroke-width: 3; }
.cm-halo--meta { fill: var(--alimento); opacity: 0.25; animation: cm-pulsa 2.4s ease-in-out 2s infinite; transform-box: fill-box; transform-origin: center; }
.cm-pilula__fundo { fill: var(--cartao); stroke: var(--contorno); stroke-width: 1; }
.cm-pilula__tx { fill: var(--tx); font-size: var(--cm-fs, 13px); font-family: var(--texto); }
.cm-pilula--meta .cm-pilula__fundo { fill: var(--alimento); stroke: none; }
.cm-pilula--meta .cm-pilula__tx { fill: var(--tinta); }
.cm-forte { font-weight: 700; }
.cm--anima .cm-linha { stroke-dasharray: 1 1; animation: cm-desenha 1.6s var(--saida) 0.2s both; }
.cm--anima .cm-area, .cm--anima .cm-faixa, .cm--anima .cm-lenta { animation: cm-surge 0.9s ease 0.8s both; }
.cm--anima .cm-marcas > * { animation: cm-pop 0.5s var(--saida) 1.5s both; transform-box: fill-box; transform-origin: center; }
.cm--anima .cm-marcas > :first-child, .cm--anima .cm-marcas > :nth-child(2) { animation-delay: 0.1s; }
@keyframes cm-desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cm-surge { from { opacity: 0; } }
@keyframes cm-pop { from { opacity: 0; transform: scale(0.5); } }
@keyframes cm-pulsa { 50% { transform: scale(1.35); opacity: 0.08; } }

.qz-semjs { max-width: 560px; margin: 40px auto; padding: 0 20px; }
.qz-semjs a { color: var(--acao-claro); }

@media (min-width: 720px) {
  .qz-palco { padding-top: 48px; }
  .qz-ops--fotos, .qz-ops--desenhos { gap: 14px; }
  .qz-desenho { height: 150px; }
  .qz-perfil { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qz-acao { padding-bottom: 22px; }
}
@media (min-width: 720px) and (min-height: 760px) {
  .qz-ops--fotos .qz-op--foto img { aspect-ratio: 1 / 1; }
  .qz-ops--fotos .qz-op--foto:last-child:nth-child(odd) img { aspect-ratio: 16 / 6; }
}
@media (max-width: 419px) {
  .qz-escala { padding-left: 14px; padding-right: 14px; }
  .qz-valor { gap: 6px; }
  .qz-passo { width: 46px; height: 46px; }
  .qz-campo { gap: 4px; }
  .qz-campo input { width: 4ch; font-size: 2.8rem; }
  .qz-campo span { font-size: 1.1rem; }
}
@media (max-width: 359px) {
  .qz-palco { padding-left: 14px; padding-right: 14px; }
  .qz-areas { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .qz-op--numero b { font-size: 2rem; }
  .qz-escala { padding-left: 12px; padding-right: 12px; }
  .qz-valor { gap: 6px; }
  .qz-passo { width: 44px; height: 44px; font-size: 1.4rem; }
  .qz-campo { gap: 4px; }
  .qz-campo input { width: 4ch; font-size: 2.4rem; }
  .qz-campo span { font-size: 1.05rem; }
}

/* Celular deitado: a tela tem ~390 px de altura e o botão fixo cobria o valor da pergunta */
@media (orientation: landscape) and (max-height: 480px) {
  :root { --topo: 52px; }
  .qz-voltar { width: 40px; height: 40px; }
  .qz-palco { padding-top: 14px; padding-bottom: 96px; }
  .qz-titulo { font-size: 1.5rem; }
  .qz-sub { margin-top: 4px; font-size: 0.95rem; }
  .qz-escala { margin-top: 14px; padding-top: 14px; padding-bottom: 12px; }
  .qz-regua { margin: 10px 0 4px; }
  .qz-acao { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .botao { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .qz-tela.entra, .qz-tela.entra *, .qz-tela.entra .qz-info__foto img { animation: none !important; }
  .qz-barra__cheia, .qz-op, .botao, .zona, .qz-op--foto img { transition: none; }
  .cm--anima *, .cm-halo--meta { animation: none !important; }
}
.qz-revela { padding-bottom: 70px; }
.qz-ops--fotos .qz-op--corpo img, .qz-ops--fotos .qz-op--corpo:last-child:nth-child(odd) img { aspect-ratio: 3 / 4; object-position: center 30%; background: var(--sala); }

/* "Para onde mando o seu plano?" (contato antes da revelação) */
.qz-tela[data-tela="contato"] { padding-bottom: 48px; }
.qz-form { display: grid; gap: 12px; margin-top: 18px; }
.qz-campo-linha { display: grid; gap: 6px; min-width: 0; }
.qz-campo-linha label { font-family: var(--texto); font-weight: 600; font-size: 0.95rem; color: var(--tx); }
.qz-campo-linha label span { font-family: var(--texto); font-weight: 400; color: var(--tx-3); }
.qz-campo-linha input {
  width: 100%; min-width: 0; min-height: 52px; padding: 11px 16px; border: 1.5px solid var(--contorno); border-radius: 16px;
  background: var(--entrada-fundo); color: var(--tx); font: 500 1.0625rem/1.3 var(--texto);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.qz-campo-linha input::placeholder { color: var(--tx-3); opacity: 1; }
.qz-campo-linha input:focus { outline: none; border-color: var(--alimento); background: var(--entrada-fundo); box-shadow: 0 0 0 4px rgb(var(--acao-rgb) / .18); }
.qz-aceite { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--cartao); box-shadow: var(--sombra-papel), inset 0 0 0 1px var(--linha); font-size: 0.97rem; line-height: 1.45; color: var(--tx); cursor: pointer; }
.qz-aceite input {
  flex: none; width: 24px; height: 24px; margin: 1px 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; display: grid; place-content: center;
  border: 2px solid var(--tx-3); border-radius: 7px; background: var(--entrada-fundo);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.qz-aceite input::before { content: ""; width: 12px; height: 7px; margin-top: -3px; border: solid var(--ouro-claro); border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); transition: transform 0.15s var(--saida); }
.qz-aceite input:checked { background: var(--tx); border-color: var(--tx); }
.qz-aceite input:checked::before { transform: rotate(-45deg) scale(1); }
.qz-aceite input:focus-visible { outline: 3px solid var(--alimento-claro); outline-offset: 3px; }
.qz-aceite:hover input:not(:checked) { border-color: var(--tx-2); }
.qz-aceite a { color: var(--acao-claro); text-underline-offset: 3px; white-space: nowrap; }
.qz-form .qz-erro { margin-top: 0; }
.qz-pote { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.qz-pular { display: block; margin: 6px auto 0; padding: 10px 18px; min-height: 44px; border: 0; background: none; color: var(--tx-3); font: 500 0.97rem var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qz-pular:hover { color: var(--tx); }
.botao[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* faixa do convite de indicação ("Você foi convidada pela ...") */
.qz-convite { margin: 6px 0 8px; padding: 8px 12px; border-radius: 12px; background: var(--alimento-fundo); color: var(--tx); font-size: 14px; text-align: center; }
.qz-convite b { color: var(--acao-claro); }
.qz-convite[hidden] { display: none; }
