/* Página de venda dos Livros Bíblicos de Colorir (e a página de download). Céu azul, nuvens, amarelo do botão. */
:root {
  --azul: #2f6fe4;
  --azul-escuro: #1d4fb8;
  --azul-claro: #e8f1ff;
  --amarelo: #ffcb05;
  --amarelo-escuro: #e6b400;
  --texto: #182033;
  --suave: #5b6478;
  --branco: #ffffff;
  --borda: #dfe6f3;
  --titulo: 'Baloo 2', 'Poppins', system-ui, sans-serif;
  --fonte: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fonte); color: var(--texto); background: #f6f9ff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.1; margin: 0; }
a { color: var(--azul-escuro); }

/* ----- botões ----- */
.lv-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-family: var(--fonte); font-weight: 700; font-size: 15px;
  background: var(--amarelo); color: #1a1400; padding: 12px 22px; border-radius: 14px; text-decoration: none; box-shadow: 0 6px 0 var(--amarelo-escuro); transition: transform .15s ease, box-shadow .15s ease; }
.lv-botao:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--amarelo-escuro); }
.lv-botao:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--amarelo-escuro); }
.lv-botao-grande { font-size: 18px; padding: 17px 34px; border-radius: 18px; }
.lv-botao-pequeno { padding: 9px 16px; font-size: 14px; box-shadow: 0 4px 0 var(--amarelo-escuro); }
.lv-botao[disabled] { opacity: .6; pointer-events: none; }
.lv-selo { display: inline-block; background: rgba(255, 255, 255, .18); border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; font-weight: 600; font-size: 13.5px; padding: 6px 14px; border-radius: 99px; }

/* ----- topo ----- */
.lv-topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(29, 79, 184, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lv-marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.lv-marca b { display: block; font-size: 15px; letter-spacing: .02em; line-height: 1.1; }
.lv-marca small { display: block; font-size: 10px; letter-spacing: .22em; opacity: .8; }

/* ----- topo da página (céu) ----- */
.lv-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 40px) clamp(60px, 8vw, 110px);
  background: radial-gradient(circle at 80% 20%, #6fa6ff 0, transparent 45%), linear-gradient(180deg, #2f6fe4 0%, #3d82f0 60%, #5c9bf7 100%); }
.lv-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; background: #f6f9ff; border-radius: 50% 50% 0 0; }
.lv-nuvens i { position: absolute; background: rgba(255, 255, 255, .22); border-radius: 99px; animation: lv-nuvem 26s linear infinite; }
.lv-nuvens i::before, .lv-nuvens i::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.lv-nuvens i:nth-child(1) { width: 160px; height: 46px; top: 12%; left: -10%; }
.lv-nuvens i:nth-child(2) { width: 110px; height: 34px; top: 34%; left: 40%; animation-duration: 34s; animation-delay: -12s; }
.lv-nuvens i:nth-child(3) { width: 200px; height: 54px; top: 64%; left: 70%; animation-duration: 40s; animation-delay: -20s; }
.lv-nuvens i::before { width: 60%; height: 150%; left: 15%; top: -60%; }
.lv-nuvens i::after { width: 40%; height: 120%; right: 12%; top: -40%; }
@keyframes lv-nuvem { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.lv-hero-grade { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.lv-hero-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lv-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.lv-hero h1 span { display: block; color: var(--amarelo); }
.lv-hero p { margin: 0; font-size: 17px; max-width: 520px; color: #eaf2ff; }
.lv-preco { display: flex; align-items: center; gap: 14px; }
.lv-preco b { font-family: var(--titulo); font-size: 64px; line-height: 1; color: #fff; }
.lv-preco b small { font-size: 26px; margin-right: 4px; vertical-align: top; }
.lv-preco span { font-size: 14px; line-height: 1.35; color: #eaf2ff; }
.lv-garantias { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; }

/* leque de capas */
.lv-leque { position: relative; height: 460px; }
.lv-leque img { position: absolute; left: 50%; top: 50%; width: 220px; border-radius: 14px; box-shadow: 0 24px 50px rgba(9, 30, 80, .35); border: 6px solid #fff; transform-origin: 50% 120%;
  animation: lv-entrar .9s cubic-bezier(.2, .9, .3, 1.2) both; }
.lv-leque img:nth-child(1) { transform: translate(-50%, -50%) rotate(-24deg); animation-delay: .05s; }
.lv-leque img:nth-child(2) { transform: translate(-50%, -50%) rotate(-12deg); animation-delay: .12s; }
.lv-leque img:nth-child(3) { transform: translate(-50%, -50%) rotate(0deg); animation-delay: .19s; }
.lv-leque img:nth-child(4) { transform: translate(-50%, -50%) rotate(12deg); animation-delay: .26s; }
.lv-leque img:nth-child(5) { transform: translate(-50%, -50%) rotate(24deg); animation-delay: .33s; z-index: 1; }
@keyframes lv-entrar { from { opacity: 0; margin-top: 60px; } to { opacity: 1; margin-top: 0; } }

/* ----- seções ----- */
.lv-secao { padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 40px); }
.lv-secao-clara { background: var(--branco); }
.lv-secao-azul { background: linear-gradient(180deg, #2f6fe4, #1d4fb8); color: #fff; }
.lv-cab { max-width: 720px; margin: 0 auto 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lv-cab h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.lv-cab p { margin: 0; color: var(--suave); font-size: 16.5px; }
.lv-secao-azul .lv-cab p { color: #dce8ff; }

.lv-secao-video { padding-top: 10px; }
.lv-video-grade { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 48px; align-items: center; }
.lv-video { width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #1d4fb8; box-shadow: 0 30px 60px rgba(29, 79, 184, .3); border: 6px solid #fff; }
.lv-video-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lv-video-texto h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.lv-video-texto p { margin: 0; color: var(--suave); font-size: 17px; }
@media (max-width: 760px) {
  .lv-video-grade { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .lv-video { max-width: 300px; }
  .lv-video-texto { align-items: center; }
}
.lv-usos { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lv-usos article { background: var(--branco); border: 1.5px solid var(--borda); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.lv-usos article:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(29, 79, 184, .12); }
.lv-usos span { font-size: 34px; line-height: 1; }
.lv-usos h3 { font-size: 22px; }
.lv-usos p { margin: 0; color: var(--suave); font-size: 15px; }

.lv-livros { list-style: none; margin: 0 auto; padding: 0; max-width: 1140px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.lv-livros li { text-align: center; }
.lv-livros img { border-radius: 12px; border: 5px solid #fff; box-shadow: 0 16px 34px rgba(5, 20, 60, .35); transition: transform .25s ease; }
.lv-livros li:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.lv-livros b { display: block; margin-top: 10px; font-family: var(--titulo); font-size: 18px; line-height: 1.15; }

.lv-amostras { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lv-amostras img { border-radius: 12px; border: 1.5px solid var(--borda); box-shadow: 0 10px 24px rgba(24, 32, 51, .08); background: #fff; }

.lv-passos { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: passo; }
.lv-passos li { background: var(--azul-claro); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.lv-passos li b { width: 44px; height: 44px; border-radius: 14px; background: var(--azul); color: #fff; display: grid; place-items: center; font-family: var(--titulo); font-size: 24px; }
.lv-passos h3 { font-size: 21px; }
.lv-passos p { margin: 0; color: var(--suave); font-size: 15px; }

.lv-oferta { max-width: 960px; margin: 0 auto; background: linear-gradient(135deg, #1d4fb8, #2f6fe4); color: #fff; border-radius: 30px; padding: clamp(28px, 5vw, 50px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; box-shadow: 0 30px 60px rgba(29, 79, 184, .3); }
.lv-oferta h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.lv-oferta ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lv-oferta li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--amarelo); color: #1a1400; font-weight: 800; font-size: 13px; }
.lv-oferta-preco { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lv-oferta-preco b { font-family: var(--titulo); font-size: 84px; line-height: 1; }
.lv-oferta-preco b small { font-size: 32px; vertical-align: top; margin-right: 4px; }
.lv-oferta-preco span { color: #dce8ff; margin-bottom: 12px; }

.lv-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lv-faq details { background: #f6f9ff; border: 1.5px solid var(--borda); border-radius: 16px; padding: 16px 20px; }
.lv-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lv-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--azul); }
.lv-faq details[open] summary::after { content: "–"; }
.lv-faq p { margin: 10px 0 0; color: var(--suave); }

.lv-rodape { text-align: center; padding: 30px 16px 90px; color: var(--suave); font-size: 14px; }
.lv-rodape p { margin: 4px 0; }

.lv-whats { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }

/* ----- janela de compra ----- */
.lv-janela { position: fixed; inset: 0; z-index: 50; background: rgba(9, 18, 40, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.lv-janela[hidden] { display: none; }
.lv-janela-caixa { position: relative; width: min(440px, 100%); background: #fff; border-radius: 26px; padding: 30px 26px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: lv-subir .3s ease; }
@keyframes lv-subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.lv-janela-caixa h2 { font-size: 30px; margin-bottom: 4px; }
.lv-janela-sub { margin: 0 0 18px; color: var(--suave); font-size: 15px; }
.lv-fechar { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2fa; font-size: 22px; cursor: pointer; color: var(--suave); }
#compraForm { display: flex; flex-direction: column; gap: 12px; }
#compraForm label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
#compraForm label small { font-weight: 400; color: var(--suave); }
#compraForm input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 12px; background: #f9fbff; }
#compraForm input:focus { outline: none; border-color: var(--azul); background: #fff; }
#compraForm input.lv-invalido { border-color: #e5484d; }
#compraForm .lv-botao { margin-top: 6px; }
.lv-erro { margin: 0; color: #c62a2f; font-size: 14px; font-weight: 500; }
.lv-janela-nota { display: block; color: var(--suave); font-size: 12.5px; text-align: center; margin-top: 8px; }
#compraPix, #compraPago { text-align: center; }
#compraPix img { margin: 0 auto 14px; border-radius: 12px; border: 1.5px solid var(--borda); }
.lv-copia { display: flex; gap: 8px; }
.lv-copia input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 10px 12px; border: 1.5px solid var(--borda); border-radius: 12px; background: #f9fbff; }
.lv-aguardando { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; color: var(--suave); font-size: 14px; }
.lv-roda { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--borda); border-top-color: var(--azul); animation: lv-girar 1s linear infinite; }
@keyframes lv-girar { to { transform: rotate(360deg); } }

/* ----- página de download ----- */
.lv-pagina-acesso { background: linear-gradient(180deg, #2f6fe4 0, #2f6fe4 260px, #f6f9ff 260px); }
.lv-acesso { max-width: 820px; margin: 0 auto; padding: 40px 16px 60px; }
.lv-acesso-cab { background: #fff; border-radius: 26px; padding: 30px 26px; text-align: center; box-shadow: 0 24px 60px rgba(29, 79, 184, .18); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lv-acesso-cab .lv-selo { background: #e6f8ee; border-color: #b6ebcb; color: #137a3d; }
.lv-acesso-cab h1 { font-size: clamp(28px, 5vw, 40px); }
.lv-acesso-cab p { margin: 0; color: var(--suave); }
.lv-acesso-cab small { color: var(--suave); font-size: 13px; }
.lv-acesso-lista { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.lv-acesso-lista li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--borda); border-radius: 18px; padding: 10px 14px 10px 10px; }
.lv-acesso-lista img { width: 56px; border-radius: 8px; }
.lv-acesso-lista div { flex: 1; min-width: 0; }
.lv-acesso-lista b { display: block; font-family: var(--titulo); font-size: 19px; line-height: 1.2; }
.lv-acesso-lista small { color: var(--suave); font-size: 13px; }
.lv-acesso-vazio { background: #fff; border-radius: 26px; padding: 34px 26px; text-align: center; }
.lv-acesso-vazio h1 { font-size: 32px; margin-bottom: 8px; }
.lv-acesso-rodape { text-align: center; color: var(--suave); font-size: 13px; margin-top: 30px; }

/* ----- celular ----- */
@media (max-width: 960px) {
  .lv-hero-grade { grid-template-columns: 1fr; }
  .lv-hero-texto { align-items: center; text-align: center; }
  .lv-garantias { justify-content: center; }
  .lv-leque { height: 340px; }
  .lv-leque img { width: 160px; }
  .lv-usos { grid-template-columns: 1fr 1fr; }
  .lv-livros { grid-template-columns: repeat(3, 1fr); }
  .lv-amostras { grid-template-columns: repeat(3, 1fr); }
  .lv-oferta { grid-template-columns: 1fr; text-align: center; }
  .lv-oferta ul { align-items: center; }
}
@media (max-width: 620px) {
  .lv-usos, .lv-passos { grid-template-columns: 1fr; }
  .lv-livros { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lv-amostras { grid-template-columns: repeat(2, 1fr); }
  .lv-leque { height: 280px; }
  .lv-leque img { width: 130px; border-width: 4px; }
  .lv-preco b { font-size: 54px; }
  .lv-topo .lv-marca span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lv-nuvens i, .lv-leque img, .lv-roda, .lv-janela-caixa { animation: none; }
}
