/* Cozinha da Chef Rosa · estilo das páginas (venda, upsell, obrigado e textos legais).
   Cores da persona Rosa (persona.md): terracota, creme, oliva e tinta. */
:root {
  --terracota: #C65D3B;
  --terracota-escuro: #A84A2C;
  --creme: #F6EFE6;
  --creme-2: #EFE4D6;
  --oliva: #6B7B3A;
  --tinta: #1F1B16;
  --tinta-2: #5A5148;
  --branco: #FFFDF9;
  --borda: #E3D6C5;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(31, 27, 22, .06), 0 8px 24px rgba(31, 27, 22, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--creme); color: var(--tinta);
  font: 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--terracota-escuro); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 7vw, 48px); }
h2 { font-size: clamp(25px, 5.4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.estreito { max-width: 720px; }
section { padding: 56px 0; }
section.alt { background: var(--branco); }
.selo { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--oliva); background: rgba(107, 123, 58, .12); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.sub { font-size: 19px; color: var(--tinta-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 26px;
  background: var(--terracota); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; border-radius: 12px;
  border: 0; cursor: pointer; box-shadow: 0 6px 16px rgba(198, 93, 59, .28); transition: background .15s, transform .15s; }
.btn:hover { background: var(--terracota-escuro); }
.btn:active { transform: translateY(1px); }
.btn.sec { background: transparent; color: var(--terracota-escuro); box-shadow: none; border: 2px solid var(--terracota); }
.btn.cheio { width: 100%; }
.nota { font-size: 14px; color: var(--tinta-2); }

/* Imagem ainda não gerada: caixa com a descrição do que entra ali */
.ph { position: relative; background: repeating-linear-gradient(135deg, var(--creme-2) 0 12px, #E9DCCB 12px 24px);
  border: 2px dashed #CDB9A2; border-radius: var(--raio); display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--tinta-2); font-size: 13px; padding: 12px; aspect-ratio: 4 / 3; }
.ph.retrato { aspect-ratio: 3 / 4; }
.ph.quadrado { aspect-ratio: 1; }
/* Fotos geradas (21/11/2026): mesmas proporções das caixas */
.foto-pag { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); background: var(--creme-2); }
.foto-pag.retrato { aspect-ratio: 3 / 4; object-position: center 30%; }
.foto-pag.quadrado { aspect-ratio: 1; }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero .grade { display: grid; gap: 28px; align-items: center; }
.hero .cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.marca { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 20px; padding: 14px 0; }
.marca i { width: 30px; height: 30px; border-radius: 50%; background: var(--terracota); display: inline-block; }
.marca .logo { width: 32px; height: 32px; flex: none; }
.fatos { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--tinta-2); }
.fatos li::before { content: "✓ "; color: var(--oliva); font-weight: 700; }

/* Cartões */
.cards { display: grid; gap: 16px; }
.card { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra); }
section.alt .card { background: var(--creme); }

/* Trocas */
.troca { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.troca .sai { text-decoration: line-through; color: var(--tinta-2); }
.troca .entra { font-weight: 700; color: var(--oliva); }
.troca .seta { color: var(--terracota); font-weight: 700; }

/* Prévia de receita */
.receita h3 { margin-bottom: 4px; }
.receita .meta { font-size: 14px; color: var(--tinta-2); margin-bottom: 10px; }
.receita ul { margin: 0 0 10px; padding-left: 18px; font-size: 15px; }
.receita .custo { font-weight: 700; color: var(--oliva); }

/* Sumário */
.sumario { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.sumario div { background: var(--branco); border: 1px solid var(--borda); border-radius: 12px; padding: 12px 14px; }
.sumario b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 26px; color: var(--terracota); }

/* Oferta */
.planos { display: grid; gap: 18px; align-items: stretch; }
.plano { background: var(--branco); border: 1px solid var(--borda); border-radius: 18px; padding: 24px 20px; display: flex; flex-direction: column; }
.plano.destaque { border: 2px solid var(--terracota); box-shadow: 0 12px 32px rgba(198, 93, 59, .18); position: relative; }
.plano .fita { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--terracota); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plano .preco { font-family: "Fraunces", Georgia, serif; font-size: 44px; font-weight: 700; margin: 6px 0 2px; }
.plano .preco small { font-size: 18px; }
.plano ul { list-style: none; padding: 0; margin: 14px 0 20px; flex: 1; }
.plano li { padding: 7px 0; border-bottom: 1px solid var(--creme-2); font-size: 16px; }
.plano li.sim::before { content: "✓ "; color: var(--oliva); font-weight: 700; }
.plano li.nao { color: #A79C90; }
.plano li.nao::before { content: "— "; }

/* Garantia, FAQ, rodapé */
.garantia { display: flex; gap: 18px; align-items: center; }
.garantia .sinete { flex: 0 0 88px; height: 88px; border-radius: 50%; background: var(--oliva); color: #fff; display: flex;
  align-items: center; justify-content: center; text-align: center; font-weight: 800; line-height: 1.05; font-size: 15px; }
details { background: var(--branco); border: 1px solid var(--borda); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--terracota); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--tinta-2); }
footer { background: var(--tinta); color: #D8CFC4; font-size: 14px; padding: 36px 0 90px; }
footer a { color: #F3C9B9; }
footer p { margin-bottom: .7em; }
.barra { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255, 253, 249, .96); border-top: 1px solid var(--borda);
  padding: 10px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; z-index: 5;
  backdrop-filter: blur(6px); transform: translateY(110%); transition: transform .25s; }
.barra.on { transform: none; }
.barra .btn { min-height: 46px; padding: 10px 18px; font-size: 16px; }

/* Pós-compra: upsell e obrigado */
.ok { background: var(--oliva); color: #fff; text-align: center; font-size: 15px; font-weight: 600; padding: 10px 16px; }
.etapas { display: flex; gap: 6px; justify-content: center; margin: 18px 0 6px; }
.etapas span { width: 42px; height: 6px; border-radius: 999px; background: var(--borda); }
.etapas span.feita { background: var(--terracota); }
.passos { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 12px; }
.passos li { counter-increment: p; position: relative; padding: 16px 16px 16px 60px; background: var(--branco);
  border: 1px solid var(--borda); border-radius: var(--raio); }
.passos li::before { content: counter(p); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--terracota); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.recusar { display: block; margin: 16px auto 0; text-align: center; color: var(--tinta-2); font-size: 15px; }
.preco-up { font-family: "Fraunces", Georgia, serif; font-size: 40px; font-weight: 700; margin: 4px 0; }

/* Aviso de rascunho: some quando RASCUNHO = false em config.js */
.rascunho { background: #FFF3C4; color: #5A4300; border-bottom: 1px solid #E8D27A; font-size: 14px; padding: 10px 16px; }
.rascunho ul { margin: 4px 0 0; padding-left: 18px; }

/* Textos legais */
.legal { padding: 32px 0 64px; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 22px; margin-top: 1.4em; }
.legal li { margin-bottom: .4em; }

@media (min-width: 760px) {
  .hero .grade { grid-template-columns: 1.1fr .9fr; }
  .hero .cta { flex-direction: row; align-items: center; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .cards.c2 { grid-template-columns: repeat(2, 1fr); }
  .sumario { grid-template-columns: repeat(4, 1fr); }
  .planos { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
  .barra { display: none; }
  footer { padding-bottom: 36px; }
}
