/* healby.ai: fecho com um botão e popup do pedido (en/pedido.js). Mesmas regras da home em português (lp.css), com a classe en-home. */
/* Fecho: uma tela, um botão. O formulário sai da página e abre no popup do pedido (pedido.js). */
.en-home .conversion-grid { display: flex; flex-direction: column; align-items: center; text-align: center; }
.en-home .conversion-grid > div { display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.en-home .ct-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 260px; min-height: 60px; margin-top: 28px; padding: 0 32px; border: 1px solid rgba(9, 9, 11, .35); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, #e9eeff 100%); box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(31, 91, 255, .28); color: #0b0b1f; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.en-home .ct-cta span { font-weight: 400; }
.en-home .ct-cta:focus-visible { outline: 2px solid #cfe0ff; outline-offset: 4px; }
/* O botão vem sempre depois do texto final, em qualquer tela (o desktop.css reordena os filhos do fecho). */
.en-home .conversion .ct-cta { order: 99; }
/* "Análise gratuita e sem compromisso" em texto simples, sem pílula nem bolinha verde. */
.en-home .conversion .m-reassure li { min-height: 0; padding: 0; background: none; box-shadow: none; color: rgba(235, 240, 255, .7); font-size: 14px; }
.en-home .conversion .m-reassure li::before { display: none; }
.en-home .conversion .m-reassure { margin-top: 8px; }

@media (max-width: 700px) {
  /* Fecho de uma tela inteira, com a foto da clínica ao fundo de ponta a ponta (como na home em português). */
  .en-home .conversion { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding-top: 0; padding-bottom: 0; }
  .en-home .conversion .wrap { width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .en-home .conversion-grid > div:first-child { min-height: 100svh; justify-content: center; border: 0; border-radius: 0; box-shadow: none; }
}

/* Popup do pedido de análise (pedido.js): uma pergunta por vez, no estilo da /contato, numa caixa de vidro quase
   invisível sobre a página escurecida e desfocada (o ::backdrop do <dialog>). */
html.pp-aberto { overflow: hidden; scrollbar-gutter: stable; }
.en-home .pp { width: min(100% - 32px, 560px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(180, 205, 255, .18); border-radius: 32px; background: rgba(12, 24, 70, .28); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 90px rgba(2, 8, 40, .5); color: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; text-align: center; }
.en-home .pp::backdrop { background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(31, 91, 255, .35), transparent 70%), rgba(5, 11, 26, .55); -webkit-backdrop-filter: blur(14px) brightness(.6) saturate(.9); backdrop-filter: blur(14px) brightness(.6) saturate(.9); }
.en-home .pp [hidden] { display: none !important; }
/* Abre em fade-in (27/10): a caixa e o fundo escurecido aparecem juntos. */
.en-home .pp[open], .en-home .pp[open]::backdrop { animation: pp-aparece .4s ease-out; }
@keyframes pp-aparece { from { opacity: 0; } }
.en-home .pp-caixa { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 32px 36px; }
.en-home .pp-fechar { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(235, 240, 255, .7); cursor: pointer; }
.en-home .pp-fechar:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.en-home .pp-fechar svg { width: 18px; height: 18px; }
.en-home .pp-nav { display: flex; justify-content: space-between; align-items: center; padding-right: 44px; }
/* Na tela final o rótulo e o Voltar somem, mas a linha fica: a barra não sobe para baixo do X. */
.en-home .pp-nav.is-fim, .en-home .pp-voltar[aria-hidden="true"] { visibility: hidden; }
.en-home .pp-voltar { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: rgba(235, 240, 255, .6); font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.en-home .pp-voltar:hover { color: #fff; }
.en-home .pp-passo { color: rgba(235, 240, 255, .6); font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.en-home .pp-barra { height: 2px; border-radius: 2px; background: rgba(180, 205, 255, .14); overflow: hidden; }
.en-home .pp-barra i { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f5bff, #8fb4ff); transition: width .4s cubic-bezier(.22, 1, .36, 1); }
.en-home .pp-tela { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 28px 0 4px; animation: pp-entra .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes pp-entra { from { opacity: 0; transform: translateY(14px); } }
.en-home .pp-sobre { margin: 0; color: #8fb4ff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.en-home .pp-pergunta { display: block; margin: 0 auto; padding: 0 0 .1em; max-width: 460px; font-size: 36px; line-height: 1.08; letter-spacing: -.045em; font-weight: 300; text-wrap: balance; background: linear-gradient(180deg, #8fb4ff, #fff 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.en-home .pp-pergunta em { font-style: normal; color: #fff; -webkit-text-fill-color: #fff; }
.en-home .pp-pergunta:focus { outline: none; }
.en-home .pp-lead { margin: 0 auto; max-width: 420px; color: rgba(235, 240, 255, .78); font-size: 17px; line-height: 1.55; }
.en-home .pp-campo { display: block; width: 100%; height: auto; margin: 0; padding: 14px 4px; border: 0; border-bottom: 1px solid rgba(180, 205, 255, .22); border-radius: 0; background: transparent; box-shadow: none; color: #fff; font: inherit; font-size: 21px; text-align: center; outline: none; }
.en-home .pp-campo::placeholder { color: rgba(235, 240, 255, .38); opacity: 1; }
.en-home .pp-campo:focus { border-bottom-color: #8fb4ff; outline: none; }
.en-home .pp-campo[aria-invalid="true"] { border-bottom-color: #ffb4ae; }
/* Preenchimento automático do navegador (27/10): o Chrome pintava o campo de azul-claro com texto preto. O fundo
   segue transparente (a cor dele só entraria depois de dias de transição) e o texto, branco. */
.en-home .pp-campo:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; filter: none; transition: background-color 600000s 0s, color 600000s 0s; }
/* O aviso só ocupa lugar quando tem texto (a margem negativa anula o espaço da coluna). */
.en-home .pp-erro { margin: -8px 0 0; color: #ffb4ae; font-size: 14px; line-height: 1.4; }
.en-home .pp-erro:empty { margin-top: -18px; }
.en-home .pp-seguir { align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 220px; min-height: 56px; margin-top: 6px; padding: 0 30px; border: 1px solid rgba(9, 9, 11, .35); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, #e9eeff 100%); box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(31, 91, 255, .28); color: #0b0b1f; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer; }
.en-home .pp-seguir span { font-weight: 400; }
.en-home .pp-seguir:disabled { opacity: .7; cursor: wait; }
.en-home .pp-seguir:focus-visible, .en-home .pp-voltar:focus-visible, .en-home .pp-fechar:focus-visible { outline: 2px solid #cfe0ff; outline-offset: 4px; }
/* Verde do WhatsApp com texto escuro, como na /contato. */
.en-home .pp-whats { border-color: transparent; background: linear-gradient(180deg, #3ee07f 0%, #25d366 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 28px rgba(37, 211, 102, .35); color: #062b14; }
.en-home .pp-whats svg { width: 22px; height: 22px; flex: none; }
.en-home .pp-nota { margin: -4px 0 0; color: rgba(235, 240, 255, .55); font-size: 13px; }
@media (max-width: 700px) {
  .en-home .pp { border-radius: 28px; }
  .en-home .pp-caixa { padding: 22px 20px 28px; }
  .en-home .pp-pergunta { font-size: 30px; }
  .en-home .pp-campo { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .en-home .pp-tela { animation: none; }
  .en-home .pp-barra i { transition: none; }
}
.en-home .conversion h2 { text-wrap: balance; }
