/* Método Reativa 40+ — quiz + resultado, mobile-first
   Referência visual: Homemade Method (fundo creme, botões verdes, 1 pergunta por tela) */
:root {
  --bg: #fbf6ef;
  --bg-card: #ffffff;
  --ink: #1c1917;
  --muted: #6b6560;
  --line: #eadfce;
  --cta: #5fa148;
  --cta-hover: #4e8a3a;
  --cta-text: #fff;
  --cta-soft: #e7f3e1;
  --progress: #e4c3a0;
  --progress-empty: #ece4d8;
  --accent: #3d6b32;
  --warn: #7a2e12;
  --star: #e0a12a;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(28, 25, 23, 0.07);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --quiz-max: 28rem;
  --page-max: 42rem;
  --footer-h: 5.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  font-weight: 700;
}
h1 { font-size: clamp(1.55rem, 5.4vw, 2.15rem); }
h2 { font-size: clamp(1.3rem, 4vw, 1.75rem); }
p { margin: 0 0 0.9rem; }

/* —— Quiz chrome —— */
.quiz-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.quiz-top {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  padding: 0.7rem 1rem 0.55rem;
}
.quiz-top-row {
  width: min(100%, var(--quiz-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.5rem;
}
.btn-back {
  width: 2rem; height: 2rem; border: 0; background: transparent;
  font-size: 1.25rem; cursor: pointer; color: var(--ink);
  border-radius: 999px;
}
.btn-back:hover { background: var(--line); }
.btn-back[hidden], .progress-wrap[hidden] { visibility: hidden; }
.progress[hidden] { display: none !important; }
.progress { display: flex; gap: 0.35rem; }
.progress span {
  flex: 1; height: 6px; border-radius: 99px;
  background: var(--progress-empty);
  overflow: hidden;
}
.progress span i {
  display: block; height: 100%; width: 0;
  background: var(--progress);
  border-radius: inherit;
  transition: width 0.35s ease;
}
.quiz-brand {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
  letter-spacing: 0.01em;
  padding: 0.15rem 0 0.35rem;
}
.quiz-main {
  flex: 1;
  width: min(100% - 1.75rem, var(--quiz-max));
  margin: 0 auto;
  padding: 0.4rem 0 calc(var(--footer-h) + 1.2rem);
}
.quiz-main.cover-main { padding-bottom: 8rem; width: min(100% - 1.75rem, 26rem); }

.food-photo {
  width: 100%;
  border-radius: 14px;
  margin: 0 auto 1.1rem;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.food-photo.wide { aspect-ratio: 16 / 9; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.02rem; }
.badge {
  display: inline-block;
  background: var(--cta-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin: 0.2rem 0 0.7rem;
}
.proof { font-size: 0.95rem; color: var(--ink); margin: 0.4rem 0 1.1rem; font-weight: 600; }
.disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.45;
}

.opcoes { display: flex; flex-direction: column; gap: 0.55rem; margin: 1rem 0; }
.opcao {
  display: block; width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(28,25,23,0.02);
}
.opcao:hover { border-color: #d3c4aa; }
.opcao.sel {
  border-color: var(--cta);
  background: var(--cta-soft);
  box-shadow: 0 0 0 2px rgba(95, 161, 72, 0.2);
}
.micro { font-size: 0.88rem; color: var(--muted); margin: -0.25rem 0 0.4rem; }
.hint { font-size: 0.88rem; color: var(--muted); margin: 0 0 0.2rem; }

.quiz-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: linear-gradient(to top, var(--bg) 70%, rgba(251,246,239,0));
  padding: 1rem 1rem 1.15rem;
}
.quiz-cta-bar .inner {
  width: min(100%, var(--quiz-max));
  margin: 0 auto;
}
.btn, .btn-primario, .btn-checkout {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  text-align: center; text-decoration: none; border: 0; cursor: pointer;
  background: var(--cta); color: var(--cta-text);
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(63, 120, 45, 0.22);
}
.btn:hover, .btn-primario:hover, .btn-checkout:hover { background: var(--cta-hover); color: var(--cta-text); }
.btn[disabled], .btn.disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn-ghost, .btn-nao {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover, .btn-nao:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.campo {
  width: 100%;
  font: inherit; font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin: 0.4rem 0 1rem;
}
.campo:focus { outline: 2px solid var(--cta); border-color: var(--cta); }
.checkbox-linha {
  display: flex; gap: 0.55rem; align-items: flex-start;
  font-size: 0.92rem; margin: 0 0 1rem;
}
.checkbox-linha input { margin-top: 0.25rem; }

/* ciclo E1 */
.ciclo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  margin: 0.4rem 0 1.2rem;
}
.ciclo-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.75rem 0.7rem; text-align: center; font-size: 0.86rem;
  position: relative;
}
.ciclo-item strong { display: block; font-size: 0.75rem; color: var(--accent); margin-bottom: 0.2rem; }

/* loading */
.loading-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.loading-list li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0; color: var(--muted);
}
.loading-list li.done { color: var(--ink); font-weight: 600; }
.tick {
  width: 1.35rem; height: 1.35rem; border-radius: 99px;
  border: 2px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.loading-list li.done .tick { background: var(--cta); border-color: var(--cta); color: #fff; }
.load-bar { height: 8px; background: var(--progress-empty); border-radius: 99px; overflow: hidden; }
.load-bar i { display: block; height: 100%; width: 0; background: var(--cta); transition: width 0.6s linear; }

.depo-card {
  background: #fff; border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow); margin: 1rem 0 1.2rem; text-align: center;
}
.depo-card img { width: 100%; border-radius: 10px; margin: 0 auto 0.75rem; }
.depo-card .nome { font-weight: 700; margin: 0 0 0.15rem; }
.depo-card .legenda { margin: 0.15rem 0; }
.depo-card .estrelas { color: var(--star); letter-spacing: 0.08em; margin: 0.2rem 0; }
.depo-card .aviso { font-size: 0.78rem; color: var(--muted); font-style: italic; margin: 0.4rem 0 0; }

/* —— Resultado / oferta —— */
.page-wrap { width: min(100% - 1.5rem, var(--page-max)); margin: 0 auto; padding: 1.4rem 0 3rem; }
.selo {
  display: inline-block;
  background: var(--cta-soft); color: var(--accent);
  font-weight: 700; font-size: 0.88rem;
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.pre-title { color: var(--muted); margin-bottom: 0.2rem; }
.nome-perfil {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  color: var(--accent);
  margin: 0 0 0.8rem;
}
.bloco { margin: 0 0 2.2rem; }
.bloco-alt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  margin: 0 0 2.2rem;
}
.preco-box { text-align: center; margin: 1.1rem 0; }
.preco-antes { color: var(--muted); font-size: 1rem; }
.preco-antes s { text-decoration: line-through; }
.preco-hoje {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 700;
  margin: 0.15rem 0 0.4rem;
}
.preco-meta { font-size: 0.92rem; color: var(--muted); }
.countdown {
  display: inline-flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap;
  margin: 0.7rem 0 0.4rem;
}
.countdown b {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #1c1917; color: #fff;
  min-width: 3.2rem; padding: 0.45rem 0.4rem;
  border-radius: 8px; font-variant-numeric: tabular-nums;
}
.countdown b span { font-size: 0.62rem; font-weight: 500; color: #d6d3d1; letter-spacing: 0.04em; }
.prazo-nota { font-size: 0.9rem; }
.cta-stack { display: flex; flex-direction: column; gap: 0.55rem; margin: 1rem 0; }
.cta-stack .btn-checkout { width: 100%; }
.lista-plano { padding-left: 1.15rem; margin: 0 0 1rem; }
.lista-plano li { margin: 0 0 0.55rem; }
.fases { padding-left: 1.2rem; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 0.7rem 0.9rem; margin: 0 0 0.5rem;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.5rem 0 0.2rem; }
.mockup { width: min(100%, 28rem); margin: 0 auto 1.2rem; border-radius: 12px; box-shadow: var(--shadow); }
.eixos { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); justify-content: space-between; margin: 0.25rem 0 0.8rem; }
.eixos span { flex: 1; text-align: center; }

.site-footer {
  background: #efe7da;
  border-top: 1px solid var(--line);
  padding: 1.6rem 1rem 6rem;
  font-size: 0.88rem; color: var(--muted);
}
.site-footer .inner { width: min(100%, 52rem); margin: 0 auto; }
.site-footer a { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin: 0.7rem 0 1rem; }
.livro-reclamacoes {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem; border: 2px solid #9b1c1c;
  background: #fff; color: #9b1c1c !important;
  text-decoration: none; font-weight: 700; border-radius: 4px;
}
.livro-reclamacoes:hover { background: #9b1c1c; color: #fff !important; }

.cookie-banner {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
  background: #1c1917; color: #f7f4ef; padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0,0,0,.2);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner a { color: #fff; }
.cookie-inner {
  width: min(100% - 1.5rem, 52rem);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.cookie-acoes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-acoes button {
  font: inherit; font-weight: 700; border-radius: 999px;
  padding: 0.6rem 1rem; cursor: pointer;
}
.btn-aceitar { background: #3d9b74; color: #fff; border: 0; }
.btn-recusar { background: transparent; color: #fff; border: 1px solid #a8a29e; }

.legal-main { width: min(100% - 1.5rem, 42rem); margin: 0 auto; padding: 2rem 0 4rem; }
.legal-main h1 { margin-bottom: 0.4rem; }
.dados-vendedor {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0;
}
.dados-vendedor dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 0.55rem; }
.dados-vendedor dt:first-child { margin-top: 0; }
.dados-vendedor dd { margin: 0.1rem 0 0; }

.site-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .inner {
  width: min(100%, 52rem); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.brand { font-weight: 700; color: var(--accent); text-decoration: none; }
.nav a { color: var(--muted); text-decoration: none; margin-left: 0.9rem; font-size: 0.9rem; }

@media (min-width: 720px) {
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .quiz-main, .quiz-cta-bar .inner, .quiz-top-row { width: min(100%, 30rem); }
  .page-wrap { padding-top: 2.2rem; }
}
