/* vale-presente-landing.css — seção "Presenteie quem você ama" (prefixo vpl-).
   Usa as variáveis da landing (--lp-primary, --lp-text...) para seguir as cores da empresa. */
.vpl-section { background: color-mix(in srgb, var(--lp-primary, #0f6e6e) 5%, var(--lp-bg, #f6f8f8)); }
.vpl-section[hidden], .vpl-modal[hidden] { display: none !important; }

.vpl-abas { display: inline-flex; gap: 6px; margin: 0 0 22px; padding: 5px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); border-radius: 999px; background: var(--lp-card, #fff); }
.vpl-abas button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; color: var(--lp-muted, #5b6b70); font: inherit; font-size: .95rem; font-weight: 700; background: transparent; cursor: pointer; }
.vpl-abas button.is-ativa { color: var(--lp-primary-text, #fff); background: var(--lp-primary, #0f6e6e); }

.vpl-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.vpl-cartao { position: relative; display: grid; align-content: space-between; gap: 6px; min-height: 150px; padding: 20px; overflow: hidden; border: 0; border-radius: 22px; color: #fff; font: inherit; text-align: left; background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .24), transparent 55%), linear-gradient(135deg, var(--lp-primary, #0f6e6e), color-mix(in srgb, var(--lp-primary, #0f6e6e) 55%, var(--lp-accent, #c89b68))); box-shadow: 0 16px 34px -18px color-mix(in srgb, var(--lp-primary, #0f6e6e) 70%, transparent); cursor: pointer; transition: transform .2s var(--lp-ease, ease), box-shadow .2s; }
.vpl-cartao:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px color-mix(in srgb, var(--lp-primary, #0f6e6e) 80%, transparent); }
.vpl-cartao--livre { color: var(--lp-text, #10262d); background: var(--lp-card, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lp-primary, #0f6e6e) 35%, transparent); }
.vpl-cartao__laco { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; opacity: .85; }
.vpl-cartao__laco svg { width: 100%; height: 100%; }
.vpl-cartao small { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.vpl-cartao strong { font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.vpl-cartao em { font-size: .9rem; font-style: normal; font-weight: 700; opacity: .9; }

.vpl-servicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vpl-servico { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); border-radius: 18px; color: var(--lp-text, #10262d); font: inherit; text-align: left; background: var(--lp-card, #fff); cursor: pointer; transition: border-color .2s, transform .2s; }
.vpl-servico:hover { border-color: var(--lp-primary, #0f6e6e); transform: translateY(-2px); }
.vpl-servico__foto { flex: none; display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border-radius: 14px; color: var(--lp-primary, #0f6e6e); background: var(--lp-tint, rgba(0, 0, 0, .04)); }
.vpl-servico__foto img { width: 100%; height: 100%; object-fit: cover; }
.vpl-servico__foto svg { width: 28px; height: 28px; }
.vpl-servico__txt { display: grid; flex: 1; gap: 2px; min-width: 0; }
.vpl-servico__txt strong { overflow: hidden; font-size: 1rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.vpl-servico__txt small { color: var(--lp-muted, #5b6b70); font-size: .85rem; }
.vpl-servico b { color: var(--lp-primary, #0f6e6e); font-size: 1.05rem; font-weight: 800; white-space: nowrap; }

.vpl-rodape { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--lp-muted, #5b6b70); font-size: .9rem; }
.vpl-rodape svg { flex: none; width: 20px; height: 20px; color: var(--lp-primary, #0f6e6e); }

/* Modal */
body.vpl-aberto { overflow: hidden; }
.vpl-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; font-family: var(--lp-font, system-ui, sans-serif); }
.vpl-modal__fundo { position: absolute; inset: 0; background: rgba(8, 20, 24, .55); }
.vpl-modal__dialogo { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: hidden; border-radius: 26px; color: var(--lp-text, #10262d); background: var(--lp-card, #fff); box-shadow: 0 40px 90px rgba(8, 20, 24, .35); }
.vpl-modal__topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 10px; }
.vpl-modal__kicker { color: var(--lp-primary, #0f6e6e); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.vpl-modal__topo h3 { margin: 4px 0 0; font-size: 1.35rem; font-weight: 800; }
.vpl-modal__fechar { flex: none; width: 40px; height: 40px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); border-radius: 12px; color: var(--lp-muted, #5b6b70); font-size: 1.4rem; line-height: 1; background: #fff; cursor: pointer; }
.vpl-passos { display: flex; gap: 8px; margin: 0; padding: 4px 22px 14px; list-style: none; border-bottom: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); }
.vpl-passos:empty { display: none; }
.vpl-passos li { display: flex; flex: 1; align-items: center; gap: 8px; color: var(--lp-muted, #5b6b70); font-size: .85rem; font-weight: 700; }
.vpl-passos li span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; background: var(--lp-tint, rgba(0, 0, 0, .05)); }
.vpl-passos li.is-ativo { color: var(--lp-text, #10262d); }
.vpl-passos li.is-ativo span, .vpl-passos li.is-feito span { color: var(--lp-primary-text, #fff); background: var(--lp-primary, #0f6e6e); }
.vpl-modal__corpo { display: grid; gap: 14px; overflow-y: auto; padding: 18px 22px; }
.vpl-modal__rodape { display: flex; justify-content: space-between; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); }
.vpl-modal__rodape:has(> :only-child) { justify-content: flex-end; }
.vpl-modal__rodape .lp-btn { flex: 1; justify-content: center; }
.vpl-modal__rodape > span { flex: 0; }

.vpl-resumo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--lp-primary, #0f6e6e), color-mix(in srgb, var(--lp-primary, #0f6e6e) 55%, var(--lp-accent, #c89b68))); }
.vpl-resumo__laco { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .18); }
.vpl-resumo__laco svg { width: 24px; height: 24px; }
.vpl-resumo small { display: block; font-size: .8rem; font-weight: 700; opacity: .9; }
.vpl-resumo strong { font-size: 1.5rem; font-weight: 800; }

.vpl-campo { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; }
.vpl-campo small { color: var(--lp-muted, #5b6b70); font-weight: 500; }
.vpl-campo input, .vpl-campo textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .16)); border-radius: 14px; color: var(--lp-text, #10262d); font: inherit; font-size: 1rem; font-weight: 500; background: #fff; box-sizing: border-box; }
.vpl-campo textarea { padding: 12px 14px; resize: vertical; }
.vpl-campo input:focus, .vpl-campo textarea:focus { outline: 3px solid color-mix(in srgb, var(--lp-primary, #0f6e6e) 25%, transparent); border-color: var(--lp-primary, #0f6e6e); }
.vpl-dinheiro { display: flex; align-items: center; border: 1px solid var(--lp-line, rgba(16, 38, 45, .16)); border-radius: 14px; background: #fff; }
.vpl-dinheiro em { padding: 0 4px 0 14px; color: var(--lp-muted, #5b6b70); font-style: normal; font-weight: 700; }
.vpl-dinheiro input { border: 0; font-size: 1.2rem; font-weight: 800; }
.vpl-dinheiro input:focus { outline: none; }

.vpl-pix { display: grid; justify-items: center; gap: 8px; padding: 18px; border: 1px dashed color-mix(in srgb, var(--lp-primary, #0f6e6e) 45%, transparent); border-radius: 18px; text-align: center; background: var(--lp-tint, rgba(0, 0, 0, .03)); }
.vpl-pix > strong { font-size: 1.1rem; font-weight: 800; }
.vpl-pix small { color: var(--lp-muted, #5b6b70); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vpl-pix code { max-width: 100%; padding: 8px 12px; border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; background: #fff; }
.vpl-copiar { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--lp-primary-text, #fff); font: inherit; font-weight: 800; background: var(--lp-primary, #0f6e6e); cursor: pointer; }
.vpl-copiar svg { width: 18px; height: 18px; }
.vpl-copiar.is-copiado { background: #1fa855; }
.vpl-pix dl { display: grid; gap: 4px; width: 100%; margin: 4px 0 0; }
.vpl-pix dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.vpl-pix dt { color: var(--lp-muted, #5b6b70); }
.vpl-pix dd { margin: 0; font-weight: 700; }
.vpl-pix p { margin: 0; color: var(--lp-muted, #5b6b70); font-size: .88rem; }
.vpl-aviso { margin: 0; color: var(--lp-muted, #5b6b70); font-size: .9rem; line-height: 1.5; }
.vpl-msg { margin: 0; color: #b42318; font-size: .9rem; font-weight: 700; }
.vpl-msg:empty { display: none; }

.vpl-sucesso { display: grid; justify-items: center; gap: 8px; padding: 10px 0; text-align: center; }
.vpl-sucesso__icone { width: 64px; height: 64px; color: #1fa855; }
.vpl-sucesso__icone svg { width: 100%; height: 100%; }
.vpl-sucesso h4 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.vpl-sucesso p { margin: 0; color: var(--lp-muted, #5b6b70); line-height: 1.55; }

@media (max-width: 640px) {
  .vpl-cartoes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vpl-cartao { min-height: 130px; padding: 16px; }
  .vpl-cartao strong { font-size: 1.45rem; }
  .vpl-servicos { grid-template-columns: 1fr; }
  .vpl-modal { align-items: end; padding: 0; }
  .vpl-modal__dialogo { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .vpl-passos li { font-size: .78rem; }
}

/* Aba "Por serviço" (2026-10-18): busca + chips de categoria com ícone (classes lp-svc-chip
   da landing, iguais aos de "Nossos serviços") no lugar dos cartões de categoria. */
.vpl-busca { position: relative; display: block; max-width: 460px; margin: 0 0 14px; }
.vpl-busca svg { position: absolute; top: 50%; left: 16px; width: 18px; height: 18px; color: var(--lp-muted, #5b6b70); transform: translateY(-50%); pointer-events: none; }
.vpl-busca input { width: 100%; min-height: 46px; margin: 0; padding: 0 16px 0 44px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .14)); border-radius: 999px; color: var(--lp-text, #10262d); font: inherit; font-size: 1rem; background: var(--lp-card, #fff); box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.vpl-busca input:focus { outline: 3px solid color-mix(in srgb, var(--lp-primary, #0f6e6e) 25%, transparent); border-color: var(--lp-primary, #0f6e6e); }
.vpl-chips { margin-bottom: 16px; }
.vpl-servico[hidden], .vpl-vazio[hidden] { display: none !important; }
.vpl-servico__txt strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.25; white-space: normal; }
.vpl-servico b { display: grid; justify-items: end; line-height: 1.15; }
.vpl-servico b em { color: var(--lp-muted, #5b6b70); font-size: .72rem; font-style: normal; font-weight: 600; }
.vpl-vazio { margin: 4px 0 0; padding: 16px; border-radius: 16px; color: var(--lp-muted, #5b6b70); text-align: center; background: var(--lp-card, #fff); }

/* Personalização do serviço no modal (2026-10-18) */
.vpl-resumo__a-partir { font-size: .8rem; font-style: normal; font-weight: 700; opacity: .9; }
.vpl-pers { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--lp-line, rgba(16, 38, 45, .1)); border-radius: 18px; background: var(--lp-tint, rgba(0, 0, 0, .03)); }
.vpl-pers__titulo { font-size: .95rem; font-weight: 800; }
.vpl-pers__aviso { margin: 0; color: var(--lp-muted, #5b6b70); font-size: .9rem; }
.vpl-pers__grupo { display: grid; gap: 8px; }
.vpl-pers__nome { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .9rem; font-weight: 700; }
.vpl-pers__nome small { color: var(--lp-muted, #5b6b70); font-size: .8rem; font-weight: 500; }
.vpl-pers__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.vpl-opcao { display: grid; justify-items: center; gap: 1px; min-height: 44px; padding: 7px 14px; border: 1.5px solid var(--lp-line, rgba(16, 38, 45, .14)); border-radius: 12px; color: var(--lp-text, #10262d); font: inherit; text-align: center; background: var(--lp-card, #fff); cursor: pointer; transition: border-color .15s, background-color .15s; }
.vpl-opcao b { font-size: .9rem; font-weight: 700; }
.vpl-opcao small { color: var(--lp-muted, #5b6b70); font-size: .75rem; font-weight: 600; }
.vpl-opcao:hover { border-color: color-mix(in srgb, var(--lp-primary, #0f6e6e) 45%, transparent); }
.vpl-opcao.is-on { border-color: var(--lp-primary, #0f6e6e); color: var(--lp-primary, #0f6e6e); background: color-mix(in srgb, var(--lp-primary, #0f6e6e) 10%, var(--lp-card, #fff)); }
.vpl-opcao:focus-visible { outline: 2px solid var(--lp-primary, #0f6e6e); outline-offset: 2px; }


/* MOBILE-PWA (2026-10-10): iPhone/iPad dão zoom ao tocar em campo com letra < 16px. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
