/* =====================================================================
   Linkei — página pública da bio (Fase 8). Tema via CSS vars do perfil.
   ===================================================================== */
* { box-sizing: border-box; }
body { margin: 0; }

.page {
  position: relative; min-height: 100vh;
  background: var(--page-bg, var(--bg)); color: var(--text);
  display: flex; justify-content: center;
  padding: 3rem 1.15rem 4rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.profile { position: relative; z-index: 1; width: 100%; max-width: 480px; text-align: center; }

/* Alinhamento do conteúdo (esquerda / centro / direita) */
.page[data-align="left"]  .profile { text-align: left; }
.page[data-align="right"] .profile { text-align: right; }
.page[data-align="left"]  .p-avatar,
.page[data-align="left"]  .p-social { margin-left: 0; justify-content: flex-start; }
.page[data-align="right"] .p-avatar { margin-left: auto; margin-right: 0; }
.page[data-align="right"] .p-social { justify-content: flex-end; }

/* Banner do topo */
.p-banner { width: 100%; border-radius: 18px; overflow: hidden; margin-bottom: -48px; height: var(--banner-height, 150px); background: rgba(128,128,128,.15); }
.p-banner img { width: 100%; height: 100%; object-fit: contain; display: block; transform: translate(var(--banner-x, 0), var(--banner-y, 0)) rotate(var(--banner-rot, 0deg)) scale(var(--banner-zoom, 1)); }
.p-banner + .p-avatar { position: relative; }
/* Full-bleed: sem bordas, colado no topo e nas laterais da página.
   width:auto faz as margens negativas EXPANDIREM o banner (com width:100% ele
   ficaria preso à largura do .profile e deixaria vão na direita). */
.p-banner[data-full="1"] { border-radius: 0; width: auto; margin-top: -3rem; margin-left: -1.15rem; margin-right: -1.15rem; }

.p-avatar {
  width: var(--avatar-size, 96px); height: var(--avatar-size, 96px); border-radius: 50%; overflow: hidden;
  margin: var(--avatar-offset, 0px) auto 1rem; background: rgba(128,128,128,.18);
  border: 3px solid var(--btn-bg);
}
.p-avatar img { width: 100%; height: 100%; object-fit: contain; transform: translate(var(--avatar-x, 0), var(--avatar-y, 0)) rotate(var(--avatar-rot, 0deg)) scale(var(--avatar-zoom, 1)); }
.p-banner[hidden], .p-avatar[hidden], .p-avatar img[hidden], .p-verified[hidden], .p-bio[hidden], .p-banner img[hidden] { display: none !important; }
.page[data-avatar="square"]  .p-avatar { border-radius: 0; }
.page[data-avatar="rounded"] .p-avatar { border-radius: 22px; }

.p-name {
  margin: 0 0 .4rem; display: inline-flex; align-items: flex-start; gap: .35rem; justify-content: center;
  font-size: var(--name-size, 1.55rem);
}
.page[data-align="left"]  .p-name { justify-content: flex-start; }
.page[data-align="right"] .p-name { justify-content: flex-end; }
.p-name-text {
  color: var(--name-color, var(--text)); font-weight: var(--name-weight, 700);
  word-break: break-word; white-space: pre-wrap;
}
.p-verified { display: inline-flex; color: var(--accent); flex: 0 0 auto; margin-top: .15em; }
.p-verified svg { width: 1.05em; height: 1.05em; }
.p-name, .p-bio { width: 100%; }
.p-bio {
  color: var(--bio-color, var(--text)); opacity: var(--bio-opacity, .85);
  font-size: var(--bio-size, .95rem); font-weight: var(--bio-weight, 400);
  margin: 0 auto 1.4rem; max-width: 22rem; line-height: 1.5; word-break: break-word; white-space: pre-wrap;
}
.page[data-align="left"]  .p-bio { margin-left: 0; }
.page[data-align="right"] .p-bio { margin-right: 0; }

/* Redes sociais */
.p-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.6rem; }
/* Posição "abaixo da página": some espaço acima (separa do último bloco). */
.p-social-bottom { margin-top: 1.4rem; }
.p-social a { text-decoration: none; display: inline-flex; transition: transform .18s ease; }
.p-social a:hover { transform: translateY(-3px); }
.p-social .soc-ico {
  flex: 0 0 auto; width: var(--social-size, 42px); height: var(--social-size, 42px); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.p-social .soc-svg { width: 56%; height: 56%; }
/* Estilo dos ícones das redes: minimalista (sem fundo) / círculo (fundo botão) */
.page[data-social="minimal"] .p-social .soc-ico { background: none !important; box-shadow: none; color: var(--text); }
.page[data-social="minimal"] .p-social .soc-ico svg { fill: currentColor; }
.page[data-social="circle"] .p-social .soc-ico { background: var(--btn-bg) !important; color: var(--btn-text); }

/* Blocos */
.p-blocks { display: flex; flex-direction: column; gap: .8rem; }
.lk-block {
  background: var(--btn-bg); color: var(--btn-text);
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.1rem; text-decoration: none;
  border-radius: var(--btn-radius, 16px);
  box-shadow: var(--btn-shadow, 0 4px 14px rgba(0,0,0,.12));
  transition: transform .18s ease, box-shadow .18s ease;
  width: 100%; border: 1.5px solid transparent; text-align: left; cursor: pointer; font: inherit;
}
.lk-block:hover, .lk-block:active { transform: translateY(-3px) scale(1.01); }

/* Estilo dos botões: sólido (padrão), vidro, contorno */
/* Vidro: a opacidade do preenchimento vem de --glass-alpha (transparência
   escolhida pelo dono; 0 = sólido, .90 = quase invisível). */
.page[data-btn="glass"] .lk-block {
  background: color-mix(in srgb, var(--btn-bg) calc((1 - var(--glass-alpha, .45)) * 100%), transparent);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  border-color: color-mix(in srgb, var(--btn-text) 22%, transparent);
}
.page[data-btn="outline"] .lk-block {
  background: transparent; border-color: var(--btn-bg); color: var(--btn-text); box-shadow: none;
}

/* Sombra dos botões */
.page[data-shadow="none"]   { --btn-shadow: none; }
.page[data-shadow="soft"]   { --btn-shadow: 0 4px 14px rgba(0,0,0,.12); }
.page[data-shadow="strong"] { --btn-shadow: 0 10px 26px rgba(0,0,0,.28); }
.page[data-shadow="hard"]   { --btn-shadow: 4px 4px 0 rgba(0,0,0,.85); }
.page[data-shadow="hard"] .lk-block { border-color: rgba(0,0,0,.85); }

/* Formato dos links (layout global). Destaque/Cards afetam SÓ os blocos de
   link simples (a.lk-block) — nunca os blocos ricos (formulários, mapa,
   accordion, embeds), que têm layout interno próprio e quebrariam se centrados. */
.page[data-layout="highlight"] a.lk-block:not(.lk-image) { padding: 1.5rem 1.25rem; }
.page[data-layout="highlight"] a.lk-block:not(.lk-image) .lk-ico { width: 26px; height: 26px; }
.page[data-layout="highlight"] a.lk-block:not(.lk-image) .lk-txt b { font-size: 1.15rem; }
.page[data-layout="highlight"] a.lk-block:not(.lk-image) .lk-txt small { font-size: .88rem; }
/* Cards: ícone acima, texto centralizado, cartão grande */
.page[data-layout="cards"] a.lk-block:not(.lk-image) { padding: 1.8rem 1.2rem; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
.page[data-layout="cards"] a.lk-block:not(.lk-image) .lk-txt { align-items: center; }
.page[data-layout="cards"] a.lk-block:not(.lk-image) .lk-ico { width: 30px; height: 30px; }
.page[data-layout="cards"] a.lk-block:not(.lk-image) .lk-txt b { font-size: 1.05rem; }

.lk-ico { flex: 0 0 auto; width: 22px; height: 22px; display: inline-flex; }
.lk-ico svg { width: 100%; height: 100%; }
.lk-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lk-txt b { font-weight: 600; font-size: .98rem; }
.lk-txt small { font-weight: 400; font-size: .8rem; opacity: .75; }
.lk-arrow { color: var(--accent); font-size: 1.4rem; line-height: 1; }

/* Bloco expansivo */
.lk-exp { padding: 0; display: block; overflow: hidden; }
.lk-exp-head {
  width: 100%; background: none; border: none; color: inherit; font: inherit; cursor: pointer;
  display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; text-align: left;
}
.lk-chevron {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem; line-height: 1;
  background: rgba(127, 127, 127, .12); transition: transform .2s ease, background .2s ease;
}
.lk-exp-head:hover .lk-chevron { background: rgba(127, 127, 127, .2); }
.lk-exp.open .lk-chevron { transform: rotate(180deg); }
.lk-exp-body { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.lk-exp.open .lk-exp-body { max-height: 700px; }
.lk-exp-content { padding: 0 1.1rem .4rem; font-size: .9rem; opacity: .88; line-height: 1.55; text-align: left; }
.lk-cta {
  display: block; margin: .6rem 1.1rem 1.1rem; padding: .7rem 1rem;
  background: var(--accent); color: var(--lk-accent-ink, #fff); text-decoration: none; text-align: center;
  border-radius: 10px; font-weight: 600; font-size: .9rem;
}

/* Blocos recolhíveis (accordion) — cabeçalho clicável + chevron */
.lk-acc-head { cursor: pointer; }
.lk-acc-head::after {
  content: "⌄"; margin-left: auto; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; color: var(--accent);
  background: rgba(127, 127, 127, .12); transition: transform .2s ease, background .2s ease;
}
.lk-acc-head:hover::after { background: rgba(127, 127, 127, .2); }
.lk-acc.open > .lk-acc-head::after { transform: rotate(180deg); }
.lk-acc:not(.open) > :not(.lk-acc-head) { display: none !important; }
.lk-acc:not(.open) > .lk-lead-head { margin-bottom: 0; }

/* Bloco de mapa */
.lk-map { display: block; padding: 0; overflow: hidden; }
.lk-map-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; }
.lk-map-frame { width: 100%; height: 220px; border: 0; display: block; }
.lk-map-routes { display: flex; gap: .5rem; padding: .7rem; }
.lk-route {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem .5rem; border-radius: 10px; font-weight: 600; font-size: .85rem;
  text-decoration: none; background: var(--accent); color: var(--lk-accent-ink, #fff);
  border: none; cursor: pointer; font-family: inherit;
}
.lk-route:last-child { background: transparent; color: var(--btn-text); border: 1.5px solid var(--accent); }
.lk-route .lk-ico { width: 16px; height: 16px; }
.lk-route .lk-ico svg { width: 100%; height: 100%; }

/* Bloco "Capturar contato" */
.lk-lead { display: block; padding: 1rem 1.1rem 1.1rem; text-align: left; }
.lk-lead-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.lk-lead-in {
  width: 100%; margin-bottom: .55rem; padding: .7rem .85rem; font-size: .92rem;
  border: 1.5px solid rgba(128,128,128,.35); border-radius: 10px;
  background: rgba(128,128,128,.08); color: var(--btn-text); font-family: inherit;
}
.lk-lead-in::placeholder { color: var(--btn-text); opacity: .5; }
.lk-lead-in:focus { outline: none; border-color: var(--accent); }
.lk-lead-btn {
  width: 100%; margin-top: .2rem; padding: .75rem 1rem; border: 0; cursor: pointer;
  background: var(--accent); color: var(--lk-accent-ink, #fff); border-radius: 10px; font-weight: 700; font-size: .92rem; font-family: inherit;
}
.lk-lead-btn:disabled { opacity: .6; cursor: default; }
.lk-lead-msg { margin: .3rem 0 0; font-size: .9rem; font-weight: 600; text-align: center; }
.lk-lead-msg.err { color: #ffb4b4; }
.lk-download { display: block; margin-top: .5rem; text-decoration: none; text-align: center; }
/* Honeypot anti-spam: escondido de humanos, visível para bots */
.lk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Bloco "Texto" — separador/título entre blocos (sem card) */
.lk-sep { padding: .7rem .3rem .25rem; font-weight: 600; line-height: 1.3; word-break: break-word; color: var(--text); }
.lk-sep-sm { font-size: .82rem; opacity: .75; }
.lk-sep-md { font-size: 1.05rem; }
.lk-sep-lg { font-size: 1.35rem; }
.lk-sep-xl { font-size: 1.75rem; }
.lk-sep-b { font-weight: 800; }
.lk-sep[data-align="center"] { text-align: center; }
.lk-sep[data-align="right"] { text-align: right; }

/* Bloco "Espaço / Linha" — só ocupa altura; linha opcional (não é botão) */
.lk-spacer { width: 100%; }
.lk-spacer-line { display: flex; align-items: center; }
.lk-spacer-line::before { content: ''; width: 100%; height: 1px; background: var(--text); opacity: .18; }

/* Bloco "Imagem" — mesmas margens do YouTube (.4rem + cantos arredondados) */
.lk-image { display: block; padding: .4rem; overflow: hidden; }
.lk-image img { width: 100%; display: block; border-radius: 12px; }
.lk-media-title { font-weight: 500; font-size: .95rem; padding: .7rem .9rem .35rem; display: flex; align-items: center; gap: .5rem; }

/* Formatação do título por bloco (negrito/itálico/sublinhado) */
.lk-block[data-tb="1"] .lk-txt b,
.lk-block[data-tb="1"] .lk-soc-card-body b,
.lk-block[data-tb="1"] .lk-linkcard-text b,
.lk-block[data-tb="1"] .lk-media-title { font-weight: 800; }
.lk-block[data-tb="0"] .lk-txt b,
.lk-block[data-tb="0"] .lk-soc-card-body b,
.lk-block[data-tb="0"] .lk-linkcard-text b { font-weight: 400; }
.lk-block[data-ti="1"] .lk-txt b,
.lk-block[data-ti="1"] .lk-soc-card-body b,
.lk-block[data-ti="1"] .lk-linkcard-text b,
.lk-block[data-ti="1"] .lk-media-title { font-style: italic; }
.lk-block[data-tu="1"] .lk-txt b,
.lk-block[data-tu="1"] .lk-soc-card-body b,
.lk-block[data-tu="1"] .lk-linkcard-text b,
.lk-block[data-tu="1"] .lk-media-title { text-decoration: underline; text-underline-offset: 3px; }

/* Alinhamento por bloco */
.lk-block[data-align="center"] { justify-content: center; text-align: center; }
.lk-block[data-align="right"] { justify-content: flex-end; text-align: right; }

/* Destaque por bloco: efeito bounce */
@keyframes lk-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-9px); }
  60% { transform: translateY(-4px); }
}
.lk-block[data-hl="1"], .lk-sep[data-hl="1"] { animation: lk-bounce 1.6s ease-in-out infinite; }
.lk-block[data-hl="1"]:hover, .lk-block[data-hl="1"]:active { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .lk-block[data-hl="1"], .lk-sep[data-hl="1"] { animation: none; }
}

/* Bloco "PIX" */
.lk-pix { display: block; padding: 1rem 1.1rem 1.1rem; text-align: left; }
.lk-pix-btn { width: 100%; margin-top: .7rem; }
/* QR do PIX: caixa branca fixa (contraste garantido p/ leitura em qualquer tema) */
.lk-pix-qr { margin: .8rem auto 0; width: 210px; max-width: 100%; background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 1px 4px rgba(20,18,40,.12); }
.lk-pix-qr svg { display: block; width: 100%; height: auto; }

/* Bloco "Agendamento" */
.lk-appt { display: block; padding: 1rem 1.1rem 1.1rem; text-align: left; }
.lk-appt-body { margin-top: .3rem; }
.lk-appt-info { font-size: .9rem; opacity: .8; margin: .4rem 0; }
.lk-appt-info.err { color: #ffb4b4; opacity: 1; }
.lk-appt-label { font-size: .82rem; font-weight: 700; opacity: .85; margin: .2rem 0 .6rem; }
.lk-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.lk-chip {
  border: 1.5px solid rgba(128,128,128,.4); background: rgba(128,128,128,.08); color: var(--btn-text);
  border-radius: 999px; padding: .5rem .85rem; font-size: .85rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.lk-chip:hover { border-color: var(--accent); }
.lk-appt-back {
  border: none; background: none; color: var(--accent); cursor: pointer;
  font-size: .82rem; font-weight: 600; padding: 0 0 .5rem; font-family: inherit;
}
.lk-appt-form { margin-top: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.lk-appt-sub { font-size: .8rem; opacity: .7; margin: .1rem 0 .5rem; }
.lk-appt-choices { display: flex; flex-direction: column; gap: .5rem; }
.lk-appt-alt { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.lk-appt-svc { display: flex; flex-direction: column; gap: .45rem; }
.lk-appt-svc-row {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; width: 100%;
  text-align: left; padding: .7rem .8rem; border: 1px solid rgba(128,128,128,.25); border-radius: 12px;
  background: none; color: inherit; font: inherit; cursor: pointer;
}
.lk-appt-svc-row:hover { border-color: var(--accent); }
.lk-appt-svc-name { font-weight: 700; }
.lk-appt-svc-meta { font-size: .8rem; opacity: .75; white-space: nowrap; }
.lk-appt-summary { margin: .2rem 0 .8rem; }
.lk-appt-summary p { margin: .15rem 0; }
.lk-appt-sum-svc { font-weight: 700; font-size: 1.02rem; }
.lk-appt-found { font-size: .95rem; margin: .5rem 0; padding: .7rem .8rem; border-radius: 10px; background: rgba(128,128,128,.12); }
.lk-appt-found p { margin: 0; }
.lk-appt-cancel { margin-top: .5rem; background: transparent; border: 1px solid currentColor; color: inherit; opacity: .85; border-radius: 8px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; cursor: pointer; }
.lk-appt-cancel:hover { opacity: 1; }

/* Bloco "Cupom" — cabeçalho + botão que abre o bottom-sheet */
.lk-cupom { display: block; padding: 1rem 1.1rem 1.1rem; text-align: left; }
.lk-cupom .lk-lead-btn { margin-top: .2rem; }

/* Bloco "Questionário" — cabeçalho + botão que abre o bottom-sheet */
.lk-quiz { display: block; padding: 1rem 1.1rem 1.1rem; text-align: left; }
.lk-quiz .lk-lead-btn { margin-top: .2rem; }
/* Pergunta dentro do sheet: foto/ícone em destaque acima do texto */
.lk-quiz-q-img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin: 0 0 .9rem; }
.lk-quiz-q-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 0 .9rem;
  display: flex; align-items: center; justify-content: center;
  background: #f0eefe; color: #6366f1;
}
.lk-quiz-q-icon svg { width: 28px; height: 28px; }

/* ===== Instagram/TikTok/X/YouTube — modos "Recolhido"/"Mínimo"/"Cartão" ===== */
.lk-soc-meta { opacity: .8; }
/* Mínimo: só foto + @ + bio, sem chrome de botão */
.lk-soc-min { padding: .8rem 1rem; gap: .8rem; cursor: default; }
.lk-soc-min:hover, .lk-soc-min:active { transform: none; }
.lk-soc-min-ava { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: rgba(128,128,128,.15); }
.lk-soc-min-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-soc-min-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.lk-soc-min-txt b { font-weight: 700; }
.lk-soc-min-txt small { opacity: .8; font-size: .84rem; line-height: 1.4; }
/* Cartão: avatar + nome/@/seguidores/bio + botão de marca */
.lk-soc-card { align-items: center; gap: .85rem; padding: 1rem 1.1rem; }
.lk-soc-card-ava {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--soc-color, var(--accent)) 16%, transparent);
  color: var(--soc-color, var(--accent));
}
.lk-soc-card-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-soc-card-ava svg { width: 26px; height: 26px; }
.lk-soc-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.lk-soc-card-body b { font-weight: 800; font-size: 1rem; }
.lk-soc-handle { opacity: .85; font-size: .84rem; }
.lk-soc-bio { opacity: .75; font-size: .8rem; line-height: 1.4; }
.lk-soc-card-btn {
  flex: 0 0 auto; align-self: center; color: #fff; font-size: .8rem; font-weight: 700;
  padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
}

/* Galeria do Insta: carrossel de várias fotos, em 2 tamanhos.
   Tamanho GRANDE usa cores fixas do Instagram (não seguem o tema da bio —
   igual ao selo verificado, a fidelidade visual É o objetivo).
   Curtir/comentar/compartilhar/salvar são decorativos (sem API oficial pra
   números reais); cada card linka pro post real (link do item, não /r/{id}
   — cada foto tem seu próprio destino, diferente de um bloco de link único). */
.lk-ig-gal { display: block; background: none; box-shadow: none; padding: .4rem; }
.lk-ig-gal-solid { background: var(--btn-bg); border-radius: var(--btn-radius, 16px); box-shadow: var(--btn-shadow, 0 4px 14px rgba(0,0,0,.12)); }
.lk-ig-gal-items { padding: 0 .1rem; }

/* Grande: foto + selo do Instagram sobreposto + ações, largura fixa no
   carrossel (igual ao card do LinkCommerce — sem cabeçalho de avatar/@ por
   foto; quem identifica a conta é o título do bloco, uma vez só, no topo). */
.lk-ig-gal-large-card {
  display: block; width: 168px; text-decoration: none; color: #262626;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.lk-ig-gal-large-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #fafafa; }
.lk-ig-gal-large-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-ig-gal-large-badge {
  position: absolute; left: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: #E4405F; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.lk-ig-gal-large-badge svg { width: 13px; height: 13px; }
.lk-ig-gal-large-actions { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; color: #262626; }
.lk-ig-gal-large-actions svg { width: 19px; height: 19px; stroke-width: 1.6; }
.lk-ig-gal-large-save { margin-left: auto; }

/* Pequeno: só a miniatura, estilo vitrine (mesmo tamanho de card do
   carrossel de Serviços/Produtos, pra consistência visual entre blocos) */
.lk-ig-gal-small-card {
  display: block; width: 148px; height: 185px; border-radius: 12px; overflow: hidden;
  background: rgba(128,128,128,.12);
}
.lk-ig-gal-small-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Link Personalizado — card vertical: imagem grande + título/subtítulo
   (acima ou abaixo, à escolha) + botão embaixo. */
.lk-linkcard { flex-direction: column; align-items: stretch; gap: .7rem; text-align: center; }
.lk-linkcard-img {
  display: flex; align-items: center; justify-content: center; width: 100%;
  max-height: 220px; overflow: hidden; border-radius: 12px; background: rgba(128,128,128,.12);
}
.lk-linkcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-linkcard-img.empty { aspect-ratio: 16 / 9; }
.lk-linkcard-img svg { width: 32px; height: 32px; opacity: .5; }
.lk-linkcard-text { display: flex; flex-direction: column; gap: .15rem; }
.lk-linkcard-text b { font-weight: 800; font-size: 1.05rem; }
.lk-linkcard-text small { opacity: .8; font-size: .85rem; line-height: 1.4; }
.lk-linkcard-btn {
  align-self: center; color: var(--lk-accent-ink, #fff); font-size: .85rem; font-weight: 700;
  padding: .55rem 1.3rem; border-radius: 999px; white-space: nowrap;
}

/* Produto digital: selo de preço */
.lk-price {
  flex: 0 0 auto; align-self: center; background: var(--accent); color: var(--lk-accent-ink, #fff);
  font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap;
}

/* Blocos de embed (Instagram / TikTok / X) */
/* Embeds (Instagram/TikTok/X): sem caixa/borda, centralizado e enquadrado */
.lk-embed { display: block; padding: 0; background: transparent; box-shadow: none; border: none; border-radius: 14px; overflow: hidden; }
.lk-embed .instagram-media, .lk-embed .tiktok-embed, .lk-embed .twitter-tweet {
  margin: 0 auto !important; border: none !important; box-shadow: none !important;
  border-radius: 14px !important; max-width: 100% !important; min-width: 0 !important; width: 100% !important;
}
.lk-embed iframe { border: none !important; border-radius: 14px; max-width: 100% !important; }
.lk-embed-empty { padding: 1.6rem; text-align: center; opacity: .6; font-weight: 600; color: #64748b; background: #fff; border-radius: 14px; }
.lk-spotify-frame { display: block; width: 100%; border: 0; border-radius: 14px; }

/* Bloco de vídeo (YouTube) */
.lk-video { display: block; padding: .4rem; }
.lk-video-title { padding: .5rem .6rem; font-weight: 600; font-size: .95rem; }
.lk-video-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; }
.lk-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bloco "HTML" — sem cabeçalho/chrome, só o iframe isolado (ver profile.php) */
.lk-htmlblock { display: block; padding: 0; overflow: hidden; }
.lk-html-frame { display: block; width: 100%; border: 0; background: #fff; }

/* Bloco de serviços */
.lk-services { display: block; padding: .4rem; }
.lk-svc-title { display: flex; align-items: center; gap: .7rem; padding: .7rem; }
/* Linha de serviço (imagem | título+descrição | Ver) — abre o popup */
.lk-svc-row {
  width: 100%; background: none; border: none; border-top: 1px solid rgba(128,128,128,.14);
  color: inherit; font: inherit; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: .7rem; padding: .7rem;
}
.lk-svc-row:first-of-type { border-top: none; }
.lk-svc-thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: rgba(128,128,128,.12); display: inline-flex; align-items: center; justify-content: center; }
.lk-svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lk-svc-thumb svg { width: 22px; height: 22px; opacity: .45; }
.lk-svc-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.lk-svc-info b { font-weight: 700; }
.lk-svc-info small { opacity: .8; font-size: .82rem; line-height: 1.35; }
.lk-svc-see { flex: 0 0 auto; align-self: center; background: var(--accent); color: var(--lk-accent-ink, #fff); font-size: .8rem; font-weight: 700; padding: .3rem .85rem; border-radius: 999px; }
.lk-svc-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .1rem; }
.lk-svc-price { font-weight: 800; color: var(--accent); font-size: .85rem; }
.lk-svc-duration { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; opacity: .75; }
.lk-svc-duration svg { width: 13px; height: 13px; }

/* Bloco "Planos" — cards modernos, empilhados (coluna única já é responsiva) */
.lk-plans { display: block; padding: 1rem 1.1rem 1.1rem; background: transparent; box-shadow: none; border: none; }
.lk-plans .lk-lead-head { padding: 0 0 .9rem; }
.lk-plans-grid { display: flex; flex-direction: column; gap: 1rem; }
.lk-plan-card {
  position: relative; background: var(--btn-bg); color: var(--btn-text);
  border-radius: var(--btn-radius, 16px); box-shadow: var(--btn-shadow, 0 4px 14px rgba(0,0,0,.12));
  border: 1.5px solid transparent; padding: 1.3rem 1.2rem 1.4rem; text-align: center;
}
.lk-plan-card.is-hl { border-color: var(--accent); }
.lk-plan-badge {
  display: inline-block; position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--lk-accent-ink, #fff); font-size: .72rem; font-weight: 700;
  padding: .3rem .85rem; border-radius: 999px; white-space: nowrap;
}
.lk-plan-img { display: block; width: 100%; max-height: 160px; object-fit: cover; border-radius: 12px; margin: 0 0 .9rem; }
.lk-plan-name { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 800; }
.lk-plan-price { margin: 0 0 .6rem; font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.lk-plan-desc { margin: 0 0 .8rem; font-size: .88rem; opacity: .85; line-height: 1.5; }
.lk-plan-benefits { list-style: none; margin: 0 0 1rem; padding: 0; text-align: left; display: flex; flex-direction: column; gap: .5rem; }
.lk-plan-benefits li { font-size: .88rem; padding-left: 1.5rem; position: relative; line-height: 1.4; }
.lk-plan-benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800;
}
.lk-plan-btn { display: block; text-decoration: none; text-align: center; margin-top: 0; }

/* Serviços — layout "Destaque": foto grande em cima, texto e botão embaixo */
.lk-services-featured .lk-svc-row {
  flex-direction: column; align-items: stretch; gap: .55rem; padding: 0 0 1rem; border-top: none;
  margin-top: .4rem;
}
.lk-services-featured .lk-svc-row:first-of-type { margin-top: 0; }
.lk-services-featured .lk-svc-row + .lk-svc-row { border-top: 1px solid rgba(128,128,128,.14); padding-top: 1rem; }
.lk-services-featured .lk-svc-thumb { width: 100%; height: 170px; border-radius: 12px; }
.lk-services-featured .lk-svc-thumb svg { width: 34px; height: 34px; }
.lk-services-featured .lk-svc-info { padding: 0 .3rem; }
.lk-services-featured .lk-svc-info b { font-size: 1.05rem; }
.lk-services-featured .lk-svc-see { align-self: flex-start; margin: .2rem .3rem 0; }

/* Serviços — layout "Grade": 2 colunas, cartão compacto */
.lk-services-grid .lk-svc-items { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lk-services-grid .lk-svc-row {
  flex-direction: column; align-items: stretch; gap: .35rem; padding: 0 0 .6rem;
  border-top: none; margin-top: 0;
}
.lk-services-grid .lk-svc-thumb { width: 100%; height: 100px; border-radius: 10px; }
.lk-services-grid .lk-svc-thumb svg { width: 26px; height: 26px; }
.lk-services-grid .lk-svc-info { padding: 0 .15rem; }
.lk-services-grid .lk-svc-info b { font-size: .86rem; line-height: 1.25; }
.lk-services-grid .lk-svc-see { align-self: stretch; text-align: center; margin: .15rem .15rem 0; }
@media (max-width: 360px) {
  .lk-services-grid .lk-svc-items { grid-template-columns: 1fr; }
}

/* Primitiva reaproveitável: carrossel horizontal com scroll-snap (estilo
   vitrine). Usada pelo layout "Carrossel" de Serviços e pelo bloco Produtos. */
.lk-carousel {
  display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .1rem;
}
.lk-carousel::-webkit-scrollbar { display: none; }
.lk-carousel-item { scroll-snap-align: start; flex: 0 0 auto; }

/* Serviços — layout "Carrossel": cartões estreitos rolando na horizontal */
.lk-services-carousel .lk-svc-items { padding: 0 .1rem; }
.lk-services-carousel .lk-svc-row {
  width: 148px; flex-direction: column; align-items: stretch; gap: .4rem;
  padding: 0 0 .6rem; border-top: none; margin-top: 0;
}
.lk-services-carousel .lk-svc-thumb { width: 148px; height: 185px; border-radius: 12px; }
.lk-services-carousel .lk-svc-thumb svg { width: 30px; height: 30px; }
.lk-services-carousel .lk-svc-info { padding: 0 .15rem; }
.lk-services-carousel .lk-svc-info b {
  font-size: .86rem; line-height: 1.25; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lk-services-carousel .lk-svc-see { align-self: stretch; text-align: center; margin: .1rem .15rem 0; }

/* Vitrine de Produtos: carrossel, mesmo padrão de cartão do "Carrossel" de
   Serviços (reaproveita .lk-carousel/.lk-carousel-item). */
.lk-vitrine { display: block; background: none; box-shadow: none; padding: .4rem; }
.lk-vitrine-solid { background: var(--btn-bg); border-radius: var(--btn-radius, 16px); box-shadow: var(--btn-shadow, 0 4px 14px rgba(0,0,0,.12)); }
.lk-prod-items { padding: 0 .1rem; }
.lk-prod-row {
  width: 148px; background: none; border: none; color: inherit; font: inherit;
  cursor: pointer; text-align: left; display: flex; flex-direction: column;
  align-items: stretch; gap: .4rem; padding: 0 0 .6rem;
}
.lk-prod-thumb { width: 148px; height: 185px; border-radius: 12px; overflow: hidden; background: rgba(128,128,128,.12); display: inline-flex; align-items: center; justify-content: center; }
.lk-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lk-prod-thumb svg { width: 30px; height: 30px; opacity: .45; }
.lk-prod-info { padding: 0 .15rem; display: flex; flex-direction: column; gap: .25rem; }
.lk-prod-info b {
  font-weight: 800; font-size: .82rem; line-height: 1.3; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Popup de detalhes do serviço */
.lk-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(15,12,30,.55); }
.lk-modal[hidden] { display: none; }
.lk-modal-card { position: relative; width: 100%; max-width: 380px; max-height: 88vh; overflow-y: auto; background: #fff; color: #1a1730; border-radius: 18px; padding: 1.2rem; box-shadow: 0 20px 60px rgba(10,8,25,.35); }
.lk-modal-x { position: absolute; top: .4rem; right: .6rem; border: none; background: none; font-size: 1.7rem; line-height: 1; color: #94929f; cursor: pointer; }
.lk-svc-mimg { margin: 0 0 .9rem; border-radius: 12px; overflow: hidden; }
.lk-svc-mimg img { width: 100%; display: block; max-height: 220px; object-fit: cover; }
.lk-svc-mtitle { margin: 0 1.4rem .3rem 0; font-size: 1.2rem; }
.lk-svc-mprice { margin: 0 0 .6rem; font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.lk-svc-mdesc { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; white-space: pre-line; color: #45425a; }
.lk-svc-mbtns { display: flex; flex-direction: column; gap: .5rem; }
.lk-svc-mbtns .lk-lead-btn { display: block; text-align: center; text-decoration: none; }
.lk-svc-mbtns .lk-lead-btn[hidden] { display: none; }
.lk-svc-book { background: var(--accent); color: var(--lk-accent-ink, #fff); }
.lk-svc-more { background: #25D366; color: #fff; }
.lk-prod-buy { background: var(--accent); color: var(--lk-accent-ink, #fff); }

/* ===== Textura de grão (temas "Abstratos") =========================
   Ruído sutil tipo papel/filme, via SVG turbulence embutido (sem imagem
   externa). Pinta por cima do fundo/animação, embaixo do conteúdo. */
.page-grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.page[data-grain="1"] .page-grain { display: block; }

/* Escurecido sutil (legibilidade sobre foto) — só quando o tema liga bg_scrim.
   Mais forte no topo (nome/avatar) e na base, livre no meio. */
.page[data-scrim="1"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.32) 100%);
}

/* ===== Animações de fundo (data-anim no .page) ===================== */
.page-anim { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page[data-anim="none"] .page-anim { display: none; }

.page[data-anim="aurora"] .page-anim {
  background:
    radial-gradient(40% 40% at 20% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    radial-gradient(45% 45% at 80% 30%, color-mix(in srgb, var(--btn-bg) 60%, transparent), transparent 70%),
    radial-gradient(50% 50% at 50% 90%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  filter: blur(28px); opacity: .8; animation: lk-aurora 14s ease-in-out infinite alternate;
}
@keyframes lk-aurora { from { transform: translate3d(-4%, -3%, 0) scale(1.05); } to { transform: translate3d(4%, 3%, 0) scale(1.15); } }

.page[data-anim="bolhas"] .page-anim {
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--accent) 45%, transparent) 0 12px, transparent 13px),
    radial-gradient(circle at 75% 15%, color-mix(in srgb, var(--accent) 35%, transparent) 0 20px, transparent 21px),
    radial-gradient(circle at 60% 70%, color-mix(in srgb, var(--accent) 30%, transparent) 0 16px, transparent 17px),
    radial-gradient(circle at 30% 85%, color-mix(in srgb, var(--accent) 40%, transparent) 0 10px, transparent 11px);
  background-size: 100% 140%; opacity: .55; animation: lk-bolhas 12s linear infinite;
}
@keyframes lk-bolhas { from { background-position: 0 100%; } to { background-position: 0 -40%; } }

.page[data-anim="grade"] .page-anim {
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 12%, transparent) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .5; animation: lk-grade 8s linear infinite;
}
@keyframes lk-grade { from { background-position: 0 0; } to { background-position: 34px 34px; } }

.page[data-anim="confete"] .page-anim {
  background-image:
    radial-gradient(circle at 10px 8px,  #f472b6 0 3px, transparent 4px),
    radial-gradient(circle at 30px 16px, #38bdf8 0 3px, transparent 4px),
    radial-gradient(circle at 20px 30px, #fbbf24 0 3px, transparent 4px),
    radial-gradient(circle at 6px 36px,  #34d399 0 3px, transparent 4px);
  background-size: 40px 40px; opacity: .7; animation: lk-fall 5s linear infinite;
}
@keyframes lk-fall { from { background-position: 0 0; } to { background-position: 0 40px; } }

.page[data-anim="ondas"] .page-anim {
  background:
    radial-gradient(120% 60% at 50% 120%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%),
    radial-gradient(120% 55% at 50% 130%, color-mix(in srgb, var(--btn-bg) 60%, transparent), transparent 70%);
  opacity: .7; animation: lk-ondas 9s ease-in-out infinite alternate;
}
@keyframes lk-ondas { from { transform: translateY(2%); } to { transform: translateY(-4%); } }

@media (prefers-reduced-motion: reduce) { .page-anim { animation: none !important; } }

/* ===== Barra do topo (criar / compartilhar) ===== */
.p-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem .85rem; pointer-events: none;
}
.p-tb-btn {
  pointer-events: auto; -webkit-tap-highlight-color: transparent;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text); text-decoration: none;
  backdrop-filter: blur(6px); transition: transform .15s ease, background .15s ease;
}
.p-tb-btn:hover { transform: scale(1.08); background: color-mix(in srgb, var(--text) 16%, transparent); }
.p-tb-btn:active { transform: scale(.94); }

/* ===== Rodapé ===== */
.p-footer { margin-top: 2.4rem; text-align: center; }
.page[data-align="left"]  .p-footer { text-align: left; }
.page[data-align="right"] .p-footer { text-align: right; }

/* Marca em 3 estados. Grátis = pílula em destaque (sombra forte + bounce);
   Mini/MAX = discreta (transparente, só o texto); MAX pode esconder de vez. */
.p-mark { text-decoration: none; }
.p-mark-strong {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 999px;
  background: #ffffff; color: #1a1730;
  font-size: .92rem; font-weight: 600; line-height: 1;
  box-shadow: 0 14px 30px -8px rgba(10,8,25,.45), 0 4px 10px rgba(10,8,25,.16);
  animation: p-mark-bounce 2.4s ease-in-out infinite;
}
.p-mark-strong .p-mark-star { font-size: 1.05em; opacity: .55; }
.p-mark-strong b { font-weight: 800; }
.p-mark-strong:hover { animation-play-state: paused; filter: brightness(1.05); }
@keyframes p-mark-bounce {
  0%, 55%, 100% { transform: translateY(0); }
  70% { transform: translateY(-9px); }
  85% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .p-mark-strong { animation: none; } }

.p-mark-soft {
  display: inline-block; padding: .3rem .5rem;
  color: var(--text); opacity: .35; font-size: .72rem; letter-spacing: .01em;
}
.p-mark-soft b { font-weight: 600; }
.p-mark-soft:hover { opacity: .6; }

/* Links obrigatórios (transparência) — sempre presentes, em todos os planos */
.p-legal {
  display: flex; flex-wrap: wrap; gap: .3rem .5rem; margin-top: 1.1rem;
  justify-content: center; align-items: center;
  font-size: .72rem; color: var(--text); opacity: .6;
}
.page[data-align="left"]  .p-legal { justify-content: flex-start; }
.page[data-align="right"] .p-legal { justify-content: flex-end; }
.p-legal span { opacity: .5; }
.p-legal-l {
  background: none; border: none; padding: 0; cursor: pointer;
  color: inherit; font: inherit; text-decoration: none; opacity: 1;
}
.p-legal-l:hover { text-decoration: underline; }

/* ===== Extras dos modais do rodapé (reusam .lk-modal) ===== */
.lk-modal-t { margin: 0 1.4rem .6rem 0; font-size: 1.15rem; }
.lk-modal-p { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.55; color: #45425a; }
.lk-modal-note { margin: .6rem 0 1rem; font-size: .78rem; color: #94929f; }
.lk-modal-note a { color: inherit; text-decoration: underline; }
.lk-modal-ok {
  width: 100%; border: none; cursor: pointer; border-radius: 12px;
  padding: .7rem 1rem; font-weight: 700; font-size: .92rem;
  background: #1a1730; color: #fff;
}
.lk-modal-ok:hover { filter: brightness(1.12); }
.lk-about { margin: 0 0 .4rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; font-size: .86rem; }
.lk-about dt { font-weight: 700; color: #6b6880; white-space: nowrap; }
.lk-about dd { margin: 0; color: #2c2942; word-break: break-word; }
.lk-about dd a { color: #4f46e5; }
.lk-about-wa { margin: .1rem 0 0; padding-left: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.lk-about-dest { color: #4f46e5; word-break: break-all; }
.lk-about-msg { color: #6b6880; font-style: italic; }
.lk-report-lbl { display: block; margin: .6rem 0 .25rem; font-size: .82rem; font-weight: 700; color: #45425a; }
.lk-report-in {
  width: 100%; border: 1px solid #d9d7e4; border-radius: 10px;
  padding: .6rem .7rem; font: inherit; font-size: .9rem; background: #fff; color: #1a1730;
}
.lk-report-in:focus { outline: none; border-color: #6366f1; }
textarea.lk-report-in { resize: vertical; }
.lk-report-msg { margin: .7rem 0 0; font-size: .85rem; }
.lk-report-msg.ok { color: #15803d; }
.lk-report-msg.err { color: #dc2626; }

/* ===== Bottom-sheet: janela que sobe de baixo (moderna, arredondada) ===== */
.lk-sheet {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(15,12,30,.5); opacity: 0; transition: opacity .28s ease;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.lk-sheet[hidden] { display: none; }
.lk-sheet.show { opacity: 1; }
.lk-sheet-panel {
  position: relative; width: 100%; max-width: 480px;
  /* Janela SEMPRE branca e clean (identidade premium da plataforma), com
     tipografia própria — independe do tema da bio. */
  background: #fff; color: #1a1730;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-radius: 28px 28px 0 0; padding: .55rem 1.25rem 1.9rem;
  box-shadow: 0 -18px 50px rgba(10,8,25,.28);
  max-height: 90vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .34s cubic-bezier(.22,1,.36,1);
}
.lk-sheet.show .lk-sheet-panel { transform: translateY(0); }
.lk-sheet-grip {
  display: block; width: 44px; height: 5px; margin: .15rem auto .5rem; padding: 0;
  border: none; border-radius: 999px; background: currentColor; opacity: .22; cursor: pointer;
}
.lk-sheet-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; }
.lk-sheet-title { flex: 1 1 auto; margin: 0; font-size: 1.12rem; font-weight: 800; }
.lk-sheet-x { flex: 0 0 auto; border: none; background: none; font-size: 1.7rem; line-height: 1; color: inherit; opacity: .5; cursor: pointer; }
.lk-sheet-x:hover { opacity: 1; }
.lk-sheet-body { text-align: left; }
.lk-sheet-body .lk-appt-form { margin-top: 0; }

/* Sheet "grande" — só quem pede via lkSheet.open(title, build, {big:true})
   (hoje só o Quiz Interativo) cobre quase a tela toda; os outros usos do
   sheet (agendamento/contato/cupom) continuam no tamanho normal, sempre
   resetado a cada abertura (ver open() em lkSheet). */
.lk-sheet-panel-big {
  max-width: 560px; height: 94vh; max-height: 94vh;
  padding: .55rem .9rem .8rem; display: flex; flex-direction: column;
}
.lk-sheet-panel-big .lk-sheet-head { flex: 0 0 auto; margin-bottom: .4rem; }
.lk-sheet-panel-big .lk-sheet-body { flex: 1 1 auto; min-height: 0; display: flex; }

/* "Quiz Interativo" (config_json.style='whatsapp' do bloco Questionário):
   simula uma conversa de WhatsApp. Cores FIXAS do WhatsApp — não seguem o
   tema da bio, a fidelidade visual é o objetivo (mesmo padrão do selo
   verificado e dos botões WhatsApp já existentes). Isolado: não toca em
   nenhuma classe .lk-appt-*/.lk-sheet-* usada pelo estilo Padrão. */
.lk-quiz-chat {
  display: flex; flex-direction: column; max-height: 62vh;
  margin: -.1rem -.4rem 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
/* Dentro do sheet "grande" o chat preenche o espaço quase todo (ver
   .lk-sheet-panel-big acima), em vez do teto fixo de 62vh. */
.lk-sheet-panel-big .lk-quiz-chat { max-height: none; flex: 1 1 auto; width: 100%; }
.lk-quiz-chat-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem; background: #075E54; color: #fff;
}
.lk-quiz-chat-ava {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center;
}
.lk-quiz-chat-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-quiz-chat-who { display: flex; flex-direction: column; line-height: 1.25; }
.lk-quiz-chat-who b { font-size: .92rem; font-weight: 700; }
.lk-quiz-chat-who small { font-size: .74rem; opacity: .85; }
.lk-quiz-chat-msgs {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column;
  gap: .5rem; padding: .8rem .7rem; background: #e5ddd5;
}
.lk-quiz-bubble {
  max-width: 82%; padding: .5rem .7rem; border-radius: 10px; font-size: .88rem;
  line-height: 1.4; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.lk-quiz-bubble p { margin: 0; }
.lk-quiz-bubble-in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.lk-quiz-bubble-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.lk-quiz-bubble .lk-quiz-q-img { margin: 0 0 .4rem; max-height: 160px; border-radius: 8px; }
.lk-quiz-bubble .lk-quiz-q-icon { display: block; margin: 0 0 .4rem; }
.lk-quiz-bubble .lk-quiz-q-icon svg { width: 22px; height: 22px; color: #075E54; }
.lk-quiz-typing { display: flex; align-items: center; gap: .25rem; padding: .65rem .8rem; }
.lk-quiz-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa3a7; animation: lk-quiz-typing-bounce 1s infinite ease-in-out; }
.lk-quiz-typing span:nth-child(2) { animation-delay: .15s; }
.lk-quiz-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lk-quiz-typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.lk-quiz-chat-chips { align-self: flex-end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; max-width: 82%; }
.lk-quiz-chip {
  background: #fff; border: 1.5px solid #25D366; color: #075E54; font-weight: 700; font-size: .82rem;
  padding: .4rem .85rem; border-radius: 999px; cursor: pointer;
}
.lk-quiz-chip:hover { background: #dcf8c6; }
.lk-quiz-chat-composer { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; padding: .55rem .6rem; background: #f0f0f0; }
.lk-quiz-chat-form, .lk-quiz-chat-contact-form { display: flex; align-items: center; gap: .5rem; width: 100%; flex-wrap: wrap; }
.lk-quiz-chat-in {
  flex: 1 1 140px; min-width: 0; border: none; border-radius: 999px; padding: .55rem .9rem;
  font-size: .88rem; background: #fff; color: #111b21;
}
.lk-quiz-chat-in:focus { outline: 2px solid #25D366; outline-offset: -1px; }
.lk-quiz-chat-send {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #25D366; color: #fff; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lk-quiz-chat-send:hover { background: #1fb959; }
.lk-quiz-chat-err { display: block; width: 100%; color: #d32f2f; font-size: .76rem; }

/* Revelação do cupom dentro do sheet: código grande, tracejado, com o botão de copiar */
.lk-cupom-reveal { text-align: center; padding: .4rem 0 .2rem; }
.lk-cupom-code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: 1.7rem; font-weight: 800;
  letter-spacing: .08em; color: #14121f; background: #f7f7fc; border: 1.5px dashed #c7c4dc;
  border-radius: 14px; padding: 1rem .8rem; margin: 0 0 .9rem; word-break: break-all;
}
@media (prefers-reduced-motion: reduce) {
  .lk-sheet, .lk-sheet-panel { transition: opacity .01s; }
  .lk-sheet-panel { transform: none; }
}

/* --- Componentes DENTRO do sheet: tema claro premium (não herda a bio) --- */
.lk-sheet .lk-sheet-title { color: #14121f; letter-spacing: -.01em; }
.lk-sheet .lk-appt-label { color: #14121f; opacity: 1; font-size: .95rem; margin: .1rem 0 .8rem; }
.lk-sheet .lk-appt-sub { color: #6b6880; opacity: 1; }
.lk-sheet .lk-appt-info { color: #6b6880; opacity: 1; }
.lk-sheet .lk-appt-info.err, .lk-sheet .lk-lead-msg.err { color: #dc2626; }
.lk-sheet .lk-appt-back { color: #6b6880; font-weight: 600; }
.lk-sheet .lk-appt-back:hover { color: #14121f; }
.lk-sheet .lk-lead-msg { color: #14121f; }
.lk-sheet .lk-lead-in {
  background: #fff; border: 1.5px solid #e5e3ef; color: #14121f; border-radius: 12px; padding: .8rem .9rem;
}
.lk-sheet .lk-lead-in::placeholder { color: #9a97ab; opacity: 1; }
.lk-sheet .lk-lead-in:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
/* Botão primário: escuro elegante (independe do acento da bio) */
.lk-sheet .lk-lead-btn {
  background: #14121f; color: #fff; border-radius: 12px; padding: .85rem 1rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(20,18,31,.18);
}
.lk-sheet .lk-lead-btn:hover { background: #241f38; }
.lk-sheet .lk-appt-alt { background: #fff; border: 1.5px solid #d9d7e4; color: #14121f; box-shadow: none; }
.lk-sheet .lk-appt-alt:hover { border-color: #6366f1; background: #f7f7fc; }
.lk-sheet .lk-appt-svc-row { background: #fff; border: 1.5px solid #e5e3ef; border-radius: 14px; color: #14121f; }
.lk-sheet .lk-appt-svc-row:hover { border-color: #6366f1; background: #f7f7fc; }
.lk-sheet .lk-appt-svc-meta { color: #6b6880; }
.lk-sheet .lk-appt-summary { background: #f7f7fc; border: 1px solid #ecebf4; border-radius: 14px; padding: .9rem 1rem; }
.lk-sheet .lk-appt-sum-svc { color: #14121f; }
.lk-sheet .lk-appt-found { background: #f7f7fc; color: #14121f; border: 1px solid #ecebf4; border-radius: 12px; }
.lk-sheet .lk-appt-cancel { border-color: #d9d7e4; color: #6b6880; }
.lk-sheet .lk-appt-cancel:hover { color: #dc2626; border-color: #dc2626; }

/* --- Calendário mensal --- */
.lk-cal { margin: .2rem 0 0; }
.lk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.lk-cal-title { font-weight: 800; font-size: 1.02rem; color: #14121f; text-transform: capitalize; }
.lk-cal-nav {
  width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid #e5e3ef; background: #fff;
  color: #14121f; font-size: 1.25rem; line-height: 1; cursor: pointer; font-family: inherit;
}
.lk-cal-nav:hover { border-color: #6366f1; }
.lk-cal-nav:disabled { opacity: .35; cursor: default; }
.lk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.lk-cal-dows { margin-bottom: .3rem; }
.lk-cal-dow { text-align: center; font-size: .68rem; font-weight: 700; color: #9a97ab; text-transform: uppercase; letter-spacing: .03em; }
.lk-cal-cell {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid transparent; border-radius: 12px; background: #f3f2f8; color: #14121f;
  font-size: .92rem; font-weight: 600; cursor: pointer; font-family: inherit; padding: 0; position: relative;
}
.lk-cal-empty { background: transparent; border: none; cursor: default; }
.lk-cal-cell.is-free { background: #eef0ff; color: #3730a3; border-color: #dfe1ff; }
.lk-cal-cell.is-free:hover { border-color: #6366f1; background: #e3e6ff; }
.lk-cal-cell.is-closed { background: #f7f6fa; color: #c3c0d2; cursor: default; text-decoration: line-through; }
.lk-cal-cell.is-muted { background: transparent; color: #cbc9d8; cursor: default; }
.lk-cal-cell.is-today { border-color: #14121f; color: #14121f; font-weight: 800; }
.lk-cal-cell.is-today.is-free { border-color: #6366f1; }
.lk-cal-legend { display: flex; gap: 1rem; justify-content: center; margin-top: .9rem; font-size: .74rem; color: #6b6880; }
.lk-cal-legend .lk-lg { display: inline-flex; align-items: center; gap: .35rem; }
.lk-cal-legend .lk-lg::before { content: ""; width: 11px; height: 11px; border-radius: 4px; }
.lk-lg-free::before { background: #eef0ff; border: 1.5px solid #6366f1; }
.lk-lg-today::before { background: #fff; border: 1.5px solid #14121f; }
.lk-lg-closed::before { background: #f7f6fa; border: 1.5px solid #c3c0d2; }

/* --- Grade de horários (moderna) --- */
.lk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; margin-top: .2rem; }
.lk-time {
  padding: .7rem .4rem; border-radius: 12px; border: 1.5px solid #e5e3ef; background: #fff; color: #14121f;
  font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit; font-variant-numeric: tabular-nums;
}
.lk-time:hover { border-color: #6366f1; background: #eef0ff; color: #3730a3; }

/* ===== Contador regressivo (bloco Capturar contato em destaque) ===== */
.lk-cd-card { padding: 1.3rem 1.2rem 1.4rem; }
.lk-cd-card:hover, .lk-cd-card:active { transform: none; }
.lk-cd { display: flex; gap: .5rem; justify-content: center; margin: 1.05rem 0 1.1rem; }
.lk-cd-box {
  flex: 1 1 0; min-width: 0; text-align: center;
  background: rgba(128,128,128,.14); border-radius: 14px; padding: .6rem .2rem;
}
.lk-cd-box b { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lk-cd-box span { display: block; margin-top: .32rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.lk-cd-over { margin: .1rem 0 .9rem; text-align: center; font-weight: 700; }
.lk-cd-card .lk-lead-btn { margin-top: 0; }

/* Estilo "Círculos" */
.lk-cd-circle { gap: .4rem; }
.lk-cd-ring {
  flex: 1 1 0; min-width: 0; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 2px solid var(--accent);
}
.lk-cd-ring b { font-size: 1.35rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.lk-cd-ring span { display: block; margin-top: .2rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .03em; opacity: .75; }

/* Estilo "Minimalista" — pílula escura com dígitos grandes tipo relógio */
.lk-cd-minimal {
  flex-direction: column; gap: 0; background: rgba(20,18,31,.9); color: #fff;
  border-radius: 16px; padding: .9rem .8rem .7rem;
}
.lk-cd-min-digits {
  display: flex; align-items: baseline; justify-content: center; gap: .25rem;
  font-variant-numeric: tabular-nums; font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}
.lk-cd-min-digits span { font-size: 1.9rem; font-weight: 800; line-height: 1; min-width: 1.6ch; text-align: center; }
.lk-cd-sep { opacity: .5; font-size: 1.6rem; font-weight: 300; }
.lk-cd-min-labels { display: flex; justify-content: center; gap: 1.15rem; margin-top: .35rem; }
.lk-cd-min-labels span { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; opacity: .65; min-width: 1.6ch; text-align: center; }
/* Imagem opcional do Capturar contato (1080×1350, retrato 4:5) */
.lk-cd-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin: .9rem 0; }
.lk-lead > .lk-cd-img:last-child { margin-bottom: 0; }

/* Bloco "Agendamento" (gatilho do sheet): cabeçalho + botão */
.lk-appt .lk-lead-btn { margin-top: 0; }
