/* ==========================================================================
   SALUTE NATURALE — Sistema Visual do Quiz (design/quiz.css)
   Responsável: Gemini (Antigravity)
   Compatível 100% com a marcação gerada por app/src/main.js e app/index.html.
   Mobile-first (375px), coluna máxima 780px no desktop (como a landing).
   ========================================================================== */

:root {
  /* Paleta da marca (docs/landing page base) */
  --green: #143f2d;
  --green-2: #0d3022;
  --olive: #71834a;
  --cream: #f7f1e3;
  --paper: #fffdf7;
  --terracotta: #b45532;
  --gold: #c59b4a;
  --ink: #17231d;
  --muted: #5d685f;
  --red: #c63d35;
  --line: #e8dfcc;
  --line-strong: #dfd4bf;

  /* Superfícies semânticas */
  --sage-soft: #eaf2ed;
  --sage-border: #cde0d3;
  --terracotta-soft: #fbe9e2;
  --gold-soft: #f6ecd2;

  /* CTA principal (decisão aprovada pelo usuário: #24914e → #17693a) */
  --cta-start: #24914e;
  --cta-end: #17693a;
  --cta-border: #3fae66;
  --cta-shadow: #0f4f2a;

  /* CTA secundário do modal de saída 5,90 € (tom verde profundo da landing) */
  --cta-exit-start: #205a41;
  --cta-exit-end: #123c2b;
  --cta-exit-border: #3d765c;
  --cta-exit-shadow: #09291c;

  /* Raios e elevações */
  --radius: 24px;
  --radius-card: 20px;
  --radius-option: 16px;
  --radius-cta: 14px;
  --shadow: 0 20px 60px rgba(25, 48, 34, .14);
  --shadow-shell: 0 0 70px rgba(26, 44, 32, .12);
  --shadow-soft: 0 8px 24px rgba(25, 48, 34, .06);
  --shadow-option: 0 2px 0 rgba(197, 178, 144, .34), 0 6px 18px rgba(25, 48, 34, .05);
  --shadow-option-hover: 0 4px 0 rgba(113, 131, 74, .22), 0 12px 24px rgba(25, 48, 34, .09);
  --shadow-option-selected: 0 0 0 1px var(--green), 0 10px 24px rgba(20, 63, 45, .13);
}

/* ---------- Base e Acessibilidade ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html, body {
    overflow-x: clip;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* Fundo quente nas margens laterais do desktop (> 780px), fiel à landing */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 10%, #fffaf1 0, transparent 34%), #eee6d8;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Foco programático em H1 na troca de tela (main.js) sem aro visual intrusivo */
h1[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Cabeçalho e Coluna Principal (max 780px) ---------- */
.q-header {
  width: min(100%, 780px);
  margin-inline: auto;
  min-height: 54px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 253, 247, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  flex: 0 0 auto;
  position: relative;
  z-index: 10;
}

.q-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.q-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  line-height: 1;
}

.q-brand:empty {
  display: none;
}

.q-main {
  width: min(100%, 780px);
  margin-inline: auto;
  padding: 20px 20px calc(32px + env(safe-area-inset-bottom));
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 90% 4%, rgba(197, 155, 74, .14), transparent 30%),
    radial-gradient(circle at 6% 32%, rgba(180, 85, 50, .05), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, var(--paper) 34%, #f9f3e7 100%);
}

.q-screen {
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  animation: q-screen-in .28s cubic-bezier(.22, .8, .25, 1) both;
}

@keyframes q-screen-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Tipografia Compartilhada ---------- */
.q-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--terracotta);
}

.q-title,
.q-question__text,
.q-modal__title,
.q-offer__name {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--green-2);
  text-wrap: balance;
}

/* ---------- Botão CTA Principal e Recusa ---------- */
.q-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  min-height: 60px;
  padding: 15px 16px;
  border: 1px solid var(--cta-border);
  border-radius: var(--radius-cta);
  background: linear-gradient(180deg, var(--cta-start), var(--cta-end));
  box-shadow: 0 7px 0 var(--cta-shadow), 0 14px 26px rgba(11, 96, 45, .28);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .18s ease;
}

.q-cta__label {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.84rem, 3.85vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.24;
  text-wrap: balance;
}

.q-cta__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #eaf7ee;
  text-wrap: balance;
}

.q-cta__sub::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eaf7ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (hover: hover) {
  .q-cta:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 0 var(--cta-shadow), 0 10px 20px rgba(11, 96, 45, .28);
    filter: brightness(1.03);
  }
}

.q-cta:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--cta-shadow), 0 4px 10px rgba(11, 96, 45, .24);
}

.q-cta--exit {
  border-radius: 999px;
  border-color: var(--cta-exit-border);
  background: linear-gradient(180deg, var(--cta-exit-start), var(--cta-exit-end));
  box-shadow: 0 6px 0 var(--cta-exit-shadow), 0 12px 24px rgba(10, 55, 35, .27);
}

@media (hover: hover) {
  .q-cta--exit:hover {
    box-shadow: 0 4px 0 var(--cta-exit-shadow), 0 9px 18px rgba(10, 55, 35, .26);
  }
}

.q-cta--exit:active {
  box-shadow: 0 1px 0 var(--cta-exit-shadow), 0 4px 10px rgba(10, 55, 35, .24);
}

.q-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 12px auto 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

@media (hover: hover) {
  .q-decline:hover {
    color: var(--ink);
    background: rgba(20, 63, 45, .05);
  }
}

/* ==========================================================================
   TELA 1 — ABERTURA (.q-intro)
   ========================================================================== */
.q-intro {
  padding-top: 8px;
}

.q-intro .q-kicker {
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  border: 1px solid rgba(180, 85, 50, .2);
  margin-bottom: 16px;
}

.q-intro .q-title {
  font-size: clamp(2rem, 8.2vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.q-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1.03rem, 4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--green);
  text-wrap: pretty;
}

.q-body {
  margin: 0 0 26px;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.q-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.54;
  color: var(--muted);
}

.q-body p:last-child {
  color: var(--green-2);
  font-weight: 700;
}

.q-cta--start {
  min-height: 62px;
  margin-bottom: 26px;
}

.q-cta--start .q-cta__label {
  font-size: 1.05rem;
}

/* ==========================================================================
   TELAS 2–10 — PERGUNTA (.q-question)
   ========================================================================== */
.q-question {
  padding-top: 0;
}

.q-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.q-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: -10px;
  padding: 8px 12px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.q-back::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d685f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .18s ease;
}

@media (hover: hover) {
  .q-back:hover {
    color: var(--green);
    background: rgba(20, 63, 45, .06);
  }
  .q-back:hover::before {
    transform: translateX(-2px);
  }
}

.q-back:active {
  color: var(--green-2);
  background: rgba(20, 63, 45, .1);
}

.q-progress__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 63, 45, .07);
  border: 1px solid rgba(20, 63, 45, .1);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.q-progress {
  width: 100%;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.q-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olive) 0%, var(--cta-end) 100%);
  transition: width .35s cubic-bezier(.22, .8, .25, 1);
}

.q-question__text {
  margin-bottom: 22px;
  font-size: clamp(1.38rem, 5.5vw, 2.05rem);
  line-height: 1.2;
}

.q-question__text::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--terracotta);
}

.q-options {
  display: grid;
  gap: 11px;
}

.q-option {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 15px 16px 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-option);
  box-shadow: var(--shadow-option);
  cursor: pointer;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .14s ease;
}

.q-option__label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color .18s ease;
}

.q-option__mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #cfc2aa;
  background: var(--paper);
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s cubic-bezier(.22, .8, .25, 1),
    box-shadow .18s ease;
}

@media (hover: hover) {
  .q-option:hover {
    background: #fffcf5;
    border-color: var(--olive);
    transform: translateY(-1px);
    box-shadow: var(--shadow-option-hover);
  }
  .q-option:hover .q-option__mark {
    border-color: var(--green);
    background: #f5f9f6;
  }
}

.q-option:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(20, 63, 45, .22), 0 3px 10px rgba(25, 48, 34, .08);
}

.q-option.is-selected,
.q-option[aria-checked="true"] {
  background: var(--sage-soft);
  border-color: var(--green);
  box-shadow: var(--shadow-option-selected);
  transform: none;
}

.q-option.is-selected .q-option__label,
.q-option[aria-checked="true"] .q-option__label {
  color: var(--green-2);
  font-weight: 700;
}

.q-option.is-selected .q-option__mark,
.q-option[aria-checked="true"] .q-option__mark {
  border-color: var(--cta-end);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center/13px no-repeat,
    linear-gradient(180deg, var(--cta-start), var(--cta-end));
  box-shadow: 0 3px 10px rgba(23, 105, 58, .3);
  transform: scale(1.04);
}

/* ==========================================================================
   TELA 11 — TRANSIÇÃO (.q-transition)
   ========================================================================== */
.q-transition {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 36px 48px;
}

.q-spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-right-color: var(--gold);
  box-shadow: 0 0 0 8px rgba(20, 63, 45, .05);
  animation: q-spin .95s linear infinite;
}

@keyframes q-spin {
  to { transform: rotate(360deg); }
}

.q-transition .q-kicker {
  justify-content: center;
  margin-bottom: 10px;
}

.q-transition .q-title {
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  margin-bottom: 28px;
}

.q-steps {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}

.q-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--green-2);
  opacity: 0;
  transform: translateY(10px);
  animation: q-step-in .45s cubic-bezier(.22, .8, .25, 1) forwards;
  animation-delay: calc(var(--i, 0) * .65s);
}

.q-step::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center/12px no-repeat,
    linear-gradient(180deg, var(--cta-start), var(--cta-end));
}

@keyframes q-step-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TELA 12 — RESULTADO + OFERTA (.q-result)
   ========================================================================== */
.q-result {
  padding-top: 4px;
}

.q-diagnosis {
  padding: 24px 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.q-diagnosis[data-result="A"] {
  background: linear-gradient(180deg, #fff5f1 0%, #fffdf8 100%);
  border-color: #eed1c6;
  border-top-color: var(--terracotta);
}

.q-diagnosis[data-result="B"] {
  background: linear-gradient(180deg, #fcf6e8 0%, #fffdf8 100%);
  border-color: #e6d7b6;
  border-top-color: var(--gold);
}

.q-diagnosis[data-result="C"] {
  background: linear-gradient(180deg, #eef5f0 0%, #fffdf8 100%);
  border-color: var(--sage-border);
  border-top-color: var(--olive);
}

.q-diagnosis .q-title {
  font-size: clamp(1.62rem, 6.8vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.q-diagnosis p {
  margin: 0 0 11px;
  font-size: 0.97rem;
  line-height: 1.56;
  color: var(--muted);
}

.q-diagnosis p:first-of-type {
  color: var(--ink);
  font-weight: 700;
}

.q-diagnosis p:last-child {
  margin-bottom: 0;
  color: var(--green-2);
  font-weight: 700;
}

/* Linhas personalizadas P5 e P9 */
.q-personal {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.q-personal__line {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: 0 16px 16px 0;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  line-height: 1.54;
  color: var(--ink);
}

.q-personal__line--p5 {
  border-left-color: var(--terracotta);
}

.q-personal__line--p9 {
  border-left-color: var(--gold);
  background: #fffdf7;
}

/* Bloco de Oferta (€9,90 ou €5,90 retenção) */
.q-offer {
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin-top: 26px;
  padding: 28px 18px 24px;
  border-radius: var(--radius);
  border: 2px solid #d3b065;
  background: linear-gradient(180deg, #164632 0%, var(--green) 58%, var(--green-2) 100%);
  color: #eef3ee;
  box-shadow: 0 20px 54px rgba(13, 48, 34, .22);
  text-align: center;
}

.q-offer--retention {
  border-color: #e6c77d;
  box-shadow: 0 22px 60px rgba(13, 48, 34, .26), 0 0 0 1px rgba(230, 199, 125, .35);
}

.q-offer .q-kicker {
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #ffffff;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.q-offer--retention .q-kicker {
  background: #e5c473;
  color: var(--green-2);
}

.q-offer__name {
  font-size: clamp(1.75rem, 7vw, 2.3rem);
  letter-spacing: 0.025em;
  color: #fffdf7;
  margin-bottom: 4px;
}

.q-offer__signature {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: #e6cf92;
}

.q-offer__mockup {
  display: block;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .2));
}

.q-offer__intro {
  margin: 0 auto 16px;
  max-width: 46ch;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #dce6df;
}

.q-offer__collections {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: qcol;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.q-offer__collections li {
  counter-increment: qcol;
  position: relative;
  padding: 11px 6px 11px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.4;
  color: #f4f7f4;
}

.q-offer__collections li::before {
  content: counter(qcol, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0cf8d;
}

.q-offer__collections li.is-chosen {
  margin: 6px -8px;
  padding: 12px 12px 12px 42px;
  border-radius: 12px;
  background: rgba(230, 199, 125, .14);
  border: 1px solid rgba(230, 199, 125, .44);
  color: #ffffff;
  font-weight: 700;
}

.q-offer__collections li.is-chosen::before {
  left: 12px;
  top: 11px;
  color: #f6dc8d;
}

.q-chosen-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e5c473;
  color: var(--green-2);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

/* Prévia do produto dentro do card da oferta (.q-preview) */
.q-preview {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 16px 12px 14px;
  border-radius: 18px;
  background: rgba(13, 48, 34, .42);
  border: 1px solid rgba(230, 199, 125, .24);
  text-align: center;
}

.q-preview__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f6dc8d;
  text-wrap: balance;
}

.q-preview__gallery {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 2px 2px 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.q-preview__gallery::-webkit-scrollbar {
  display: none;
}

.q-preview__img {
  flex: 0 0 39%;
  min-width: 96px;
  max-width: 146px;
  width: 39%;
  height: auto;
  aspect-ratio: 600 / 848;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 253, 247, .22);
  background: #fffdf7;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
  scroll-snap-align: start;
}

.q-preview__caption {
  margin: 8px auto 0;
  max-width: 42ch;
  font-size: 0.78rem;
  line-height: 1.42;
  color: #d5e0d8;
  text-wrap: pretty;
}

/* Ponte emocional no resultado (entre frases personalizadas e prova social) */
.q-bridge {
  margin: 24px 0 30px;
  padding: 24px 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--sage-soft) 0%, #f5f0e2 100%);
  border: 1px solid var(--sage-border);
  border-top: 4px solid var(--green);
  box-shadow: 0 12px 32px rgba(20, 63, 45, .09);
  text-align: center;
}

.q-bridge .q-kicker {
  justify-content: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(20, 63, 45, .09);
  color: var(--green);
  margin-bottom: 12px;
}

.q-bridge__title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.42rem, 5.8vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-2);
  text-wrap: balance;
}

.q-bridge__body {
  margin: 0 auto 18px;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.54;
  color: var(--muted);
  text-wrap: pretty;
}

.q-bridge__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 340px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--green);
  box-shadow: 0 3px 0 rgba(20, 63, 45, .14), 0 8px 18px rgba(20, 63, 45, .08);
  color: var(--green);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-wrap: balance;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .14s ease, box-shadow .14s ease;
}

@media (hover: hover) {
  .q-bridge__button:hover {
    background: var(--green);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 rgba(13, 48, 34, .22), 0 10px 22px rgba(20, 63, 45, .14);
  }
}

.q-bridge__button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(20, 63, 45, .18);
}

/* CTA antecipado no resultado (entre frases personalizadas e prova social) */
.q-cta--early {
  margin: 24px auto 32px;
}

.q-offer__features {
  margin: 0 0 18px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 253, 247, .07);
  border: 1px solid rgba(255, 253, 247, .12);
  font-size: 0.88rem;
  line-height: 1.48;
  color: #e2ece5;
}

.q-offer__price {
  max-width: 100%;
  margin: 4px 0 12px;
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 30, 20, .58) 0%, rgba(13, 44, 30, .44) 100%);
  border: 1px solid rgba(255, 212, 94, .34);
  box-shadow: inset 0 1px 0 rgba(255, 212, 94, .14), 0 10px 24px rgba(0, 0, 0, .18);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.32;
  color: #ffd45e;
  text-align: center;
  overflow-wrap: break-word;
}

.q-offer--retention .q-offer__price {
  background: linear-gradient(180deg, rgba(8, 32, 21, .72) 0%, rgba(14, 48, 33, .52) 100%);
  border-color: rgba(255, 212, 94, .56);
  box-shadow: inset 0 1px 0 rgba(255, 212, 94, .24), 0 12px 28px rgba(0, 0, 0, .24);
}

.q-offer__price-lead,
.q-offer__price-vs {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.88rem, 3.6vw, 0.98rem);
  font-weight: 500;
  color: #d6e2da;
}

.q-offer__price-now {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 10vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #ffd45e;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(255, 212, 94, .22);
}

.q-offer--retention .q-offer__price-now {
  color: #ffdf78;
}

.q-offer__price-old {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1rem, 4.2vw, 1.18rem);
  font-weight: 700;
  color: #e8cec6;
  text-decoration: line-through;
  text-decoration-color: #ff6b57;
  text-decoration-thickness: 2.5px;
  white-space: nowrap;
}

.q-offer__price-anchor {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 253, 247, .12);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.42;
  color: var(--cream);
  text-wrap: balance;
}

.q-offer__guarantee {
  margin: 0 0 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e6cf92;
}

.q-offer .q-cta {
  box-shadow: 0 7px 0 var(--cta-shadow), 0 16px 32px rgba(0, 0, 0, .3);
}

.q-offer__micro {
  margin: 14px 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #cad7ce;
}

.q-offer .q-decline {
  color: #c2d1c7;
  margin-top: 10px;
}

@media (hover: hover) {
  .q-offer .q-decline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
  }
}

/* ==========================================================================
   MODAIS (<dialog class="q-modal">)
   ========================================================================== */
.q-modal {
  position: fixed;
  width: min(94vw, 500px);
  max-height: min(94dvh, 840px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: 32px 22px 22px;
  border: 0;
  border-radius: 22px;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .44);
  text-align: center;
}

.q-modal::backdrop {
  background: rgba(8, 31, 22, .68);
  backdrop-filter: blur(6px);
}

.q-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.65rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

@media (hover: hover) {
  .q-modal__close:hover {
    background: rgba(20, 63, 45, .08);
    color: var(--green-2);
  }
}

.q-modal .q-kicker {
  justify-content: center;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.q-modal__title {
  font-size: clamp(1.5rem, 6vw, 1.82rem);
  line-height: 1.12;
  margin-bottom: 10px;
}

.q-modal__body {
  margin: 0 auto 20px;
  max-width: 42ch;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Variante: Modal de Retenção (telas 1–11) */
.q-modal--retention {
  border-top: 5px solid var(--terracotta);
}

.q-modal--retention .q-kicker {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

/* Variante: Modal de Confirmação de Saída (já no menor preço) */
.q-modal--confirmExit {
  border-top: 5px solid var(--gold);
}

.q-modal--confirmExit .q-kicker {
  background: var(--gold-soft);
  color: #7d5b12;
}

/* Variante: Modal Oferta de Saída 5,90 € */
.q-modal--exitOffer {
  padding: 0 20px 20px;
}

.q-modal__bar {
  margin: 0 -20px 18px;
  min-height: 44px;
  padding: 10px 48px 10px 18px;
  background: linear-gradient(90deg, #113c2a, #1b543c, #113c2a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.q-modal--exitOffer .q-modal__close {
  top: 2px;
  right: 6px;
  color: #eef3ef;
}

@media (hover: hover) {
  .q-modal--exitOffer .q-modal__close:hover {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
  }
}

.q-modal--exitOffer .q-kicker {
  background: transparent;
  padding: 0;
  color: #a77a18;
  margin-bottom: 6px;
}

.q-modal--exitOffer .q-modal__body {
  margin-bottom: 18px;
  font-size: 0.87rem;
}

.q-modal__price {
  position: relative;
  margin: 14px 0 8px;
  padding: 24px 16px 14px;
  border: 1px solid #d8c18b;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbf4df, #f3ead4);
  box-shadow: 0 12px 28px rgba(36, 54, 40, .08);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 12px;
}

.q-badge {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 5px 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b89954, #8d6d2d);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.q-price-old {
  font-size: 1.05rem;
  font-weight: 600;
  color: #777d78;
  text-decoration: line-through;
  text-decoration-color: #aa4937;
  text-decoration-thickness: 2px;
}

.q-price-new {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
}

.q-modal__under-price {
  margin: 0 auto 14px;
  max-width: 38ch;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.q-modal__list {
  margin: 0 0 18px;
  padding: 12px 4px 0;
  list-style: none;
  border-top: 1px solid #e7dfd1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  text-align: left;
}

.q-modal__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #4b564e;
}

.q-modal__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.q-modal--exitOffer .q-offer__micro {
  color: var(--muted);
  margin-top: 12px;
}

.q-modal .q-decline {
  margin-top: 8px;
  font-size: 0.82rem;
}

/* ==========================================================================
   RODAPÉ (.q-footer)
   ========================================================================== */
.q-footer {
  margin-top: auto;
  padding-top: 34px;
  text-align: center;
  color: var(--muted);
}

.q-footer__brand {
  margin: 0 0 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
}

.q-footer__line {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.q-footer__disclaimer {
  margin: 0 auto 8px;
  max-width: 56ch;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #6d766f;
}

.q-footer__copy {
  margin: 0;
  font-size: 0.72rem;
  color: #7c857e;
}

/* ==========================================================================
   RESPONSIVIDADE (telas compactas, altura reduzida, tablet e desktop 780px)
   ========================================================================== */
@media (max-width: 350px) {
  .q-main {
    padding-inline: 14px;
  }
  .q-question__text {
    font-size: 1.28rem;
    margin-bottom: 18px;
  }
  .q-option {
    min-height: 54px;
    padding: 13px 14px;
  }
  .q-option__label {
    font-size: 0.95rem;
  }
  .q-modal--exitOffer {
    padding-inline: 14px;
  }
  .q-modal__bar {
    margin-inline: -14px;
  }
  .q-modal__list {
    grid-template-columns: 1fr;
  }
  .q-price-new {
    font-size: 2.55rem;
  }
}

@media (max-height: 620px) and (max-width: 639px) {
  .q-header {
    min-height: 46px;
    padding-block: 6px;
  }
  .q-logo {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  .q-brand {
    font-size: 0.92rem;
  }
  .q-main {
    padding-top: 12px;
  }
  .q-progress {
    margin-bottom: 16px;
  }
  .q-question__text {
    margin-bottom: 16px;
  }
  .q-options {
    gap: 9px;
  }
  .q-option {
    min-height: 52px;
    padding-block: 12px;
  }
}

@media (max-height: 720px) {
  .q-modal {
    max-height: 96dvh;
  }
  .q-modal--exitOffer {
    padding-bottom: 14px;
  }
  .q-modal__bar {
    min-height: 38px;
    margin-bottom: 12px;
    padding-block: 7px;
  }
  .q-modal__title {
    font-size: 1.38rem;
    margin-bottom: 6px;
  }
  .q-modal--exitOffer .q-modal__body {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }
  .q-modal__price {
    margin: 10px 0 6px;
    padding: 19px 12px 10px;
  }
  .q-price-new {
    font-size: 2.55rem;
  }
  .q-modal__under-price {
    margin-bottom: 10px;
  }
  .q-modal__list {
    margin-bottom: 12px;
    padding-top: 9px;
    gap: 5px 10px;
  }
  .q-modal .q-cta {
    min-height: 54px;
    padding-block: 11px;
  }
}

@media (min-width: 640px) {
  body {
    font-size: 17px;
  }
  .q-header {
    min-height: 64px;
    padding: 12px 38px;
  }
  .q-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .q-brand {
    font-size: 1.05rem;
  }
  .q-cta {
    padding: 15px 22px;
  }
  .q-main {
    padding: 32px 48px 56px;
  }
  .q-progress {
    margin-bottom: 32px;
  }
  .q-question__text {
    margin-bottom: 28px;
  }
  .q-options {
    gap: 13px;
  }
  .q-option {
    min-height: 64px;
    padding: 18px 20px 18px 22px;
  }
  .q-option__label {
    font-size: 1.06rem;
  }
  .q-diagnosis {
    padding: 30px 28px 26px;
  }
  .q-offer {
    padding: 36px 32px 28px;
  }
  .q-modal {
    padding: 36px 30px 26px;
  }
  .q-modal--exitOffer {
    padding: 0 28px 24px;
  }
  .q-modal__bar {
    margin-inline: -28px;
  }
}

@media (min-width: 781px) {
  .q-header,
  .q-main {
    box-shadow: var(--shadow-shell);
    border-inline: 1px solid rgba(113, 94, 62, .1);
  }
}

/* ==========================================================================
   COMPONENTES V2 — FASES, ESCALA 1–5, EXPLICAÇÃO, MÚLTIPLA, CARREGAMENTO,
   MEDIDOR (GAUGE), PROVA SOCIAL E SELO DE AVALIAÇÃO
   ========================================================================== */

/* Estado desabilitado para CTA (ex.: múltipla seleção antes de escolher 1) */
.q-cta:disabled,
.q-cta[aria-disabled="true"] {
  background: #d8d4c8;
  border-color: #cac4b5;
  color: #6b726c;
  box-shadow: 0 4px 0 #b8b1a1;
  cursor: not-allowed;
  opacity: .88;
  transform: none;
  filter: none;
}

.q-cta:disabled:hover,
.q-cta:disabled:active,
.q-cta[aria-disabled="true"]:hover,
.q-cta[aria-disabled="true"]:active {
  transform: none;
  box-shadow: 0 4px 0 #b8b1a1;
  filter: none;
}

/* Selo de avaliação na abertura (.q-rating-badge) */
.q-rating-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 8px;
  width: 100%;
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid #e3d8c5;
  border-radius: 14px;
  background: rgba(255, 253, 247, .88);
  box-shadow: 0 8px 24px rgba(34, 55, 40, .06);
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
}

.q-rating-badge .q-proof__stars {
  color: #d69c20;
  font-size: 0.92rem;
  letter-spacing: 1px;
}

.q-rating-badge strong,
.q-rating-badge .q-proof__value {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--green-2);
}

.q-rating-badge span:last-child,
.q-rating-badge .q-proof__label {
  color: var(--muted);
  font-weight: 500;
}

/* Barra de progresso por fases (.q-phases) */
.q-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 0 22px;
}

.q-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  min-width: 0;
}

.q-phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.q-phase__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olive), var(--cta-end));
  transition: width .35s cubic-bezier(.22, .8, .25, 1);
}

.q-phase__label {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: #7c857e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q-phase.is-current .q-phase__fill {
  background: linear-gradient(90deg, var(--cta-start), var(--cta-end));
  box-shadow: 0 1px 6px rgba(23, 105, 58, .28);
}

.q-phase.is-current .q-phase__label {
  color: var(--green-2);
  font-weight: 800;
}

.q-phase.is-done .q-phase__fill {
  background: var(--green);
}

.q-phase.is-done .q-phase__label {
  color: var(--green);
  font-weight: 700;
}

/* Escala 1 a 5 (.q-likert) */
.q-likert {
  text-align: center;
}

.q-likert .q-title,
.q-likert .q-question__text {
  margin-bottom: 18px;
  font-size: clamp(1.22rem, 4.8vw, 1.55rem);
  color: var(--muted);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.q-likert .q-question__text::before {
  margin-inline: auto;
}

.q-likert__emoji {
  width: 60px;
  height: 60px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbf4df, var(--cream));
  border: 1px solid #e2d2ab;
  box-shadow: 0 8px 22px rgba(25, 48, 34, .08);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  line-height: 1;
}

.q-likert__quote {
  margin: 0 0 22px;
  padding: 22px 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.25rem, 5vw, 1.68rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--green-2);
  text-wrap: balance;
}

.q-likert__scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.q-likert__btn {
  min-height: 54px;
  padding: 10px 4px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: #ffffff;
  box-shadow: var(--shadow-option);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .14s ease,
    box-shadow .18s ease;
}

@media (hover: hover) {
  .q-likert__btn:hover {
    background: #fffcf5;
    border-color: var(--olive);
    transform: translateY(-2px);
    box-shadow: var(--shadow-option-hover);
  }
}

.q-likert__btn:active {
  transform: translateY(1px);
}

.q-likert__btn.is-selected,
.q-likert__btn[aria-checked="true"],
.q-likert__btn[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--cta-start), var(--cta-end));
  border-color: var(--cta-end);
  color: #ffffff;
  box-shadow: 0 4px 0 var(--cta-shadow), 0 10px 22px rgba(23, 105, 58, .28);
  transform: translateY(-1px);
}

.q-likert__ends {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}

.q-likert__ends span:first-child {
  text-align: left;
}

.q-likert__ends span:last-child {
  text-align: right;
}

/* Tela de explicação / intersticial (.q-info) */
.q-info {
  text-align: center;
}

.q-info__emoji {
  width: 68px;
  height: 68px;
  margin: 6px auto 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fbf4df, var(--cream));
  border: 1px solid #e2d2ab;
  box-shadow: 0 10px 24px rgba(25, 48, 34, .08);
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  line-height: 1;
}

.q-info .q-kicker {
  justify-content: center;
  margin-bottom: 10px;
}

.q-info .q-title {
  font-size: clamp(1.62rem, 6.8vw, 2.3rem);
  margin-bottom: 20px;
}

.q-info .q-body {
  text-align: left;
  border-left-color: var(--olive);
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ee 100%);
  margin-bottom: 24px;
}

/* Múltipla seleção (.q-multi + .q-option--multi) */
.q-multi .q-subtitle {
  margin: -10px 0 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.q-option--multi .q-option__mark {
  border-radius: 6px;
}

.q-option--multi.is-selected .q-option__mark,
.q-option--multi[aria-checked="true"] .q-option__mark,
.q-option--multi[aria-pressed="true"] .q-option__mark {
  border-radius: 6px;
}

.q-multi .q-cta {
  margin-top: 22px;
}

/* Carregamento com múltiplas barras e % (.q-loading) */
.q-loading {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 28px 44px;
}

.q-loading .q-title {
  font-size: clamp(1.65rem, 6.8vw, 2.3rem);
  margin-bottom: 24px;
}

.q-loadbars {
  width: 100%;
  display: grid;
  gap: 13px;
}

.q-loadbar {
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: center;
  text-align: left;
  transition: border-color .25s ease, background-color .25s ease;
}

.q-loadbar__label {
  grid-column: 1;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.q-loadbar__pct {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}

.q-loadbar__track {
  grid-column: 1 / -1;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.q-loadbar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olive), var(--cta-start));
  transition: width .55s cubic-bezier(.22, .8, .25, 1), background .25s ease;
}

.q-loadbar.is-done {
  border-color: var(--sage-border);
  background: #f4faf6;
}

.q-loadbar.is-done .q-loadbar__fill {
  background: linear-gradient(90deg, var(--cta-start), var(--cta-end));
}

.q-loadbar.is-done .q-loadbar__pct {
  color: var(--cta-end);
}

.q-loadbar.is-done .q-loadbar__pct::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center/10px no-repeat,
    var(--cta-end);
}

/* Medidor / Gauge no resultado (.q-gauge) */
.q-gauge {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.q-gauge__label {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.q-gauge__track {
  position: relative;
  height: 14px;
  margin: 8px 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b8f5c 0%, #c9b553 50%, #cf6339 82%, #b4432e 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .14);
}

.q-gauge__marker {
  position: absolute;
  top: 50%;
  left: clamp(6%, var(--pos, 50%), 94%);
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--green-2);
  box-shadow: 0 3px 10px rgba(13, 48, 34, .32), 0 0 0 3px rgba(255, 253, 247, .9);
  transition: left .65s cubic-bezier(.22, .8, .25, 1);
}

.q-gauge[data-level="C"] .q-gauge__marker {
  border-color: var(--cta-end);
}

.q-gauge[data-level="B"] .q-gauge__marker {
  border-color: #b78520;
}

.q-gauge[data-level="A"] .q-gauge__marker {
  border-color: var(--terracotta);
}

.q-gauge__levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
}

.q-gauge__levels span:nth-child(1) { text-align: left; }
.q-gauge__levels span:nth-child(2) { text-align: center; }
.q-gauge__levels span:nth-child(3) { text-align: right; }

.q-gauge[data-level="C"] .q-gauge__levels span:nth-child(1) {
  color: var(--green);
  font-weight: 800;
}

.q-gauge[data-level="B"] .q-gauge__levels span:nth-child(2) {
  color: #8c6412;
  font-weight: 800;
}

.q-gauge[data-level="A"] .q-gauge__levels span:nth-child(3) {
  color: var(--terracotta);
  font-weight: 800;
}

/* Prova social (.q-proof + .q-testimonials) */
.q-proof {
  text-align: center;
}

.q-proof .q-kicker {
  justify-content: center;
}

.q-proof .q-title {
  font-size: clamp(1.62rem, 6.8vw, 2.3rem);
  margin-bottom: 18px;
}

.q-proof__rating {
  margin: 0 0 10px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #164632, var(--green-2));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(13, 48, 34, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.q-proof__stars {
  color: #f3c64f;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}

.q-proof__value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.06;
  color: #f6dc8d;
}

.q-proof__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d5e0d8;
}

.q-proof__reviews {
  margin: 0 auto 20px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}

.q-testimonials {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.q-testimonial {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.q-testimonial .q-proof__stars {
  grid-column: 1 / -1;
  grid-row: 1;
  color: #d69c20;
  font-size: 0.94rem;
  margin-bottom: 8px;
}

.q-testimonial blockquote {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.q-testimonial__photo {
  grid-column: 1;
  grid-row: 3 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid #f1e6d2;
  box-shadow: 0 4px 12px rgba(29, 47, 34, .14);
  align-self: center;
}

.q-testimonial figcaption {
  grid-column: 2;
  grid-row: 3 / span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.q-testimonial__name {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.25;
  align-self: end;
}

.q-testimonial figcaption .q-testimonial__name {
  align-self: flex-start;
}

.q-testimonial__tag {
  grid-column: 2;
  grid-row: 4;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  border: 1px solid rgba(180, 85, 50, .2);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  color: #9e4424;
  align-self: start;
}

.q-testimonial:not(:has(.q-testimonial__photo)) {
  grid-template-columns: minmax(0, 1fr);
}

.q-testimonial:not(:has(.q-testimonial__photo)) figcaption,
.q-testimonial:not(:has(.q-testimonial__photo)) .q-testimonial__name,
.q-testimonial:not(:has(.q-testimonial__photo)) .q-testimonial__tag {
  grid-column: 1;
}

.q-proof__disclaimer {
  margin: 0 auto 20px;
  max-width: 46ch;
  font-size: 0.73rem;
  line-height: 1.45;
  color: #767d76;
  text-align: center;
}

.q-proof .q-cta {
  margin: 4px auto 12px;
}

/* Ajustes responsivos adicionais para v2 */
@media (max-width: 350px) {
  .q-phases {
    gap: 6px;
  }
  .q-phase__label {
    font-size: 0.65rem;
  }
  .q-likert__scale {
    gap: 6px;
  }
  .q-likert__btn {
    min-height: 48px;
    font-size: 1.12rem;
  }
  .q-testimonial {
    padding: 15px;
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .q-testimonial:not(:has(.q-testimonial__photo)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .q-testimonial__photo {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 640px) {
  .q-phases {
    gap: 12px;
    margin-bottom: 28px;
  }
  .q-phase__label {
    font-size: 0.76rem;
  }
  .q-likert__quote {
    padding: 28px 26px;
  }
  .q-likert__scale {
    gap: 12px;
  }
  .q-likert__btn {
    min-height: 60px;
    font-size: 1.38rem;
  }
  .q-gauge {
    padding: 22px 24px 18px;
  }
  .q-testimonial {
    padding: 22px 22px 20px;
  }
  .q-offer__mockup {
    width: min(100%, 280px);
  }
  .q-preview {
    padding: 18px 18px 16px;
  }
  .q-preview__gallery {
    gap: 12px;
  }
  .q-preview__img {
    flex: 0 0 30%;
    width: 30%;
    max-width: 156px;
  }
  .q-bridge {
    margin: 28px 0 36px;
    padding: 30px 28px 26px;
  }
  .q-cta--early {
    margin: 28px auto 38px;
  }
}

/* ---------- Movimento Reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html,
  .q-preview__gallery {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .q-screen,
  .q-step {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
