/* Tela de lançamento (reinauguração) — allpa-home.
   Identidade da Allpa: Gloock nos títulos (parte final em laranja), Open Sans no resto, fundo branco,
   foto de ponta a ponta, botões retangulares de 8 px.
   Computador: a tela cabe inteira na altura da janela — tamanhos e espaços escalam com a altura (--a). */

:root {
	--lc-laranja: #FF7721;
	--lc-laranja-hover: #F26A12;
	--lc-laranja-texto: #B84A0C;
	--lc-marrom: #382A23;
	--lc-texto: #5C4B42;
	--lc-suave: #7E7069;
	--lc-borda: #EADFD6;
	--lc-tinta: #FFF4EC;
	--lc-erro: #B42318;
	--lc-verde: #2F8A57;
}

html, body { margin: 0; padding: 0; background: #FFFFFF; }
body.allpa-lancamento { font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--lc-marrom); -webkit-font-smoothing: antialiased; overflow-x: clip; caret-color: var(--lc-laranja); }
body.allpa-lancamento ::selection { background: #FFD9BF; color: var(--lc-marrom); }
/* Qualquer coisa que outro plugin imprima no rodapé (botão flutuante, barra, aviso) fica fora da tela. */
body.allpa-lancamento > *:not(.lc):not(script):not(style):not(link):not(noscript) { display: none !important; }
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc [hidden] { display: none !important; }
.lc a { color: inherit; text-underline-offset: 3px; }
.lc :focus-visible { outline: 2px solid var(--lc-marrom); outline-offset: 3px; }
.lc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================================================================ estrutura */
.lc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.lc-foto { position: relative; margin: 0; overflow: hidden; background: #F3E6DC; }
.lc-foto-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: lc-aproxima 24s cubic-bezier(.16, 1, .3, 1) both; }
.lc-foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(56, 42, 35, .38) 0%, rgba(56, 42, 35, 0) 26%); }
.lc-logo { position: absolute; z-index: 2; top: clamp(20px, 3.2vh, 40px); left: clamp(20px, 3vw, 44px); display: block; width: clamp(104px, 9vw, 148px); }
.lc-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .16)); }

.lc-lado { display: flex; justify-content: center; background: #FFFFFF; }
.lc-miolo { width: 100%; max-width: 520px; display: flex; flex-direction: column; }

/* ================================================================ texto */
.lc-titulo { margin: 0; font-family: Gloock, Georgia, serif; font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; color: var(--lc-marrom); text-wrap: balance; }
.lc-titulo span, .lc h2 span { color: var(--lc-laranja); }
.lc-texto { margin: 0; color: var(--lc-texto); line-height: 1.55; text-wrap: pretty; }
.lc h2 { margin: 0; font-family: Gloock, Georgia, serif; font-weight: 400; line-height: 1.1; color: var(--lc-marrom); text-wrap: balance; }

/* assinatura à mão, inclinada -25° (a mesma da página de produto), pequena, ao lado do título */
.lc-cabeca { position: relative; }
.lc-titulo-caixa { position: relative; } /* a assinatura se apoia no pé do título, nunca em cima do texto */
.lc-assinatura { position: absolute; z-index: 1; margin: 0; display: grid; justify-items: start; font-family: "Tropical Summer Signature", "Mrs Saint Delafield", cursive; font-weight: 400; line-height: .9; transform: rotate(-25deg); transform-origin: center; pointer-events: none; user-select: none; }
.lc-assinatura span { white-space: nowrap; }
.lc-assinatura-um { color: #E8630F; }
.lc-assinatura-dois { margin-left: .9em; color: var(--lc-marrom); }

/* contagem */
.lc-contagem-tit { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-suave); }
.lc-relogio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lc-unid { display: grid; justify-items: center; align-content: center; gap: 3px; border-radius: 14px; background: var(--lc-tinta); overflow: hidden; }
.lc-unid b { display: block; font-family: Gloock, Georgia, serif; font-weight: 400; line-height: 1; color: var(--lc-marrom); font-variant-numeric: tabular-nums; }
.lc-unid b.lc-tique { animation: lc-tique .45s cubic-bezier(.16, 1, .3, 1); }
.lc-unid span { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-suave); }
.lc-chegou { margin: 8px 0 0; font-weight: 700; color: var(--lc-laranja-texto); }

/* o que ganha */
.lc-vantagens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lc-borda); border-bottom: 1px solid var(--lc-borda); }
.lc-vantagens li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.lc-vantagens li + li { border-left: 1px solid var(--lc-borda); }
.lc-ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lc-tinta); color: var(--lc-laranja-texto); }
.lc-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lc-vantagens b { display: block; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--lc-marrom); }
.lc-vantagens div span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--lc-texto); }

/* ================================================================ formulário e estados */
.lc-cartao { border: 1px solid var(--lc-borda); border-radius: 18px; background: #FFFFFF; box-shadow: 0 26px 50px -40px rgba(56, 42, 35, .5); }
.lc-form { display: grid; gap: 10px; }
.lc-campos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; } /* um embaixo do outro (Lucas, 27/09/2026) */
.lc-campo { display: grid; gap: 5px; }
.lc-campo label { font-size: 12.5px; font-weight: 700; color: var(--lc-marrom); }
.lc-campo input, .lc-whats input { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid #E0D4CA; border-radius: 10px; background: #FFFFFF; color: var(--lc-marrom); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.lc-campo input::placeholder, .lc-whats input::placeholder { color: #A99A90; }
.lc-campo input:focus, .lc-whats input:focus { outline: none; border-color: #B9A89C; box-shadow: 0 0 0 4px rgba(185, 168, 156, .2); }
.com-erro input { border-color: var(--lc-erro) !important; }
.lc-mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lc-botao { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 0; padding: 0 20px; border: 0; border-radius: 8px; background: var(--lc-laranja); color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 14px 26px -18px rgba(255, 119, 33, .95); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.lc-botao:hover { background: var(--lc-laranja-hover); box-shadow: 0 18px 30px -18px rgba(255, 119, 33, 1); }
.lc-botao:active { transform: translateY(1px); }
.lc-botao[disabled] { cursor: wait; }
.lc-botao.enviando span { opacity: 0; }
.lc-botao.enviando::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #FFFFFF; border-radius: 50%; animation: lc-gira .8s linear infinite; }
.lc-botao-claro { background: #FFFFFF; color: var(--lc-marrom); border: 1.5px solid var(--lc-marrom); box-shadow: none; }
.lc-botao-claro:hover { background: var(--lc-marrom); color: #FFFFFF; box-shadow: none; }
.lc-botao-claro.enviando::after { border-color: rgba(56, 42, 35, .25); border-top-color: var(--lc-marrom); }
.lc-botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lc-erro { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--lc-erro); }
.lc-nota { margin: 0; font-size: 12px; line-height: 1.5; color: var(--lc-suave); }
.lc-nota a { color: var(--lc-marrom); font-weight: 600; }
.lc-aviso { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--lc-tinta); font-size: 13.5px; color: var(--lc-texto); }
.lc-aviso b { color: var(--lc-marrom); }

.lc-estado { display: grid; gap: 10px; animation: lc-entra .5s cubic-bezier(.16, 1, .3, 1) both; }
.lc-estado p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--lc-texto); }
.lc-ok strong, .lc-ok [data-email] { color: var(--lc-marrom); font-weight: 700; word-break: break-word; }
.lc-dica { font-size: 13px !important; color: var(--lc-suave) !important; }
.lc-link { padding: 0; border: 0; background: none; color: var(--lc-marrom); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lc-whats { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--lc-borda); }
.lc-whats-tit { font-size: 13.5px !important; }
.lc-whats-tit b { color: var(--lc-marrom); }
.lc-whats-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.lc-whats-linha .lc-botao { width: auto; min-height: 48px; font-size: 12.5px; }
.lc-whats-ok { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lc-verde) !important; }
.lc-whats-ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.lc-cupom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border: 2px dashed var(--lc-laranja); border-radius: 14px; background: #FFFAF6; }
.lc-cupom-codigo { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: .12em; color: var(--lc-marrom); word-break: break-all; }
.lc-copiar { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--lc-marrom); color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .2s ease; }
.lc-copiar.ok { background: var(--lc-verde); }

/* rodapé */
.lc-rodape { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--lc-suave); }
.lc-rodape nav { display: flex; gap: 6px; }
.lc-rodape nav a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--lc-marrom); transition: background-color .2s ease, color .2s ease; }
.lc-rodape nav a:hover { background: var(--lc-tinta); color: var(--lc-laranja-texto); }
.lc-rodape nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lc-rodape svg { width: 19px; height: 19px; fill: currentColor; }
.lc-rodape-priv { color: var(--lc-suave) !important; }

/* ================================================================ computador: tudo numa tela só */
@media (min-width: 901px) {
	.lc { height: 100vh; height: 100dvh; overflow: hidden; }
	.lc-lado { --a: 1vh; height: 100vh; height: 100dvh; overflow-y: auto; scrollbar-width: none; align-items: center; padding: calc(var(--a) * 3.1) clamp(28px, 4.4vw, 72px); }
	.lc-lado::-webkit-scrollbar { display: none; }
	.lc-miolo { gap: calc(var(--a) * 2.5); }
	.lc-titulo { font-size: clamp(2rem, min(3.6vw, calc(var(--a) * 5.8)), 3.6rem); }
	.lc-titulo-caixa { padding-bottom: calc(var(--a) * 1.4); }
	.lc-assinatura { right: 0; bottom: -0.15em; font-size: clamp(1.8rem, min(3.2vw, calc(var(--a) * 5.2)), 3.4rem); }
	.lc-texto { margin-top: calc(var(--a) * 1.1); font-size: clamp(.92rem, calc(var(--a) * 1.95), 1.04rem); max-width: 44ch; }
	.lc-contagem { display: grid; gap: calc(var(--a) * 1); }
	.lc-unid { padding: calc(var(--a) * 1.2) 4px calc(var(--a) * .9); }
	.lc-unid b { font-size: clamp(1.5rem, calc(var(--a) * 3.9), 2.5rem); }
	.lc-ganha { display: grid; gap: calc(var(--a) * 1.1); }
	.lc-ganha h2 { font-size: clamp(1.3rem, calc(var(--a) * 3.1), 1.8rem); }
	.lc-vantagens li { padding: calc(var(--a) * 1.3) 14px calc(var(--a) * 1.3) 0; }
	.lc-vantagens li + li { padding-left: 14px; }
	.lc-cartao { padding: calc(var(--a) * 2.2) clamp(18px, 1.8vw, 24px); }
	.lc-form { gap: calc(var(--a) * 1.1); }
	.lc-campo input { height: clamp(42px, calc(var(--a) * 5.8), 50px); }
	.lc-botao { min-height: clamp(46px, calc(var(--a) * 6.2), 54px); }
}
/* Janelas baixas (notebook com barra de favoritos, zoom alto): some o que é secundário, nada rola. */
/* Depois do envio (falta um passo, WhatsApp, cupom), o texto de abertura sai para tudo caber. */
@media (min-width: 901px) {
	.lc-com-estado .lc-texto, .lc-vista-confirmado .lc-texto, .lc-vista-enviado .lc-texto { display: none; }
}
@media (min-width: 901px) and (max-height: 780px) {
	.lc-com-estado .lc-vantagens div span, .lc-vista-confirmado .lc-vantagens div span, .lc-vista-enviado .lc-vantagens div span { display: none; }
	.lc-com-estado .lc-vantagens li, .lc-vista-confirmado .lc-vantagens li, .lc-vista-enviado .lc-vantagens li { align-items: center; }
	.lc-com-estado .lc-contagem-tit, .lc-vista-enviado .lc-contagem-tit { display: none; }
}
@media (min-width: 901px) and (max-height: 700px) {
	.lc-texto { display: none; }
	.lc-vantagens div span { font-size: 12.5px; }
}
@media (min-width: 901px) and (max-height: 640px) {
	.lc-contagem-tit { display: none; }
	.lc-campo label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ================================================================ celular */
@media (max-width: 900px) {
	.lc { grid-template-columns: minmax(0, 1fr); }
	/* A foto fica parada no topo e a folha branca sobe por cima dela ao rolar (--p vai de 0 a 1 no JS):
	   a foto aproxima e escurece um pouco, o logo some — como uma gaveta que se abre. */
	.lc-foto { position: sticky; top: 0; z-index: 0; height: 44vh; height: 44svh; min-height: 300px; max-height: 480px; }
	.lc-foto-img { object-position: 50% 22%; scale: calc(1 + var(--p, 0) * .08); }
	.lc-foto::before { content: ""; position: absolute; z-index: 1; inset: 0; background: #1E1510; opacity: calc(var(--p, 0) * .38); pointer-events: none; }
	.lc-logo { left: 50%; transform: translateX(-50%); top: 20px; width: 112px; opacity: calc(1 - var(--p, 0) * 1.6); }
	.lc-lado { position: relative; z-index: 2; margin-top: -26px; padding: 30px 20px 34px; border-radius: 24px 24px 0 0; box-shadow: 0 -18px 36px -22px rgba(30, 21, 16, .5); }
	.lc-lado::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #E6DAD0; }
	.lc-miolo { max-width: 560px; gap: 24px; }
	.lc-titulo { font-size: clamp(2.15rem, 9.2vw, 2.9rem); }
	.lc-assinatura { right: -2px; top: clamp(1.7rem, 7.4vw, 2.2rem); font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
	.lc-texto { margin-top: 16px; font-size: 1rem; }
	.lc-contagem { display: grid; gap: 10px; }
	.lc-unid { padding: 12px 4px 10px; }
	.lc-unid b { font-size: clamp(1.7rem, 8vw, 2.2rem); }
	.lc-ganha { display: grid; gap: 12px; }
	.lc-ganha h2 { font-size: 1.55rem; }
	.lc-vantagens { grid-template-columns: minmax(0, 1fr); }
	.lc-vantagens li { padding: 14px 0; }
	.lc-vantagens li + li { border-left: 0; border-top: 1px solid var(--lc-borda); }
	.lc-cartao { padding: 20px 16px; }
	.lc-campos { grid-template-columns: minmax(0, 1fr); }
	.lc-rodape { justify-content: center; flex-direction: column; }
}

/* ================================================================ privacidade (05/10/2026)
   Mesma moldura da tela: foto à esquerda, folha branca à direita. O resumo fica à vista e cada assunto abre
   no lugar (um de cada vez), então no computador a página cabe numa tela só. */
.lc-pol-voltar { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--lc-suave); transition: color .2s ease; }
.lc-pol-voltar:hover { color: var(--lc-marrom); }
.lc-pol-data { margin: 10px 0 0; font-size: 13px; color: var(--lc-suave); }

.lc-pol-resumo { display: grid; gap: 10px; margin: 0; padding: 16px 18px; list-style: none; border-radius: 16px; background: var(--lc-tinta); }
.lc-pol-resumo li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--lc-marrom); }
.lc-pol-resumo .lc-ico { width: 32px; height: 32px; background: #FFFFFF; }
.lc-pol-resumo .lc-ico svg { width: 17px; height: 17px; }

.lc-pol-lista { border-top: 1px solid var(--lc-borda); }
.lc-pol-lista details { border-bottom: 1px solid var(--lc-borda); }
.lc-pol-lista summary { position: relative; display: flex; align-items: center; min-height: 46px; padding: 0 36px 0 0; font-size: 15px; font-weight: 700; color: var(--lc-marrom); cursor: pointer; list-style: none; transition: color .2s ease; }
.lc-pol-lista summary::-webkit-details-marker { display: none; }
.lc-pol-lista summary::before,
.lc-pol-lista summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.lc-pol-lista summary::after { transform: rotate(90deg); }
.lc-pol-lista details[open] summary::after { transform: rotate(0); }
.lc-pol-lista summary:hover,
.lc-pol-lista details[open] summary { color: var(--lc-laranja-texto); }
.lc-pol-corpo { padding: 0 8px 16px 0; font-size: 14px; line-height: 1.6; color: var(--lc-texto); animation: lc-pol-abre .3s cubic-bezier(.16, 1, .3, 1); }
@keyframes lc-pol-abre { from { transform: translateY(-4px); } to { transform: none; } }
.lc-pol-corpo p { margin: 0 0 8px; }
.lc-pol-corpo p:last-child, .lc-pol-corpo ul:last-child { margin-bottom: 0; }
.lc-pol-corpo ul { margin: 0 0 8px; padding-left: 18px; }
.lc-pol-corpo li + li { margin-top: 4px; }
.lc-pol-corpo strong { color: var(--lc-marrom); }
.lc-pol-corpo a { color: var(--lc-laranja-texto); font-weight: 600; }

@media (min-width: 901px) {
	/* Se um assunto aberto passar da altura, a folha rola por dentro sem cortar o topo. */
	.lc-vista-privacidade { contain: layout paint; } /* sem isso o Chrome deixa a página rolar quando um assunto abre */
	.lc-vista-privacidade .lc-lado { align-items: safe center; }
	.lc-vista-privacidade .lc-miolo { gap: calc(var(--a) * 2.2); }
	.lc-vista-privacidade .lc-titulo { font-size: clamp(2rem, min(3.4vw, calc(var(--a) * 5.4)), 3.2rem); }
	.lc-vista-privacidade .lc-pol-lista summary { min-height: clamp(38px, calc(var(--a) * 5.2), 48px); }
}
@media (min-width: 901px) and (max-height: 760px) {
	.lc-pol-resumo { gap: 6px; padding: 12px 14px; }
	.lc-pol-resumo li { font-size: 13px; }
	.lc-pol-resumo .lc-ico { width: 26px; height: 26px; }
	.lc-pol-resumo .lc-ico svg { width: 14px; height: 14px; }
	.lc-pol-lista summary { font-size: 14px; }
}
@media (max-width: 900px) {
	.lc-vista-privacidade .lc-foto { height: 30vh; height: 30svh; min-height: 220px; }
}

/* ================================================================ movimento: um momento só (a foto chegando) */
@keyframes lc-aproxima { from { transform: scale(1.12); filter: saturate(.85); } to { transform: scale(1); filter: saturate(1); } }
@keyframes lc-tique { from { opacity: .15; transform: translateY(-40%); } to { opacity: 1; transform: none; } }
@keyframes lc-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lc-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.lc *, .lc *::before, .lc *::after { animation: none !important; transition: none !important; }
}

/* Depois de enviar: convite para o Grupo VIP, embaixo do texto (27/09/2026) */
.lc-vip { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--lc-borda); }
.lc-vip p { font-size: 14px; }
.lc-vip .lc-botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.lc-vip .lc-botao svg { width: 20px; height: 20px; flex: none; }
.lc-vip .lc-botao svg { fill: currentColor; }
