/* ==========================================================================
   Um Doce para Cada Momento · Bluery — folha de estilos
   Paleta: creme #F7EDE3 · chocolate #4A281C · caramelo #B88763 · vinho #843F48
           branco #FFFFFF · azul mirtilo #344C78 (destaque da marca)
   Fontes: Playfair Display (títulos) e Lato (textos), arquivos locais, licença SIL OFL
   ========================================================================== */

@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --creme: #F7EDE3;
  --creme-2: #EFE1D2;
  --creme-3: #FBF6F0;
  --chocolate: #4A281C;
  --chocolate-2: #2E1810;
  --caramelo: #B88763;
  --caramelo-escuro: #8E6544; /* caramelo com contraste para texto pequeno */
  --vinho: #843F48;
  --vinho-escuro: #6E333B;
  --branco: #FFFFFF;
  --mirtilo: #344C78;
  --texto: #3B2219;
  --texto-suave: #6B4F43;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --raio: 14px;
  --raio-g: 22px;
  --sombra: 0 10px 30px -12px rgba(74, 40, 28, .25);
  --sombra-g: 0 30px 60px -25px rgba(46, 24, 16, .45);
  --topo-h: 72px;
  --lado: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--texto); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--chocolate); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--vinho); }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mirtilo); outline-offset: 3px; border-radius: 4px; }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; background: var(--chocolate); color: var(--creme); padding: 10px 16px; border-radius: 8px; z-index: 200; text-decoration: none; }
.pular:focus { top: 12px; }

.largura { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--lado); }
.largura-estreita { max-width: 860px; }
.secao { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.sobretitulo { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--vinho); font-weight: 700; margin-bottom: 14px; }
.sobretitulo-claro { color: var(--caramelo); }
.cabecalho-secao { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.cabecalho-secao h2 { font-size: clamp(32px, 4.6vw, 52px); }
.cabecalho-secao .lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--texto-suave); }
.alinhado-esquerda { text-align: left; margin-left: 0; }
.cabecalho-secao::after { content: ""; display: block; width: 46px; height: 1.5px; background: var(--caramelo); margin: 26px auto 0; }
.alinhado-esquerda::after { margin-left: 0; }

/* ---------- Botões ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.botao-principal { background: var(--vinho); color: var(--branco); box-shadow: 0 10px 24px -10px rgba(132, 63, 72, .6); }
.botao-principal:hover { background: var(--vinho-escuro); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(132, 63, 72, .7); }
.botao-secundario { background: transparent; color: var(--chocolate); box-shadow: inset 0 0 0 1.5px rgba(74, 40, 28, .35); }
.botao-secundario:hover { box-shadow: inset 0 0 0 1.5px var(--chocolate); background: rgba(255,255,255,.5); }
.botao-grande { width: 100%; min-height: 60px; font-size: 15px; }

/* ---------- Cabeçalho ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--topo-h); transition: background-color .3s ease, box-shadow .3s ease, height .3s ease; }
.topo.rolado { background: rgba(247, 237, 227, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 rgba(74, 40, 28, .08); --topo-h: 64px; height: 64px; }
.topo-in { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--lado); display: flex; align-items: center; justify-content: space-between; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-icone { width: 30px; height: 30px; }
.marca-nome { font-family: var(--serif); font-size: 24px; color: var(--chocolate); letter-spacing: .02em; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { text-decoration: none; font-size: 14.5px; color: var(--chocolate); position: relative; padding: 6px 0; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--caramelo); transform: scaleX(0); transition: transform .3s ease; transform-origin: left; }
.menu a:not(.menu-cta):hover::after, .menu a.ativo::after { transform: scaleX(1); }
.menu .menu-cta { padding: 9px 20px; border-radius: 999px; background: var(--chocolate); color: var(--creme); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: background-color .25s; }
.menu .menu-cta:hover { background: var(--vinho); }
.menu-botao { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.menu-botao span { display: block; height: 2px; background: var(--chocolate); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; padding: calc(var(--topo-h) + 40px) 0 80px;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(184, 135, 99, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(132, 63, 72, .08), transparent 60%),
    var(--creme); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -8%; top: 12%; width: 54%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184, 135, 99, .35); pointer-events: none; }
.hero-in { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--lado); display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.0; margin-bottom: 26px; }
.hero h1 em { display: block; }
.hero-frase { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.1vw, 27px); color: var(--chocolate); line-height: 1.35; margin-bottom: 14px; }
.hero-sub { font-size: clamp(16.5px, 1.4vw, 18px); color: var(--texto-suave); max-width: 520px; margin-bottom: 34px; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-fatos { list-style: none; display: flex; gap: 34px; padding: 0; margin: 0; font-size: 14px; color: var(--texto-suave); letter-spacing: .04em; }
.hero-fatos strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--chocolate); line-height: 1.05; }
.hero-fatos li + li { padding-left: 34px; border-left: 1px solid rgba(74, 40, 28, .15); }

.hero-visual { position: relative; padding: 0 0 60px 0; }
.hero-foto { margin: 0; border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra-g); aspect-ratio: 4 / 4.4; position: relative; transform: translateX(6%); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.04); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.carregado .hero-foto img { transform: scale(1); }
.selo-ilustrativa { position: absolute; right: 12px; bottom: 12px; background: rgba(247, 237, 227, .92); color: var(--chocolate); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; font-family: var(--sans); }

/* Livro 3D */
.livro-3d { position: absolute; left: -6%; bottom: 0; width: 46%; perspective: 1400px; z-index: 2; }
.livro-3d-in { position: relative; transform: rotateY(-24deg) rotateX(4deg) rotateZ(-1deg); transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .7, .2, 1); animation: flutua 7s ease-in-out infinite; }
.livro-3d img { border-radius: 2px 6px 6px 2px; box-shadow: 30px 40px 50px -20px rgba(46, 24, 16, .55), 6px 6px 18px rgba(46, 24, 16, .25); position: relative; z-index: 2; }
.livro-3d img::after { content: ""; }
.livro-lombada { position: absolute; top: 0; left: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 40%, rgba(0,0,0,.15)); z-index: 3; border-radius: 2px 0 0 2px; }
.livro-paginas { position: absolute; top: 1.2%; bottom: 1.2%; right: -10px; width: 12px; background: repeating-linear-gradient(90deg, #f3ede4 0 1px, #ddd2c4 1px 2px); transform: rotateY(70deg); transform-origin: left; z-index: 1; border-radius: 0 3px 3px 0; }
.hero-visual:hover .livro-3d-in { transform: rotateY(-14deg) rotateX(2deg) rotateZ(0); }
@keyframes flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.selo-30 { position: absolute; right: -2%; top: -4%; z-index: 3; width: 118px; height: 118px; border-radius: 50%; background: var(--mirtilo); color: var(--creme);
  display: grid; place-content: center; text-align: center; box-shadow: 0 16px 34px -14px rgba(52, 76, 120, .7); transform: rotate(-8deg); }
.selo-30::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(247, 237, 227, .55); }
.selo-30 span { font-family: var(--serif); font-size: 44px; line-height: .9; }
.selo-30 small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }

.hero-rolar { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(74, 40, 28, .35); border-radius: 14px; translate: -50% 0; }
.hero-rolar span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--chocolate); translate: -50% 0; animation: rolar 2s ease-in-out infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Entrada */
.entra { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d) * 110ms); }
.carregado .entra { opacity: 1; transform: none; }
.revela { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.revela.visivel { opacity: 1; transform: none; }

/* ---------- 2. Sobre ---------- */
.sobre { background: var(--creme-3); }
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cartao-destaque { background: var(--branco); border-radius: var(--raio-g); padding: 38px 32px 34px; box-shadow: var(--sombra); transition: transform .35s ease, box-shadow .35s ease; transition-delay: 0s !important; }
.cartao-destaque:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(74, 40, 28, .35); }
.cartao-destaque h3 { font-size: 24px; margin: 22px 0 10px; }
.cartao-destaque p { color: var(--texto-suave); margin: 0; }
.icone { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--creme); }
.icone svg { width: 30px; height: 30px; fill: none; stroke: var(--vinho); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Receitas ---------- */
.receitas { background: var(--creme); }
.abas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.aba { border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; background: transparent; color: var(--chocolate); font-size: 14.5px;
  box-shadow: inset 0 0 0 1px rgba(74, 40, 28, .2); transition: background-color .25s, color .25s, box-shadow .25s; }
.aba:hover { box-shadow: inset 0 0 0 1px var(--chocolate); }
.aba[aria-selected="true"] { background: var(--chocolate); color: var(--creme); box-shadow: none; }
.aba .qtd { font-size: 12px; opacity: .65; margin-left: 4px; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; min-height: 400px; }
.cartao-receita { background: var(--branco); border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease; animation: surge .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.cartao-receita:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -22px rgba(74, 40, 28, .4); }
.cartao-receita figure { margin: 0; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--creme-2); }
.cartao-receita img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cartao-receita:hover img { transform: scale(1.06); }
.cartao-receita .num { position: absolute; left: 14px; top: 14px; background: rgba(247, 237, 227, .94); color: var(--chocolate); font-family: var(--serif); font-size: 15px; padding: 3px 10px; border-radius: 999px; }
.cartao-receita .selo-ilustrativa { font-size: 9.5px; padding: 4px 8px; right: 10px; bottom: 10px; }
.cartao-receita .corpo { padding: 22px 24px 26px; }
.cartao-receita .cat { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--caramelo-escuro); font-weight: 700; }
.cartao-receita h3 { font-size: 23px; margin: 8px 0 10px; }
.cartao-receita p { font-size: 15.5px; color: var(--texto-suave); margin: 0; line-height: 1.55; }
@keyframes surge { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.nota-imagens { text-align: center; font-size: 13px; color: var(--texto-suave); margin: 30px 0 0; letter-spacing: .04em; }

/* ---------- 4. Conteúdo ---------- */
.conteudo-livro { background: linear-gradient(180deg, var(--creme-2), var(--creme)); }
.grade-conteudo { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.livro-aberto { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #fff; padding: 10px; border-radius: 10px; box-shadow: var(--sombra-g); transform: perspective(1600px) rotateX(8deg) rotateZ(-2deg); }
.livro-aberto img { width: 100%; }
.livro-aberto img:first-child { box-shadow: inset -20px 0 30px -20px rgba(0,0,0,.4); border-radius: 4px 0 0 4px; }
.livro-aberto img:nth-child(2) { border-radius: 0 4px 4px 0; }
.livro-aberto .dobra { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 40px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.18) 48%, rgba(255,255,255,.25) 52%, transparent); pointer-events: none; }
.lista-conteudo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lista-conteudo li { background: var(--branco); border-radius: var(--raio); padding: 16px 18px 16px 16px; display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; box-shadow: 0 4px 14px -8px rgba(74, 40, 28, .2); }
.lista-conteudo li span { font-family: var(--serif); font-style: italic; color: var(--vinho); font-size: 17px; line-height: 1.3; flex: none; }

/* ---------- 5. Prévia ---------- */
.previa { background: var(--chocolate); color: var(--creme); overflow: hidden; }
.previa h2 { color: var(--creme); }
.previa h2 em { color: #E3B48F; }
.previa .sobretitulo { color: var(--caramelo); }
.previa .lead { color: #D9C2B0; }
.visualizador { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); }
.vis-livro { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(900px, 100%); background: #fff; padding: 8px; border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.vis-livro::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 46px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.16) 48%, rgba(255,255,255,.2) 52%, transparent); pointer-events: none; }
.vis-pagina { border: 0; padding: 0; margin: 0; background: #F7EDE3; cursor: zoom-in; aspect-ratio: 210 / 297; overflow: hidden; display: block; width: 100%; position: relative; }
.vis-pagina img { width: 100%; height: 100%; object-fit: cover; animation: vira .5s ease both; }
@keyframes vira { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.vis-seta, .lightbox-seta { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(247, 237, 227, .12); color: var(--creme); display: grid; place-items: center; transition: background-color .25s, transform .25s; }
.vis-seta:hover:not(:disabled), .lightbox-seta:hover { background: var(--vinho); transform: scale(1.06); }
.vis-seta:disabled { opacity: .3; cursor: default; }
.vis-seta svg, .lightbox-seta svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vis-contador { text-align: center; margin: 22px 0 18px; color: #D9C2B0; font-size: 14px; letter-spacing: .08em; }
.vis-miniaturas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.vis-mini { width: 46px; aspect-ratio: 210 / 297; border: 0; padding: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .25s, transform .25s, box-shadow .25s; background: #fff; }
.vis-mini img { width: 100%; height: 100%; object-fit: cover; }
.vis-mini:hover { opacity: .85; }
.vis-mini.atual { opacity: 1; box-shadow: 0 0 0 2px var(--caramelo); transform: translateY(-3px); }
.frase-previa { text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--creme); margin: 48px auto 0; max-width: 640px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(28, 14, 9, .94); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 60px 16px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: min(760px, 100%); width: auto; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.6); background: #fff; }
.lightbox-fechar { position: absolute; right: 16px; top: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(247, 237, 227, .12); color: var(--creme); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-fechar:hover { background: var(--vinho); }
.lightbox-legenda { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #D9C2B0; font-size: 14px; margin: 0; }

/* ---------- 6. Para quem ---------- */
.para-quem { background: var(--creme-3); }
.grade-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cartao-publico { background: var(--branco); border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra); transition: transform .35s ease, box-shadow .35s ease; }
.cartao-publico:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -20px rgba(74, 40, 28, .35); }
.cartao-publico img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; filter: saturate(.92); }
.cartao-publico > div { padding: 22px 22px 26px; }
.cartao-publico h3 { font-size: 21px; margin-bottom: 8px; }
.cartao-publico p { color: var(--texto-suave); margin: 0; font-size: 15.5px; }

/* ---------- 7. Oferta ---------- */
.oferta { background: radial-gradient(900px 500px at 20% 0%, rgba(132, 63, 72, .45), transparent 60%), var(--chocolate-2); color: var(--creme); }
.oferta h2 { color: var(--creme); }
.oferta h2 em { color: #E3B48F; }
.oferta .cabecalho-secao::after { background: var(--caramelo); }
.cartao-oferta { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; background: var(--creme); color: var(--texto); border-radius: 28px; padding: clamp(30px, 5vw, 64px); max-width: 1000px; margin: 0 auto; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); position: relative; }
.cartao-oferta::before { content: ""; position: absolute; inset: 12px; border-radius: 20px; border: 1px solid rgba(184, 135, 99, .45); pointer-events: none; }
.oferta-capa { display: flex; justify-content: center; }
.livro-3d-pequeno { position: relative; left: auto; bottom: auto; width: min(300px, 80%); }
.oferta-info h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 20px; }
.oferta-info h3 span { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--vinho); margin-top: 10px; font-weight: 700; }
.oferta-lista { list-style: none; padding: 0; margin: 0 0 26px; }
.oferta-lista li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid rgba(74, 40, 28, .1); font-size: 16px; }
.oferta-lista li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--mirtilo); }
.oferta-lista li::after { content: ""; position: absolute; left: 8px; top: 17px; width: 5px; height: 8px; border: solid var(--creme); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.oferta-preco { display: flex; align-items: flex-start; gap: 6px; color: var(--chocolate); font-family: var(--serif); line-height: 1; }
.oferta-preco .moeda { font-size: 24px; margin-top: 10px; }
.oferta-preco .valor { font-size: clamp(56px, 6vw, 72px); }
.oferta-obs { font-size: 14px; color: var(--texto-suave); margin: 8px 0 22px; min-height: 1em; }
.oferta-kiwify { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--texto-suave); margin: 18px 0 0; }
.oferta-kiwify svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pre-lancamento { background: var(--branco); border-radius: var(--raio); padding: 20px 22px; text-align: center; }
.pre-lancamento p { margin: 0 0 6px; color: var(--texto-suave); font-size: 15.5px; }
.pre-selo { display: inline-block; font-size: 12px !important; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--branco) !important; background: var(--mirtilo); padding: 6px 14px; border-radius: 999px; margin-bottom: 12px !important; }
.form-interesse { display: flex; gap: 10px; margin-top: 14px; }
.form-interesse input[type="email"] { flex: 1; min-width: 0; min-height: 52px; border-radius: 999px; border: 1px solid rgba(74, 40, 28, .25); padding: 0 20px; font: inherit; font-size: 15.5px; background: var(--creme-3); color: var(--texto); }
.form-interesse input:focus { outline: none; border-color: var(--mirtilo); box-shadow: 0 0 0 3px rgba(52, 76, 120, .2); }
.form-interesse .botao { padding: 0 22px; font-size: 12.5px; }
.form-retorno { margin-top: 10px !important; font-size: 14px !important; }
.form-retorno:empty { display: none; }

/* ---------- 8. FAQ ---------- */
.faq { background: var(--creme); }
.item-faq { border-bottom: 1px solid rgba(74, 40, 28, .14); }
.item-faq h3 { margin: 0; }
.item-faq button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: 0; cursor: pointer;
  padding: 24px 4px; font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); color: var(--chocolate); line-height: 1.3; }
.item-faq button:hover { color: var(--vinho); }
.mais { flex: none; width: 34px; height: 34px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px rgba(74, 40, 28, .25); transition: transform .35s ease, background-color .35s; }
.mais::before, .mais::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; translate: -50% -50%; transition: transform .35s ease; }
.mais::after { transform: rotate(90deg); }
.item-faq button[aria-expanded="true"] .mais { transform: rotate(180deg); background: var(--chocolate); color: var(--creme); box-shadow: none; }
.item-faq button[aria-expanded="true"] .mais::after { transform: rotate(0); }
.resposta { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease, visibility .4s; }
.resposta > .resposta-in { overflow: hidden; min-height: 0; }
.resposta { visibility: hidden; } .resposta.aberta { visibility: visible; }
.resposta.aberta { grid-template-rows: 1fr; }
.resposta p { color: var(--texto-suave); padding: 0 56px 24px 4px; margin: 0; }

/* ---------- 9. Encerramento ---------- */
.encerramento { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.encerramento-foto { position: absolute; inset: 0; margin: 0; }
.encerramento-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.encerramento-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46, 24, 16, .9) 0%, rgba(46, 24, 16, .72) 40%, rgba(46, 24, 16, .1) 75%); }
.encerramento-foto .selo-ilustrativa { z-index: 2; }
.encerramento-texto { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 100px var(--lado); color: var(--creme); }
.encerramento-texto h2 { color: var(--creme); font-size: clamp(34px, 4.6vw, 56px); max-width: 600px; margin-bottom: 22px; }
.encerramento-texto h2 em { color: #E3B48F; }
.encerramento-texto p { max-width: 520px; color: #EADBCD; font-size: 18px; margin-bottom: 34px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--chocolate-2); color: #D9C2B0; padding: 64px 0 28px; font-size: 15px; }
.rodape-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(247, 237, 227, .12); }
.rodape .marca-nome { color: var(--creme); font-size: 28px; }
.rodape-marca p { margin: 8px 0 0; }
.rodape-links { display: flex; flex-direction: column; gap: 8px; }
.rodape a { color: #E6D3C2; text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; }
.rodape-contato p { margin: 0 0 8px; }
.rodape-base { padding-top: 22px; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.rodape-base p { margin: 0; }
.rodape-politicas a + a::before { content: "·"; margin: 0 10px; color: #8E7363; }
.rodape-politicas:empty { display: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .grade-4 { grid-template-columns: repeat(2, 1fr); }
  .lista-conteudo { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --topo-h: 64px; }
  .menu-botao { display: flex; }
  .menu { position: fixed; top: var(--topo-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--creme); padding: 8px var(--lado) 22px;
    box-shadow: 0 20px 30px -20px rgba(74, 40, 28, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
  .menu.aberto { opacity: 1; transform: none; visibility: visible; }
  .menu a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid rgba(74, 40, 28, .08); }
  .menu a::after { display: none; }
  .menu .menu-cta { margin-top: 16px; text-align: center; padding: 15px; border: 0; }
  .topo.menu-aberto { background: var(--creme); }

  .hero { min-height: auto; padding-top: calc(var(--topo-h) + 28px); padding-bottom: 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-texto { text-align: center; }
  .hero h1 { margin-bottom: 18px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-botoes { justify-content: center; }
  .hero-fatos { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; padding-bottom: 40px; }
  .hero-foto { transform: none; aspect-ratio: 4 / 3.4; }
  .livro-3d { width: 40%; left: -2%; }
  .selo-30 { right: 0; top: -6%; width: 96px; height: 96px; }
  .selo-30 span { font-size: 36px; }
  .hero-rolar { display: none; }

  .grade-3 { grid-template-columns: 1fr; }
  .grade-conteudo { grid-template-columns: 1fr; }
  .livro-aberto { max-width: 560px; margin: 0 auto; width: 100%; }
  .cartao-oferta { grid-template-columns: 1fr; text-align: center; }
  .oferta-lista { text-align: left; }
  .oferta-preco { justify-content: center; }
  .rodape-in { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero-botoes .botao { width: 100%; }
  .hero-fatos { gap: 22px; }
  .hero-fatos li + li { padding-left: 22px; }
  .galeria { grid-template-columns: 1fr; gap: 20px; }
  .abas { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 calc(var(--lado) * -1) 30px; padding: 4px var(--lado) 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .abas::-webkit-scrollbar { display: none; }
  .aba { flex: none; scroll-snap-align: start; }
  .grade-4 { grid-template-columns: 1fr; }
  .vis-livro { grid-template-columns: 1fr; width: min(400px, 100%); }
  .vis-livro::after { display: none; }
  .vis-seta { width: 42px; height: 42px; }
  .visualizador { gap: 6px; }
  .vis-mini { width: 36px; }
  .form-interesse { flex-direction: column; }
  .encerramento { min-height: 0; flex-direction: column; }
  .encerramento-foto { position: relative; aspect-ratio: 16 / 10; width: 100%; }
  .encerramento-foto::after { background: linear-gradient(180deg, transparent 50%, rgba(46, 24, 16, .9)); }
  .encerramento-texto { background: var(--chocolate-2); padding: 40px var(--lado) 64px; }
  .lightbox-seta { position: absolute; bottom: 14px; width: 44px; height: 44px; }
  .lb-anterior { left: 16px; } .lb-proxima { right: 16px; }
  .lightbox-legenda { bottom: 26px; left: 70px; right: 70px; }
  .resposta p { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entra, .revela { opacity: 1; transform: none; }
}
