/* Quiz da conta de luz — identidade da Reallizi (manual da marca: Azul Reallizi #2863FF, marinho #001E61, ciano #57C1FE, Montserrat) */
:root {
  --navy: #001e61;
  --navy-900: #00133f;
  --azul: #2863ff;
  --azul-600: #0038e3;
  --ciano: #57c1fe;
  --branco: #ffffff;
  --texto: #e8eeff;
  --texto-suave: #b8c6ec;
  --cartao: rgb(255 255 255 / 0.07);
  --cartao-hover: rgb(255 255 255 / 0.12);
  --linha: rgb(255 255 255 / 0.14);
  --bom: #3ddc97;
  --raio: 18px;
  --sombra-azul: 0 14px 30px -12px rgb(40 99 255 / 0.85);
  font-family: Montserrat, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, body { min-height: 100%; }
body {
  background: radial-gradient(120% 70% at 50% -10%, #0a2f86 0%, var(--navy) 45%, var(--navy-900) 100%) fixed;
  color: var(--texto); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.app { max-width: 520px; min-height: 100dvh; margin: 0 auto; padding: 14px 18px 24px; display: flex; flex-direction: column; }
.topo { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.voltar { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linha); background: var(--cartao); display: grid; place-items: center; cursor: pointer; }
.voltar:hover { background: var(--cartao-hover); }
.progresso { flex: 1; height: 8px; border-radius: 99px; background: rgb(255 255 255 / 0.12); overflow: hidden; }
.progresso span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--azul), var(--ciano)); border-radius: inherit; transform-origin: left; transform: scaleX(0.04); transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }
.topo-logo { height: 22px; width: auto; flex: none; opacity: 0.9; }
.topo.na-capa .progresso { visibility: hidden; }
.rodape { margin-top: auto; padding-top: 24px; text-align: center; font-size: 11px; color: rgb(184 198 236 / 0.7); }

.tela { padding-top: 18px; outline: none; }
.entra { animation: entra 0.42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .entra { animation: none; } .progresso span { transition: none; } }

.kicker { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ciano); }
.titulo { margin-top: 6px; text-align: center; font-size: clamp(1.45rem, 1.1rem + 1.8vw, 1.9rem); line-height: 1.18; font-weight: 800; color: var(--branco); letter-spacing: -0.01em; }
.sub { margin-top: 10px; text-align: center; color: var(--texto-suave); font-size: 0.98rem; }

/* botões */
.btn { width: 100%; min-height: 58px; margin-top: 22px; border: 0; border-radius: 16px; font-weight: 800; font-size: 1.08rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform 0.15s, background 0.2s, box-shadow 0.2s; }
.btn:active { transform: scale(0.985); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: var(--sombra-azul); }
.btn-azul:hover { background: #3a71ff; }
.btn-azul:disabled { background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.45); box-shadow: none; cursor: not-allowed; }
.btn-zap { background: #25d366; color: #05391c; box-shadow: 0 14px 30px -12px rgb(37 211 102 / 0.8); }
.btn-zap:hover { background: #2fe172; }
.btn-claro { background: #fff; color: var(--navy); }

/* capa */
.capa { text-align: center; }
.capa-foto { position: relative; margin: 6px auto 0; width: min(78%, 300px); }
.capa-foto::before { content: ""; position: absolute; inset: 12% -4% 0; border-radius: 50%; background: var(--azul); box-shadow: 0 0 0 10px rgb(87 193 254 / 0.12); }
.capa-foto img { position: relative; width: 100%; height: auto; }
.capa-selo { position: absolute; left: -4%; bottom: 14%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; text-align: left; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5); }
.capa-selo .icon { color: var(--azul); }
.capa-selo strong { display: block; font-size: 15px; color: var(--azul); }
.capa h1 { margin-top: 18px; font-size: clamp(1.75rem, 1.2rem + 3vw, 2.35rem); line-height: 1.12; font-weight: 800; color: #fff; letter-spacing: -0.015em; }
.capa h1 em { color: var(--ciano); font-style: italic; }
.provas { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.provas li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 99px; background: var(--cartao); border: 1px solid var(--linha); font-size: 12.5px; font-weight: 700; }
.provas .bola { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); }
.provas .bola .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.provas .bola-g { background: #fff; }
.provas .bola-g .icon { stroke: none; width: 14px; height: 14px; }
.micro { margin-top: 12px; display: flex; justify-content: center; gap: 14px; font-size: 12px; color: var(--texto-suave); }
.micro span { display: inline-flex; align-items: center; gap: 5px; }
.micro .icon { width: 14px; height: 14px; color: var(--ciano); }

/* opções */
.opcoes { margin-top: 22px; display: grid; gap: 10px; list-style: none; padding: 0; }
.opcoes.grade { grid-template-columns: repeat(2, 1fr); }
.opcao { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--raio); border: 1.5px solid var(--linha); background: var(--cartao); text-align: left; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.opcao:hover { background: var(--cartao-hover); }
.opcao:active { transform: scale(0.99); }
.opcao[aria-pressed="true"] { border-color: var(--ciano); background: rgb(87 193 254 / 0.14); }
.opcao .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(40 99 255 / 0.22); color: var(--ciano); }
.opcao .ico .icon { width: 22px; height: 22px; }
.opcao .txt { flex: 1; }
.opcao small { display: block; margin-top: 2px; font-weight: 500; font-size: 0.82rem; color: var(--texto-suave); }
.opcao .marca { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--linha); display: grid; place-items: center; }
.opcao[aria-pressed="true"] .marca { background: var(--ciano); border-color: var(--ciano); color: var(--navy); }
.opcao .marca .icon { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.opcao[aria-pressed="true"] .marca .icon { opacity: 1; }
.grade .opcao { justify-content: center; text-align: center; min-height: 58px; font-size: 1.05rem; }
.opcao.sugerida { border-color: rgb(87 193 254 / 0.7); }
.etiqueta { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: var(--ciano); color: var(--navy); font-size: 11px; font-weight: 800; }

/* régua do valor */
.valor-box { margin-top: 30px; text-align: center; }
.valor { display: inline-block; padding: 10px 22px; border-radius: 16px; background: var(--cartao); border: 1px solid var(--linha); font-size: 2.2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.regua { margin-top: 26px; width: 100%; accent-color: var(--azul); height: 36px; cursor: pointer; }
.regua-lim { display: flex; justify-content: space-between; font-size: 13px; color: var(--texto-suave); font-weight: 600; }
.nota { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--texto-suave); }

/* campos */
.campo { margin-top: 26px; }
.campo input, .campo select { width: 100%; min-height: 60px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--linha); background: rgb(255 255 255 / 0.95); color: var(--navy); font-size: 1.1rem; font-weight: 600; }
.campo input::placeholder { color: #5b6a8f; font-weight: 500; }
.campo input:focus, .campo select:focus { outline: 3px solid rgb(87 193 254 / 0.6); outline-offset: 2px; }
.erro { min-height: 20px; margin-top: 8px; font-size: 13px; color: #ffb4b4; }
.sugestoes { margin-top: 8px; display: grid; gap: 6px; list-style: none; padding: 0; }
.sugestoes button { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linha); background: var(--cartao); text-align: left; cursor: pointer; font-weight: 600; }
.sugestoes button:hover, .sugestoes button:focus { background: var(--cartao-hover); outline: none; }
.sugestoes small { color: var(--texto-suave); font-weight: 500; }

/* telas de prova social */
.prova { text-align: center; }
.midia { margin-top: 18px; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.midia img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.midia img:first-child { grid-row: span 2; }
.numero { margin-top: 20px; font-size: 2.6rem; font-weight: 800; color: var(--ciano); line-height: 1; }
.avaliacoes { margin-top: 18px; display: grid; gap: 10px; text-align: left; }
.av { padding: 14px 16px; border-radius: var(--raio); background: #fff; color: #202124; }
.av-topo { display: flex; align-items: center; gap: 10px; }
.av-foto { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.av-nome { font-weight: 700; font-size: 14px; }
.av-meta { font-size: 12px; color: #5f6368; }
.av-g { margin-left: auto; width: 20px; height: 20px; stroke: none; }
.estrelas { margin-top: 6px; display: flex; gap: 2px; color: #fbbc04; }
.estrelas .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.av blockquote { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.aviso { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgb(255 201 60 / 0.12); border: 1px solid rgb(255 201 60 / 0.35); text-align: left; font-size: 13.5px; }
.aviso .icon { color: #ffc93c; margin-top: 1px; }

/* carregamento */
.carregando { text-align: center; }
.anel { position: relative; width: 150px; height: 150px; margin: 26px auto 0; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 10; }
.anel .fundo { stroke: rgb(255 255 255 / 0.1); }
.anel .frente { stroke: url(#grad); stroke-linecap: round; transition: stroke-dashoffset 0.2s linear; }
.anel .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.passos { margin: 24px auto 0; max-width: 360px; display: grid; gap: 12px; list-style: none; padding: 0; text-align: left; }
.passos li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--texto-suave); transition: color 0.3s; }
.passos .st { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--linha); display: grid; place-items: center; }
.passos .st .icon { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.passos li.ativo { color: #fff; }
.passos li.ativo .st { border-color: var(--ciano); border-top-color: transparent; animation: gira 0.8s linear infinite; }
.passos li.feito { color: #fff; }
.passos li.feito .st { border-color: var(--bom); background: var(--bom); color: var(--navy); animation: none; }
.passos li.feito .st .icon { opacity: 1; }
@keyframes gira { to { transform: rotate(360deg); } }
.depo { margin-top: 26px; min-height: 92px; }

/* resultado */
.resultado { text-align: center; }
.selo-ok { width: 64px; height: 64px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; background: var(--bom); color: var(--navy); box-shadow: 0 0 0 10px rgb(61 220 151 / 0.15); }
.selo-ok .icon { width: 32px; height: 32px; stroke-width: 3; }
.resumo { margin-top: 20px; padding: 16px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); display: grid; gap: 10px; text-align: left; }
.resumo div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.resumo dt { color: var(--texto-suave); }
.resumo dd { font-weight: 700; color: #fff; text-align: right; }
.pitch { margin-top: 18px; text-align: left; font-size: 1rem; color: var(--texto); }
.pitch strong { color: #fff; }
.vantagens { margin-top: 14px; display: grid; gap: 8px; list-style: none; padding: 0; text-align: left; }
.vantagens li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.vantagens .icon { color: var(--bom); stroke-width: 3; }
.fernanda { margin-top: 20px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--raio); background: #fff; color: var(--navy); text-align: left; }
.fernanda-foto { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: #fff; font-size: 1.3rem; font-weight: 800; position: relative; object-fit: cover; }
.fernanda-on { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }
.fernanda b { display: block; }
.fernanda span { font-size: 13px; color: #4a5878; }
.letra { margin-top: 12px; font-size: 11.5px; color: var(--texto-suave); text-align: center; }
.selo-fora { width: 64px; height: 64px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 201 60 / 0.18); color: #ffc93c; }
.selo-fora .icon { width: 30px; height: 30px; }
.voltar[hidden] { display: grid; visibility: hidden; }
.fernanda-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.fernanda b { display: inline-flex; align-items: center; gap: 4px; }
.selo-v { width: 17px; height: 17px; }
.fernanda-foto { background: none; }
/* tela "como funciona" (o produto) */
.explica { margin-top: 20px; display: grid; gap: 10px; list-style: none; padding: 0; text-align: left; }
.explica li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); }
.explica .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(40 99 255 / 0.22); color: var(--ciano); }
.explica b { display: block; color: #fff; font-size: 1rem; }
.explica p { margin-top: 3px; font-size: 0.88rem; color: var(--texto-suave); line-height: 1.45; }
