/* Fio & Forma Quiz v1.5 — harmonização estética com WebApp v2.9.
   Camada aditiva: conserva a paleta, estrutura, perguntas, imagens e fluxos da v1.4. */
:root {
  --sans: "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --radius: 24px;
  --v15-line: #e7dfea;
  --v15-shadow: 0 12px 36px rgba(50, 38, 60, .055), 0 2px 8px rgba(50, 38, 60, .025);
  --v15-lift-shadow: 0 16px 38px rgba(56, 33, 77, .10);
}
body {
  font-family: var(--sans);
  letter-spacing: -.008em;
}
button, input, select, textarea { font-family: inherit; }
h1, h2, h3,
.brand > span,
.demo-card-caption strong,
.offer-price,
.purchase-value > strong,
.visual-stamp strong {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.034em;
  line-height: 1.22;
}
h1, .intro-clean h1, .purchase-intro h1,
.question-copy h1, .offer-head h1 { font-weight: 900; letter-spacing: -.045em; }
h3 { letter-spacing: -.022em; }
h1 em, h2 em, .brand em { font-weight: inherit; }
.brand > span { font-weight: 900; font-size: 28px; letter-spacing: -.045em; }
.brand small { font-family: var(--sans); font-weight: 800; letter-spacing: .16em; }
.eyebrow, .progress-copy, .purchase-tag { font-weight: 800; }
.section-intro h1, .offer-head h1, .purchase-intro h1 { line-height: 1.18; }
.demo-card-caption strong { font-weight: 850; }
.offer-price, .purchase-value > strong { font-weight: 900; letter-spacing: -.045em; }
.purchase-value > strong { line-height: 1.12; }

/* Botões e navegação: mesma geometria usada no aplicativo. */
.button, .chip, .demo-top .demo-close, .card-action {
  border-radius: 15px;
  font-weight: 800;
}
.button:not(.secondary) { box-shadow: 0 5px 16px rgba(56, 33, 77, .13); }
.button.secondary { box-shadow: none; }
.button.small { border-radius: 13px; }
.button:hover, .chip:hover, .card-action:hover { transition-duration: .18s; }
.button:active { transform: translateY(0); }
.pill { border-radius: 999px; font-weight: 800; }
.progress-track { border-radius: 999px; overflow: hidden; }
.progress-track > span { border-radius: inherit; }

/* Questões, escolhas, retorno visual. */
.option {
  border-radius: 21px;
  border-color: var(--v15-line);
  box-shadow: var(--v15-shadow);
  transition: border-color .18s, background-color .18s, box-shadow .18s, transform .18s;
}
.option:hover { box-shadow: var(--v15-lift-shadow); transform: translateY(-1px); }
.option:has(input:checked) {
  border-color: #9974b2;
  background: #f1e9f8;
  box-shadow: 0 9px 24px rgba(91, 44, 131, .085);
}
.option strong { font-weight: 850; }
.option small { line-height: 1.5; }
.option-emoji { flex-shrink: 0; }
.radio-mark { flex-shrink: 0; }
.question-art, .question-visual img { border-radius: 24px; }
.question-caption { border-radius: 16px; }
.question-feedback { font-weight: 700; }

/* Vitrine e cartões de receitas. Sem mudar a coluna única da v1.4. */
.recipe-card, .catalog-grid .recipe-card {
  border-radius: 24px;
  border-color: var(--v15-line);
  box-shadow: var(--v15-shadow);
  transition: box-shadow .18s, border-color .18s;
}
.recipe-card:hover, .catalog-grid .recipe-card:hover { box-shadow: var(--v15-lift-shadow); }
.recipe-image { overflow: hidden; }
.recipe-body h3 { font-weight: 850; }
.recipe-body > small { font-weight: 800; }
.library-bottom, .personal-note, .sample-card {
  border-radius: 23px;
}
.library-bottom { box-shadow: 0 6px 24px rgba(56, 33, 77, .035); }
.chip { border-color: var(--v15-line); }
.chip.active { box-shadow: 0 5px 14px rgba(91, 44, 131, .11); }

/* Teste do WebApp, resumo de perfil e oferta. */
.demo-card, .checkout-card {
  border-radius: 27px;
  border-color: var(--v15-line);
  box-shadow: var(--v15-shadow);
}
.demo-card img { border-radius: 21px; }
.demo-card-caption strong { font-weight: 850; }
.feature-list li > span, .included-item .feature-icon { border-radius: 15px; }
.feature-list li > span { border-radius: 50%; }
.included-item h3 { font-weight: 850; }
.checkout-card { box-shadow: 0 14px 42px rgba(56, 33, 77, .08); }
.checkout-card h2 { font-weight: 900; }
.mini-gallery img { border-radius: 17px; }
.faq summary { font-weight: 800; }

/* Última tela do quiz: respeita o contraste e os tons originais. */
.purchase-panel { border-radius: 31px; }
.purchase-panel h2 { font-weight: 900; letter-spacing: -.042em; }
.purchase-button {
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: -.014em;
  /* O relevo rosa da oferta v1.4 é mantido. */
}
.purchase-guarantee {
  border-radius: 25px;
  border-color: var(--v15-line);
  box-shadow: var(--v15-shadow);
}
.purchase-guarantee h2 { font-family: var(--sans); font-weight: 850; letter-spacing: -.03em; }
.purchase-questions details {
  border-radius: 19px;
  border-color: var(--v15-line);
  box-shadow: var(--v15-shadow);
}
.purchase-questions summary { font-weight: 850; }
.purchase-questions details[open] { border-color: #d9c5e7; }

/* Diálogos e feedback visuais — não modifica eventos ou interações. */
.info-dialog { border-radius: 27px; }
.info-dialog .lock-photo { border-radius: 18px; }
.demo-top .demo-buy { border-radius: 13px; }
.toast { border-radius: 17px; }

@media (max-width: 680px) {
  .brand > span { font-size: 25px; }
  .option { border-radius: 20px; }
  .recipe-card, .catalog-grid .recipe-card { border-radius: 22px; }
  .library-bottom, .personal-note { border-radius: 21px; }
  .demo-card, .checkout-card { border-radius: 24px; }
  .purchase-panel { border-radius: 26px; }
  .purchase-guarantee { border-radius: 23px; }
  .purchase-questions details { border-radius: 18px; }
}
@media (max-width: 370px) {
  .brand > span { font-size: 23px; }
  .option { border-radius: 18px; }
  .purchase-panel { border-radius: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .option, .recipe-card, .catalog-grid .recipe-card { transition: none; }
  .option:hover { transform: none; }
}
@media print {
  .option, .recipe-card, .demo-card, .checkout-card,
  .purchase-panel, .purchase-guarantee { box-shadow: none !important; }
}
