/* =====================================================================
   VOLVER A CONTAR — estilos (quiz, oferta e páginas legais)
   Mobile-first. Terracota #B5573A · creme #F6EFE4 · café #3B2A22
   ===================================================================== */
:root {
  --terracota: #B5573A;
  --terracota-esc: #96432A;
  --terracota-claro: #F2DFD4;
  --creme: #F6EFE4;
  --papel: #FCF8F2;
  --areia: #EADCC9;
  --linha: #E2D2BD;
  --cafe: #3B2A22;
  --cafe-medio: #6A5246;
  --oliva: #6E7650;
  --raio: 16px;
  --sombra: 0 1px 2px rgba(59, 42, 34, .06), 0 6px 20px rgba(59, 42, 34, .07);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--creme); color: var(--cafe);
  font-family: var(--sans); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--terracota-esc); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: 'opsz' 72; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terracota); outline-offset: 3px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.logo { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--cafe); letter-spacing: -.01em; }
.logo::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--terracota); margin-right: 8px; vertical-align: 1px; }

/* ---------- botão principal ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 16px 22px; border: 0; border-radius: 14px;
  background: var(--terracota); color: #fff; font-weight: 800; font-size: 19px; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 2px 0 var(--terracota-esc), 0 8px 18px rgba(181, 87, 58, .25);
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: var(--terracota-esc); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* =====================================================================
   QUIZ
   ===================================================================== */
.pg-quiz { min-height: 100vh; min-height: 100dvh; }
.marca-topo { text-align: center; padding: 14px 16px 0; }
.app { max-width: 560px; margin: 0 auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); }
.tela { animation: entra .28s ease both; }
.tela.volta { animation-name: entra-volta; }
.tela.sai { opacity: 0; transform: translateX(-12px); transition: opacity .15s ease, transform .15s ease; }
@keyframes entra { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes entra-volta { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.q-topo { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 14px 0 22px; }
.voltar { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--cafe-medio); border-radius: 50%; cursor: pointer; }
.voltar:hover { background: var(--areia); }
.voltar-vazio { width: 40px; height: 40px; }
.progreso { height: 8px; background: var(--areia); border-radius: 99px; overflow: hidden; }
.progreso i { display: block; height: 100%; background: var(--terracota); border-radius: 99px; transition: width .55s cubic-bezier(.2, .8, .2, 1); }
.paso { font-size: 14px; font-weight: 700; color: var(--cafe-medio); white-space: nowrap; }

.q-kicker { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--terracota); margin-bottom: 8px; }
.q-titulo { font-size: clamp(27px, 7.4vw, 34px); margin-bottom: 10px; }
.q-sub { color: var(--cafe-medio); font-size: 17px; margin-bottom: 22px; }

.ops { display: grid; gap: 12px; }
.op {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 66px; padding: 14px 18px; text-align: left;
  background: var(--papel); border: 2px solid var(--linha); border-radius: var(--raio);
  font-size: 19px; font-weight: 700; color: var(--cafe); cursor: pointer;
  box-shadow: 0 1px 2px rgba(59, 42, 34, .05);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.op:hover { border-color: #CFB59A; }
.op:active { transform: scale(.99); }
.op-txt small { display: block; font-size: 14px; font-weight: 600; color: var(--cafe-medio); margin-top: 2px; }
.op-marca {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #CDB8A1;
  display: grid; place-items: center; color: transparent; transition: all .15s ease;
}
.op.multi .op-marca { border-radius: 7px; }
.op.sel { border-color: var(--terracota); background: var(--terracota-claro); }
.op.sel .op-marca { background: var(--terracota); border-color: var(--terracota); color: #fff; }
.btn-continuar { margin-top: 20px; position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); }

.mini-legal { margin-top: 34px; text-align: center; font-size: 13px; color: var(--cafe-medio); }
.mini-legal a { color: var(--cafe-medio); }
.mini-legal > span { margin: 0 8px; }
.meta-aviso { font-size: 12px; line-height: 1.45; margin: 10px auto 0; max-width: 440px; opacity: .85; }

/* preparando */
.tela-prep { text-align: center; padding-top: 12vh; }
.prep-anel { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; border: 5px solid var(--areia); border-top-color: var(--terracota); animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.prep-lista { list-style: none; padding: 0; margin: 26px auto 0; max-width: 360px; text-align: left; display: grid; gap: 12px; }
.prep-lista li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--cafe-medio); opacity: .45; transition: opacity .3s ease, color .3s ease; }
.prep-lista li.ok { opacity: 1; color: var(--cafe); }
.prep-check { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--areia); color: transparent; transition: all .3s ease; }
.prep-lista li.ok .prep-check { background: var(--oliva); color: #fff; }

/* =====================================================================
   OFERTA
   ===================================================================== */
.faixa { background: var(--cafe); color: var(--creme); text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .02em; padding: 10px 16px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.sec { padding: 52px 0; }
.sec + .sec { border-top: 1px solid var(--linha); }
.sec-papel { background: var(--papel); }
.sec-areia { background: #F0E5D6; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terracota); margin-bottom: 10px; }
.sec h2 { font-size: clamp(26px, 6.6vw, 34px); }
.lead { font-size: 19px; color: var(--cafe-medio); }

/* topo */
.topo-oferta { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.topo-oferta a { font-size: 14px; font-weight: 700; text-decoration: none; }

/* hero */
.hero { padding: 18px 0 40px; }
.resultado { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--papel); border: 1px solid var(--linha); font-size: 14px; font-weight: 700; color: var(--cafe-medio); }
.chip-forte { background: var(--terracota-claro); border-color: #E6C3B2; color: var(--terracota-esc); }
.hero h1 { font-size: clamp(31px, 8.6vw, 46px); margin-bottom: 14px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--terracota); }
.hero .lead { margin-bottom: 26px; }

/* porta-voz */
.foto-ph {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--areia);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.22) 0 12px, transparent 12px 24px);
}
.foto-ph::before { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 14px; font-weight: 700; color: var(--cafe-medio); }
.foto-ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.portavoz-foto { aspect-ratio: 4 / 5; max-height: 520px; margin-bottom: 18px; box-shadow: var(--sombra); }
.historia { background: var(--papel); border-radius: 20px; padding: 24px 22px; box-shadow: var(--sombra); }
.historia p { font-size: 18px; }
.historia .cita { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--cafe); border-left: 4px solid var(--terracota); padding-left: 16px; margin: 18px 0; }
.firma { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terracota-esc); margin: 0; }
.firma small { display: block; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--cafe-medio); }

/* sinais */
.escenas { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.escenas li { background: var(--papel); border: 1px solid var(--linha); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; font-size: 18px; }
.escenas li::before { content: '“'; position: absolute; left: 16px; top: 4px; font-family: var(--serif); font-size: 44px; color: var(--terracota); line-height: 1; }
.escenas li.tuya { border: 2px solid var(--terracota); background: #FBEDE5; }
.escenas li.tuya::after { content: 'Lo que tú notas'; display: block; margin-top: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--terracota); }
.nota-suave { font-size: 16px; color: var(--cafe-medio); background: rgba(255,255,255,.5); border-radius: 12px; padding: 14px 16px; }

/* método */
.metodo { display: grid; gap: 14px; margin: 26px 0; counter-reset: r; }
.paso-r { background: var(--papel); border-radius: 18px; padding: 22px 20px; box-shadow: var(--sombra); position: relative; }
.paso-r .letra { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--terracota); color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.paso-r h3 { font-size: 24px; margin-bottom: 6px; }
.paso-r p { margin: 0; color: var(--cafe-medio); }
.seta-r { text-align: center; color: var(--terracota); font-size: 22px; line-height: 1; margin: -4px 0; }
.ciencia { font-size: 16px; color: var(--cafe-medio); border-top: 1px dashed #CDB8A1; padding-top: 16px; }

/* inclui */
.inclui { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.inclui li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--papel); border-radius: 16px; padding: 18px; border: 1px solid var(--linha); }
.inclui .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--terracota-claro); color: var(--terracota-esc); display: grid; place-items: center; }
.inclui b { display: block; font-size: 18px; margin-bottom: 2px; }
.inclui span { color: var(--cafe-medio); font-size: 16px; }

/* um dia */
.dia { list-style: none; padding: 0; margin: 24px 0; position: relative; }
.dia::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--linha); }
.dia li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 10px 0; }
.dia .min { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--papel); border: 2px solid var(--terracota); display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.1; color: var(--terracota-esc); }
.dia h3 { font-size: 21px; margin: 6px 0 4px; }
.dia p { margin: 0; color: var(--cafe-medio); font-size: 17px; }
.dia .ejemplo { display: block; margin-top: 6px; font-style: italic; color: var(--cafe); }

/* amostras */
.amostras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.amostras figure { margin: 0; }
.amostras .foto-ph { aspect-ratio: 3 / 4; border-radius: 12px; box-shadow: var(--sombra); }
.amostras .foto-ph::before { font-size: 12px; }
.amostras figcaption { font-size: 13px; color: var(--cafe-medio); margin-top: 8px; line-height: 1.35; }
@media (max-width: 420px) {
  .amostras { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  .amostras figure { scroll-snap-align: start; }
}

/* livro */
.livro-foto { aspect-ratio: 4 / 3; margin: 22px 0; box-shadow: var(--sombra); }

/* bônus */
.bonos { display: grid; gap: 12px; margin-top: 22px; }
.bono { background: var(--papel); border: 2px dashed #D9BFA8; border-radius: 16px; padding: 18px; }
.bono .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--oliva); color: #fff; border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.bono b { display: block; font-size: 18px; }
.bono span { color: var(--cafe-medio); font-size: 16px; }

/* preço */
.caixa-preco { background: var(--papel); border-radius: 22px; padding: 26px 20px; box-shadow: 0 2px 0 var(--linha), 0 18px 40px rgba(59, 42, 34, .12); border: 2px solid var(--terracota); }
.caixa-preco h2 { font-size: 26px; text-align: center; }
.resumo { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.resumo li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.resumo li::before { content: ''; flex: 0 0 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--oliva) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.precos { text-align: center; margin: 6px 0 18px; }
.precos .antes { color: var(--cafe-medio); font-size: 17px; }
.precos .antes s { text-decoration-thickness: 2px; text-decoration-color: var(--terracota); }
.precos .agora { font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: 1.05; color: var(--cafe); margin: 4px 0; }
.precos .agora small { font-size: 22px; }
.precos .local { display: inline-block; background: var(--terracota-claro); color: var(--terracota-esc); font-weight: 800; font-size: 16px; border-radius: 99px; padding: 5px 14px; }
.precos .pago-unico { font-size: 15px; color: var(--cafe-medio); margin-top: 8px; }
.seguro { text-align: center; font-size: 14px; color: var(--cafe-medio); margin: 14px 0 0; }
.seguro svg { vertical-align: -2px; margin-right: 4px; }

/* garantia */
.garantia { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.selo { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--oliva); color: var(--oliva); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 12px; line-height: 1.05; }
.selo b { display: block; font-family: var(--serif); font-size: 28px; }
.garantia h2 { font-size: 24px; margin-bottom: 6px; }
.garantia p { margin: 0; color: var(--cafe-medio); font-size: 17px; }

/* FAQ */
.faq { margin-top: 18px; }
.faq details { background: var(--papel); border: 1px solid var(--linha); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 17px 48px 17px 18px; font-weight: 800; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--terracota); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--cafe-medio); font-size: 17px; }

/* aviso e rodapé */
.aviso { background: var(--cafe); color: var(--creme); border-radius: 16px; padding: 20px; font-size: 16px; }
.aviso b { color: #fff; }
.rodape { padding: 30px 0 calc(110px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--cafe-medio); }
.rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 14px; }
.rodape nav a { color: var(--cafe-medio); }
.rodape p { max-width: 520px; margin: 0 auto 10px; line-height: 1.5; }

/* barra fixa de compra (celular) */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(252, 248, 242, .97); border-top: 1px solid var(--linha);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform .25s ease;
  box-shadow: 0 -6px 20px rgba(59, 42, 34, .08);
}
.barra-fixa.on { transform: none; }
.barra-fixa p { margin: 0; flex: 0 0 auto; font-size: 13px; line-height: 1.2; color: var(--cafe-medio); }
.barra-fixa p b { display: block; font-family: var(--serif); font-size: 22px; color: var(--cafe); }
.barra-fixa .btn { min-height: 52px; font-size: 17px; padding: 12px 16px; }
@media (min-width: 760px) { .barra-fixa { justify-content: center; } .barra-fixa .btn { width: auto; min-width: 320px; } }

/* =====================================================================
   PÁGINAS LEGAIS
   ===================================================================== */
.pg-legal .wrap { padding-top: 10px; padding-bottom: 60px; }
.pg-legal h1 { font-size: 32px; margin-top: 20px; }
.pg-legal h2 { font-size: 21px; margin-top: 28px; }
.pg-legal p, .pg-legal li { font-size: 17px; color: var(--cafe-medio); }
.pg-legal .rodape { padding-bottom: 40px; }

@media (min-width: 760px) {
  .sec { padding: 72px 0; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .portavoz-foto { margin-bottom: 0; }
}
