/* Cheirinho de Natal - estilo.css (v2, 12/11/2026)
   Mobile-first. Identidade alinhada ao template do ebook
   (05-criativos/ebook-template/cheirinho.css): mesma paleta e mesmas fontes
   (Fraunces nos títulos, Nunito Sans no texto, carregadas pelo Google Fonts
   no <head> de cada página, com display=swap).
   Cores marcadas com "(web)" não existem no template: são variações mais
   escuras para texto pequeno e sombra, por contraste/legibilidade. */

:root {
  /* paleta do template do ebook */
  --creme: #FBF5EA;
  --creme-2: #F4EBDA;
  --creme-3: #EADDC4;
  --papel: #FFFDF8;
  --vermelho: #A63A32;
  --vermelho-claro: #F6E3DF;
  --verde: #2F5A45;
  --verde-claro: #E3EDE5;
  --dourado: #B08D3C;
  --dourado-claro: #F3E9D2;
  --dourado-texto: #7A5D1F;
  --dourado-luz: #EBD7A2;
  --tinta: #2E2723;
  --tinta-suave: #62574E;
  --linha: #E0D2B8;
  /* (web) */
  --vermelho-escuro: #82291F;
  --verde-escuro: #234535;

  --raio: 12px;
  --titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --texto: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font: 17px/1.65 var(--texto);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermelho); }
p { margin: 0 0 1em; }
strong { font-weight: 800; color: inherit; }

.container { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* Faixa fixa no topo */
.faixa {
  position: sticky; top: 0; z-index: 10;
  background: var(--verde); color: var(--creme);
  font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: .02em; text-align: center;
  padding: 7px 12px;
  border-bottom: 2px solid var(--dourado);
}

/* Seções */
section { padding: 44px 0; }
.alt { background: var(--papel); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.centro { text-align: center; }
.centro .texto { text-align: left; }

/* Tipografia (como no ebook: títulos em Fraunces; h2 verde com filete dourado; h3 vermelho) */
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1.18; margin: 0 0 .6em; color: var(--tinta); }
h1 { font-size: clamp(28px, 7.4vw, 44px); font-weight: 700; color: var(--vermelho); letter-spacing: -.01em; }
h2 { font-size: clamp(25px, 6.2vw, 34px); color: var(--verde); }
h2::after {
  content: ""; display: block; width: 52px; margin-top: 10px;
  border-bottom: 2px solid var(--dourado);
}
.centro h2::after, .garantia h2::after, .oferta h2::after { margin-left: auto; margin-right: auto; }
h3 { font-size: 21px; color: var(--vermelho); }

.ornamento {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--dourado); font-size: 14px; letter-spacing: .5em; margin: 0 0 14px;
}
.ornamento::before, .ornamento::after {
  content: ""; height: 1px; width: 48px; background: var(--dourado); opacity: .7;
}

/* Topo */
.topo { padding: 30px 0 40px; text-align: center; }
.pre {
  font-size: 12.5px; letter-spacing: .14em; font-weight: 800; line-height: 1.5;
  color: var(--verde); text-transform: uppercase; margin: 0 0 14px;
}
.sub { font-size: 18px; color: var(--tinta-suave); }
.sub strong { color: var(--tinta); }

/* Botão de checkout */
.btn {
  display: block; width: 100%; max-width: 540px; margin: 26px auto 10px;
  padding: 18px 20px;
  background: var(--vermelho); color: #FFF8EE;
  font-family: var(--texto); font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: .04em;
  text-align: center; text-decoration: none; text-transform: uppercase;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--vermelho-escuro), 0 10px 22px rgba(166, 58, 50, .22);
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--vermelho-escuro); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--vermelho-escuro); }
.btn:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }
.micro { font-size: 14px; color: var(--tinta-suave); text-align: center; margin: 6px auto 0; max-width: 540px; }

/* Imagens.
   Enquanto as imagens não chegam: .ph (espaço reservado, no estilo do .foto do ebook).
   Depois: <img class="foto"> ou <picture> (ver comentários no HTML). */
.img-bloco { margin: 26px 0 0; }
.foto { width: 100%; border-radius: var(--raio); }
.brinde .img-bloco { max-width: 420px; margin-left: auto; margin-right: auto; }
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; aspect-ratio: 4 / 5; padding: 12px;
  border: 1.5px dashed var(--dourado); border-radius: var(--raio);
  background:
    repeating-linear-gradient(45deg, rgba(176, 141, 60, .07) 0 6px, transparent 6px 14px),
    linear-gradient(160deg, var(--creme-2), var(--creme-3));
  color: var(--tinta-suave); text-align: center; line-height: 1.35;
}
.ph-icone { font-size: 26px; color: var(--dourado); line-height: 1; }
.ph-rotulo { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ph-arquivo { font: 12px/1.3 ui-monospace, Consolas, monospace; color: var(--dourado-texto); word-break: break-all; }
.ph-quadrado { aspect-ratio: 1 / 1; padding: 6px; border-radius: 10px; }
.ph-num, .g-num { font-family: var(--titulo); font-weight: 700; font-size: 20px; color: var(--vermelho); line-height: 1; }
.legenda { margin-top: 8px; font-size: 14px; font-weight: 700; font-style: italic; color: var(--tinta); text-align: center; }

/* Grade 3 x 5 (com as fotos: .g com o número por cima) */
.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.g { position: relative; border-radius: 10px; overflow: hidden; }
.g img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g .g-num {
  position: absolute; left: 6px; top: 6px;
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251, 245, 234, .92); font-size: 15px;
}

/* Lead */
.destaque { font-family: var(--titulo); font-size: 22px; color: var(--verde); }
.destaque strong { font-weight: 700; }

/* Travas */
.duvidas { list-style: none; padding: 0; margin: 0 0 1.2em; }
.duvidas li {
  background: var(--papel); border-left: 4px solid var(--dourado);
  border-radius: 0 10px 10px 0; padding: 10px 14px; margin-bottom: 8px;
  font-style: italic; color: var(--tinta-suave);
}
.resposta { padding-left: 14px; border-left: 2px solid var(--linha); }
.resposta p > strong:first-child { color: var(--vermelho); }

/* O que é */
h2.marca { font-size: clamp(32px, 9vw, 46px); font-weight: 700; color: var(--vermelho); }
.subtitulo { font-family: var(--titulo); font-size: 20px; font-weight: 600; color: var(--tinta); line-height: 1.35; }

/* Mecanismo */
.passos { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.passos li {
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 16px 16px 14px 64px; position: relative;
}
.passos .n {
  position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--verde); color: var(--creme);
  font-family: var(--titulo); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.passos li > strong:first-of-type { color: var(--verde); letter-spacing: .03em; }

/* 15 projetos */
.categoria {
  margin-top: 28px; font-size: 13px; font-family: var(--texto); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  color: var(--verde); border-bottom: 1px solid var(--linha); padding-bottom: 6px;
}
.projetos { padding-left: 1.7em; margin: 0; }
.projetos li { margin-bottom: 10px; }
.projetos li::marker { color: var(--vermelho); font-weight: 800; font-family: var(--titulo); }

/* Brinde e bônus */
.brinde {
  background: var(--papel); border: 2px solid var(--dourado); border-radius: var(--raio);
  padding: 22px 16px 18px; margin-bottom: 34px;
}
.brinde h3 { color: var(--vermelho); }
.brinde ol { padding-left: 1.4em; }
.brinde ol li::marker { color: var(--vermelho); font-weight: 800; }
.titulo-bonus { font-size: clamp(22px, 5.6vw, 28px); color: var(--verde); }
.titulo-bonus strong { color: var(--vermelho); font-weight: 700; }
.bonus {
  background: var(--papel); border: 1px solid var(--linha); border-left: 4px solid var(--verde);
  border-radius: 0 var(--raio) var(--raio) 0;
  padding: 14px 16px; margin-bottom: 12px;
}
.bonus p { margin: 0; }
.bonus .rot { display: block; font-size: 12.5px; letter-spacing: .14em; font-weight: 800; color: var(--dourado-texto); text-transform: uppercase; margin-bottom: 2px; }
.bonus .tit { display: block; font-family: var(--titulo); font-size: 20px; font-weight: 600; color: var(--verde); margin-bottom: 4px; line-height: 1.25; }

/* Calendário (tabela no estilo do ebook) */
.tabela { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; background: var(--papel); border-radius: var(--raio); overflow: hidden; }
.tabela th, .tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linha); }
.tabela thead th { background: var(--verde); color: var(--creme); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.tabela tbody th { width: 34%; color: var(--vermelho); font-family: var(--titulo); font-weight: 600; }
.tabela tbody tr:nth-child(even) th, .tabela tbody tr:nth-child(even) td { background: #FBF6EC; }
.tabela tr:last-child th, .tabela tr:last-child td { border-bottom: 0; }
.aviso {
  margin: 1.2em 0; padding: 14px 16px; background: var(--dourado-claro);
  border-left: 5px solid var(--dourado); border-radius: 0 10px 10px 0;
}
.aviso p { margin: 0; }

/* Para quem é */
.lista-titulo { font-family: var(--titulo); font-size: 20px; color: var(--verde); margin-bottom: .5em; }
.lista-titulo strong { font-weight: 600; }
.lista-sim, .lista-nao { list-style: none; padding: 0; margin: 0 0 1.6em; }
.lista-sim li, .lista-nao li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.lista-sim li::before, .lista-nao li::before {
  position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; line-height: 1;
}
.lista-sim li::before { content: "\2713"; background: var(--verde-claro); color: var(--verde); }
.lista-nao li::before { content: "\2715"; background: var(--vermelho-claro); color: var(--vermelho); }

/* Oferta */
.oferta {
  background: var(--papel); border: 2px solid var(--dourado); border-radius: 18px;
  padding: 24px 16px 22px;
  box-shadow: 0 10px 30px rgba(46, 39, 35, .08);
}
.oferta h2 { text-align: center; }
.inclui { list-style: none; padding: 0; margin: 0 0 1.4em; }
.inclui li { padding: 10px 0; border-bottom: 1px dashed var(--linha); }
.inclui li:last-child { border-bottom: 0; }
.inclui .mk { color: var(--verde); font-weight: 800; margin-right: 4px; }
.preco { text-align: center; font-family: var(--titulo); font-weight: 600; font-size: 22px; color: var(--tinta); margin: .4em 0 .3em; }
.preco strong { display: block; font-size: 46px; font-weight: 700; color: var(--vermelho); line-height: 1.1; }
.por-projeto { text-align: center; }

/* Garantia */
.garantia { text-align: center; }
.selo {
  width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--verde); color: var(--creme); font-family: var(--titulo);
  box-shadow: 0 0 0 4px var(--creme), 0 0 0 6px var(--dourado);
}
.selo b { font-size: 36px; font-weight: 700; line-height: 1; color: var(--dourado-luz); }
.selo span { font-family: var(--texto); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.garantia p { text-align: left; }
.nota { font-size: 14px; color: var(--tinta-suave); }

/* FAQ */
.faq details {
  background: var(--papel); border: 1px solid var(--linha); border-radius: 12px;
  margin-bottom: 10px; padding: 0 16px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative;
  font-weight: 800; line-height: 1.4; color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 10px;
  font-size: 22px; color: var(--vermelho); font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { border-color: var(--dourado); }
.faq details p { padding-bottom: 14px; margin: 0; }
.faq summary:focus-visible { outline: 2px solid var(--dourado); outline-offset: 2px; }

/* Fechamento */
.ps { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--linha); }

/* Marcadores pendentes (precisam ser resolvidos antes de publicar) */
.pendente {
  background: #FFF2A8; border: 1px dashed #A07800; border-radius: 4px;
  padding: 0 4px; color: #4D3A00;
  font: 600 .82em/1.4 ui-monospace, Consolas, monospace;
  word-break: break-word;
}

/* Rodapé (verde, como as aberturas do ebook) */
.rodape {
  background: var(--verde); color: var(--creme-2);
  padding: 32px 0 40px; font-size: 14px; line-height: 1.55;
  border-top: 3px solid var(--dourado);
}
.rodape a { color: var(--creme); }
.rodape p { margin: 0 0 .8em; }
.rodape .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 1em; }
.rodape .ilustrativas { font-weight: 800; color: var(--creme); }
.rodape .pendente { font-size: .9em; }
/* Dados do produtor: discretos a pedido do usuário (12px, cor suave). #C9D3CA sobre o verde #2F5A45 = contraste ~5,1:1 (AA). */
.rodape .produtor { font-size: 12px; color: #C9D3CA; margin: 1.2em 0 0; }

/* Páginas legais */
.legal { padding: 32px 0 48px; }
.legal h1 { font-size: clamp(26px, 6.5vw, 36px); color: var(--verde); }
.legal h2 { font-size: 21px; color: var(--tinta); margin-top: 1.6em; }
.legal h2::after { width: 36px; margin-top: 6px; }
.legal ul { padding-left: 1.3em; }
.legal li::marker { color: var(--vermelho); }
.legal .voltar { display: inline-block; margin-bottom: 18px; font-size: 15px; }

/* Telas maiores */
@media (min-width: 720px) {
  body { font-size: 18px; }
  section { padding: 64px 0; }
  .grade { gap: 12px; }
  .ph-topo { aspect-ratio: 3 / 2; }
  .brinde, .oferta { padding: 30px 32px; }
  .faixa { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
