/* Página de diagnóstico (quiz). Usa as variáveis e os botões de style.css. */
/* ds-allow-hardcode: tamanhos e tons seguem o site original. */
.diag-hero { padding-bottom: 4em; } /* ds-allow-hardcode */
.diag-hero .hero__inner { gap: 18px; } /* ds-allow-hardcode */
.diag-selo { display: inline-block; padding: 6px 14px; border: 1px solid var(--cinza-borda); border-radius: 888px; font: 600 13px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #e6e6e6; } /* ds-allow-hardcode */
.diag-hero__title { font-size: 36px; max-width: 820px; } /* ds-allow-hardcode */
.diag-hero__text { max-width: 640px; font-size: 18px; color: #ececec; } /* ds-allow-hardcode */
.diag-garantias { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 500 15px/1.3 var(--sans); color: #d8d8d8; } /* ds-allow-hardcode */
.diag-garantias li { display: inline-flex; align-items: center; gap: 8px; } /* ds-allow-hardcode */
.diag-garantias li::before { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--verde-1); border-bottom: 2px solid var(--verde-1); transform: rotate(-45deg) translateY(-2px); } /* ds-allow-hardcode */

.diag-quiz { background: var(--claro); padding: 0 0 4em; } /* ds-allow-hardcode */
.quiz-card { position: relative; max-width: 720px; margin: -3em auto 0; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .14); padding: 2.4em 2.4em 2em; } /* ds-allow-hardcode */
.quiz-progresso { height: 6px; background: #ececec; border-radius: 6px; overflow: hidden; } /* ds-allow-hardcode */
.quiz-progresso span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--verde-1), var(--verde-2)); transition: width .35s ease; } /* ds-allow-hardcode */
.quiz-etapa { margin: 14px 0 6px; font: 600 13px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #6b6b6b; } /* ds-allow-hardcode */
.quiz-pergunta { font: 700 25px/1.3 var(--serif); color: var(--titulo); outline: none; } /* ds-allow-hardcode */
.quiz-ajuda { margin-top: 8px; font: 400 16px/1.5 var(--sans); color: #555; } /* ds-allow-hardcode */
.quiz-opcoes { display: grid; gap: 10px; margin-top: 22px; } /* ds-allow-hardcode */
.quiz-opcao { text-align: left; width: 100%; padding: 17px 18px; border: 2px solid #e2e2e2; border-radius: 12px; background: #fff; font: 500 17px/1.35 var(--sans); color: var(--texto); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; } /* ds-allow-hardcode */
.quiz-opcao:hover { border-color: var(--verde-1); background: #f2fbf3; } /* ds-allow-hardcode */
.quiz-opcao:focus-visible { outline: 3px solid var(--verde-2); outline-offset: 2px; } /* ds-allow-hardcode */
.quiz-opcao.is-marcada { border-color: var(--verde-2); background: #eaf7ec; } /* ds-allow-hardcode */

.quiz-contato { display: flex; flex-direction: column; gap: 14px; } /* ds-allow-hardcode */
.quiz-contato label { display: flex; flex-direction: column; gap: 6px; font: 600 15px/1.3 var(--sans); color: var(--titulo); } /* ds-allow-hardcode */
.quiz-contato label small { font-weight: 400; color: #777; } /* ds-allow-hardcode */
.quiz-contato input:not([type=checkbox]) { padding: 14px 15px; border: 2px solid #dcdcdc; border-radius: 10px; font: 400 17px/1.3 var(--sans); color: var(--texto); } /* ds-allow-hardcode */
.quiz-contato input:focus { outline: none; border-color: var(--verde-2); }
.quiz-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; line-height: 1.45 !important; color: #444 !important; } /* ds-allow-hardcode */
.quiz-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--verde-2); } /* ds-allow-hardcode */
.quiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* ds-allow-hardcode */
.quiz-erro { min-height: 1.2em; font: 500 14px/1.3 var(--sans); color: #b42318; } /* ds-allow-hardcode */
.quiz-contato .btn { align-self: flex-start; border: 0; cursor: pointer; } /* ds-allow-hardcode */
.quiz-contato .btn:disabled { opacity: .6; cursor: progress; } /* ds-allow-hardcode */

.quiz-resultado { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; } /* ds-allow-hardcode */
.quiz-res-texto { font: 400 17px/1.6 var(--sans); color: var(--texto); } /* ds-allow-hardcode */
[data-resultado="forte"] .quiz-resultado .quiz-pergunta { color: var(--verde-2); }
.quiz-aviso { font: 400 13px/1.5 var(--sans); color: #6b6b6b; border-top: 1px solid #eee; padding-top: 14px; } /* ds-allow-hardcode */
.quiz-link { background: none; border: 0; padding: 6px 0; font: 600 15px/1.3 var(--sans); color: #555; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; } /* ds-allow-hardcode */
.quiz-link:hover { color: var(--texto); }
.quiz-voltar { margin-top: 16px; text-decoration: none; } /* ds-allow-hardcode */

.diag-explica { background: #fff; padding: 4.5em 0; text-align: center; } /* ds-allow-hardcode */
.diag-h2 { font: 700 30px/1.25 var(--serif); color: var(--titulo); margin-bottom: 1.4em; } /* ds-allow-hardcode */
.diag-explica__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; text-align: left; margin-bottom: 2.4em; } /* ds-allow-hardcode */
.diag-explica__item { background: var(--claro); border-radius: 14px; padding: 1.6em; } /* ds-allow-hardcode */
.diag-explica__item h3 { margin: 12px 0 8px; font: 700 19px/1.3 var(--serif); color: var(--titulo); } /* ds-allow-hardcode */
.diag-explica__item p { font: 400 16px/1.55 var(--sans); color: var(--texto); } /* ds-allow-hardcode */
.diag-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, var(--verde-1), var(--verde-2)); color: #fff; font: 700 16px/1 var(--sans); } /* ds-allow-hardcode */

.diag-faq { padding: 4.5em 0; } /* ds-allow-hardcode */
.diag-faq__inner { max-width: 820px; display: flex; flex-direction: column; gap: 1.4em; } /* ds-allow-hardcode */
.diag-faq .faq__title { text-align: center; }
.diag-rodape-aviso { font: 400 13px/1.4 var(--sans); color: #bdbdbd; max-width: 600px; } /* ds-allow-hardcode */

@media (max-width: 767px) { /* ds-allow-hardcode */
  .diag-hero { padding-bottom: 3.5em; } /* ds-allow-hardcode */
  .diag-hero__title { font-size: 26px; } /* ds-allow-hardcode */
  .diag-hero__text { font-size: 16px; } /* ds-allow-hardcode */
  .quiz-card { margin-top: -2.5em; padding: 1.6em 1.2em 1.4em; border-radius: 14px; } /* ds-allow-hardcode */
  .quiz-pergunta { font-size: 21px; } /* ds-allow-hardcode */
  .quiz-opcao { font-size: 16px; padding: 15px; } /* ds-allow-hardcode */
  .quiz-contato .btn, .quiz-resultado .btn { align-self: stretch; }
  .diag-explica { padding: 3em 0; } /* ds-allow-hardcode */
  .diag-h2 { font-size: 24px; } /* ds-allow-hardcode */
  .diag-explica__grid { grid-template-columns: 1fr; gap: 1em; } /* ds-allow-hardcode */
  .diag-faq { padding: 3em 0; } /* ds-allow-hardcode */
}

.quiz-passo[hidden], .quiz-link[hidden] { display: none !important; }
