/* ===================================================================
   VYA GLOBAL · formulário das LPs (avaliação e guia) · lp3-form.css
   O cartão, as perguntas, a revisão, o preparando, o obrigado e a
   chamada fixa do celular. Saiu do lp3.css em 30/09/2026 (noite) para a
   LP do guia usar exatamente o mesmo formulário da avaliação: uma
   correção aqui vale para as duas. Carrega depois de lp3-nucleo.css e
   do CSS da página (lp3.css ou guia.css).
   =================================================================== */

:root {
  --laranja: #E4542A;
  --cta: linear-gradient(95deg, #DD5A14 0%, #D23A22 100%);          /* texto branco com contraste */
  --titulo-grad: linear-gradient(95deg, #EA6A12 0%, #D93A26 100%);
  --escuro: #17111A;
}

/* ------------------------------- o cartão ------------------------------ */
.card { border-radius: 18px; padding: 22px 18px 20px; border-color: rgba(58, 40, 30, 0.08);
  box-shadow: 0 34px 70px -34px rgba(60, 30, 10, 0.45), 0 2px 6px rgba(58, 40, 30, 0.06); }
.estrada-leg { margin-bottom: 14px; }
.card-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); text-wrap: balance; }
.card-head { gap: 7px; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1.12; letter-spacing: -0.025em; }
/* O convite do contato é a peça principal do cartão: maior, e o "Primeiro,"
   na cor do título do topo (a mesma voz da página, conduzindo o passo). */
.card-title-pre { font-size: 27px; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 414px) { .card-title-pre { font-size: 29px; } }
.tit-acento { background: var(--titulo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel-pre .ao-vivo { margin: 0 0 -4px; }
.campo-ic { position: relative; }
.campo-ic input { padding-left: 44px; }
.ic-campo { position: absolute; left: 15px; top: 15px; width: 20px; height: 20px; pointer-events: none;
  fill: none; stroke: var(--muted-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.campo-ic:focus-within .ic-campo { stroke: var(--laranja); }
.ic-whats { width: 20px; height: 20px; color: #25D366; flex: none; }
.phone-prefix { gap: 8px; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 14px 28px -14px rgba(210, 58, 34, 0.75); }
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(210, 58, 34, 0.8); }
.btn-cta { text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; font-size: 15px; }
.ic-btn { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn-cta:hover .ic-btn { transform: translateX(3px); }
.ic-fine { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.depois { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: -4px; }
.depois svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--amber-ink); }
.depois strong { color: var(--text); font-weight: 600; }
.fine-centro { justify-content: center; }
/* O eco do número: em linha corrida, para não virar duas colunas no celular estreito. */
.field-echo { display: block; }

/* Reforço de cada passo: faixa no alto, logo abaixo da estrada. */
.reforco { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 16px; padding: 11px 13px; border-radius: 13px;
  background: #FFF4EC; border: 1px solid rgba(228, 84, 42, 0.22); }
.reforco.entra { animation: notaEntra 0.55s var(--ease) both; }
.reforco-selo { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid rgba(228, 84, 42, 0.25); display: grid; place-items: center; }
.reforco-selo svg { width: 14px; height: 14px; }
.reforco p { font-size: 13.5px; line-height: 1.5; color: var(--text); padding-top: 2px; }
.reforco strong { color: var(--ink); font-weight: 600; }

/* Opções com ícone (formato do CMO). */
.q-title { font-weight: 700; font-size: 22px; line-height: 1.2; }
.opt.com-ic { justify-content: flex-start; gap: 12px; padding: 10px 14px 10px 10px; }
.opt-t { flex: 1; min-width: 0; }
.opt-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #FFF1EA; display: grid; place-items: center; transition: background 0.18s, transform 0.25s var(--ease); }
.opt-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--laranja); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover .opt-ic { transform: scale(1.06); }
.opt-flag { background: transparent; }
.opt-flag svg { width: 26px; height: 26px; stroke: none; } /* a bandeira tem as cores dela, sem o contorno dos ícones */
.opt.on { border-color: var(--laranja); background: #FFF4EE; box-shadow: 0 0 0 3px rgba(228, 84, 42, 0.12); }
.opt.on .opt-ic { background: var(--surface); }
.opt.on .opt-dot { background: var(--cta); }
/* A pergunta extra da localização, na mesma tela. */
.q-sub { padding: 14px; border-radius: 14px; background: var(--warm); border: 1px dashed rgba(228, 84, 42, 0.32); }
.q-sub.entra { animation: notaEntra 0.45s var(--ease) both; }
.q-sub-tit { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.q-sub-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt-sub { min-height: 48px; padding: 10px 12px; font-size: 14.5px; }
.opt-sub .opt-dot { display: none; }
.q-nav { gap: 14px; }

/* Revisão ("Quase lá!"). */
.rev { border-top: 1px solid var(--line); }
.rev div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rev dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.rev dd { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.rev-editar { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--laranja); font-size: 14px; font-weight: 600; padding: 12px 4px; min-height: 44px; }
.rev-editar:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Preparando e obrigado: o cartão fica escuro, com Nova York ao fundo. */
/* Preparando e obrigado: o cartão fica creme quente, claro, sem foto. */
.card.escuro { background: var(--warm); border-color: rgba(228, 84, 42, 0.2); }
.panel-prep, .panel-obg { align-items: center; text-align: center; gap: 14px; padding: 8px 0 4px; }
.prep-anel { width: 62px; height: 62px; border-radius: 50%; border: 3px solid rgba(228, 84, 42, 0.14); border-top-color: var(--laranja); animation: spin 1s linear infinite; margin-top: 6px; }
.escuro-tit { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.escuro-destaque { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: -6px; }
.escuro-sub { font-size: 15px; line-height: 1.55; color: var(--muted); }
.escuro-nota { font-size: 13.5px; color: var(--muted-2); }
.prep-lista { list-style: none; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
.prep-lista li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; line-height: 1.35; color: var(--muted-2); border-bottom: 1px solid var(--line); transition: color 0.3s; }
.prep-lista li:last-child { border-bottom: 0; }
.prep-lista li i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: background 0.3s, border-color 0.3s; }
.prep-lista li.vai { color: var(--ink); }
.prep-lista li.vai i { border-color: rgba(228, 84, 42, 0.18); border-top-color: var(--laranja); animation: spin 0.9s linear infinite; }
.prep-lista li.ok { color: var(--ink); }
.prep-lista li.ok i { background: #22A559; border-color: #22A559; animation: pop 0.35s var(--ease) both; }
.prep-lista li.ok i::after { content: ""; position: absolute; left: 5px; top: 5px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.prep-lista li small { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.obg-lista li.relogio { color: var(--ink); }
.obg-lista li.relogio i { border-color: var(--laranja); }
.obg-lista li.relogio i::before { content: ""; position: absolute; left: 8px; top: 3px; width: 2px; height: 7px; background: var(--laranja); border-radius: 1px; }
.obg-lista li.relogio i::after { content: ""; position: absolute; left: 8px; top: 8px; width: 6px; height: 2px; background: var(--laranja); border-radius: 1px; }
.obg-check { width: 64px; height: 64px; border-radius: 50%; background: var(--cta); box-shadow: 0 14px 28px -14px rgba(210, 58, 34, 0.6); display: grid; place-items: center; margin-top: 6px; animation: pop 0.5s var(--ease) both; }
.obg-check svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.card.escuro .when { width: 100%; }
.card.escuro .chip:hover { border-color: var(--laranja); }
.card.escuro .chip.on { background: var(--cta); border-color: transparent; color: #fff; }
/* O WhatsApp do fim: o mesmo botão verde da v2, "Falar agora no WhatsApp". */
.card.escuro .wa-box { width: 100%; }

/* --------------------------- celular estreito ------------------------- */
@media (max-width: 380px) {
  /* O número formatado "(407) 234-5678" precisa caber inteiro ao lado do +1. */
  .phone-prefix { gap: 6px; padding: 0 9px 0 10px; }
  .field .phone input { padding-left: 10px; padding-right: 8px; }
  .card { padding-left: 15px; padding-right: 15px; }
  .btn-cta { letter-spacing: 0.04em; font-size: 14.5px; }
  .q-sub-ops { grid-template-columns: 1fr; }
  .card-title-pre { font-size: 26px; }
  .chip { padding-left: 10px; padding-right: 10px; font-size: 13.5px; }
}

/* -------------------------------- tablet ------------------------------ */
@media (min-width: 640px) {
  .card { padding: 26px 26px 24px; }
}

/* ------------------------------ computador ---------------------------- */
@media (min-width: 1024px) {
  .card { padding: 28px 28px 26px; }
  .card-title-pre { font-size: 28px; }
}

/* ---------------- formulário: mais fino, mais vivo ---------------- */
/* Um fio da marca no alto do cartão, como o "Por que agora". */
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: 0.85; pointer-events: none; }
.card.escuro::before { opacity: 0.55; }

/* O marco atual da estrada respira devagar: "você está aqui". */
.marco.agora { animation: marcoRespira 2.6s ease-in-out infinite; }
@keyframes marcoRespira { 0%, 100% { box-shadow: 0 0 0 4px rgba(247, 162, 59, 0.16); } 50% { box-shadow: 0 0 0 7px rgba(247, 162, 59, 0.06); } }

/* O reforço de cada passo vira a voz da VYA com o fio fino à esquerda,
   sem caixa (o mesmo desenho do "Por que agora"). O fio desce quando a
   frase nova chega. */
.reforco { position: relative; gap: 0; margin: 0 0 18px; padding: 1px 0 1px 14px; border-radius: 0; background: none; border: 0; }
.reforco::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--amber), var(--rose)); transform-origin: 50% 0; }
.reforco.entra::before { animation: fioDesce 0.7s var(--ease) both; }
@keyframes fioDesce { from { transform: scaleY(0); } to { transform: none; } }
.reforco-selo { display: none; }
.reforco p { font-size: 14px; line-height: 1.55; padding-top: 0; }

/* Opções: fio fino, profundidade quase invisível, e entram uma a uma. */
.opt { border-color: var(--line-2); box-shadow: 0 1px 2px rgba(58, 40, 30, 0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.q.swap .opt { animation: optEntra 0.5s var(--ease) backwards; animation-delay: calc(var(--k, 0) * 50ms + 70ms); }
@keyframes optEntra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (hover: hover) {
  .opt:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -18px rgba(228, 84, 42, 0.5); }
}
/* Escolhida: o contorno vira o degradê da marca, o ícone acende e o
   check se desenha. */
.opt.on { border-color: transparent; box-shadow: 0 14px 28px -20px rgba(228, 84, 42, 0.6);
  background: linear-gradient(#FFF6F0, #FFF6F0) padding-box, linear-gradient(100deg, var(--amber), var(--laranja) 55%, var(--rose)) border-box; }
.opt.on .opt-ic { background: var(--cta); transform: scale(1.04); }
.opt.on .opt-ic svg { stroke: #fff; }
.opt.on .opt-flag { background: transparent; }
.opt.on .opt-flag svg { stroke: none; }   /* 01/10: a bandeira escolhida ficava lavada pelo contorno branco dos ícones */
.opt.on .opt-dot svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: risca 0.4s var(--ease) 0.05s forwards; }
@keyframes risca { to { stroke-dashoffset: 0; } }

/* A pergunta extra do tempo nos EUA: sem caixa tracejada, só um fio. */
.q-sub { padding: 16px 0 0; border-radius: 0; background: none; border: 0; border-top: 1px solid var(--line); }
.q-sub-tit { font-size: 17px; }

/* ------------------- chamada fixa (celular e tablet) ------------------- */
.barra-cta { position: fixed; z-index: 20; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 9px 22px;
  border-radius: 999px; background: var(--cta); color: #fff; overflow: hidden; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 16px 34px -14px rgba(210, 58, 34, 0.7), 0 2px 8px rgba(60, 30, 10, 0.12);
  opacity: 0; transform: translateY(calc(100% + 24px)); visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s; }
.barra-cta.vis { opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity 0.35s var(--ease), transform 0.55s var(--ease), visibility 0s; }
.barra-cta:active { transform: scale(0.985); }
.barra-cta .ic-btn { width: 18px; height: 18px; }
.barra-txt { display: flex; flex-direction: column; align-items: center; min-width: 0; line-height: 1.15; }
#barraTxt { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.barra-txt small { margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.94; white-space: nowrap; }
/* Quem já começou vê quanto falta: um fio branco que enche. */
.barra-prog { position: absolute; left: 26px; right: 26px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.barra-prog i { display: block; height: 100%; width: 0; border-radius: 2px; background: #fff; transition: width 0.8s var(--ease); }
/* A barra não cobre o rodapé, o aviso da página nem o campo em foco. */
html { scroll-padding-bottom: 96px; }
.foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 380px) {
  .barra-cta { left: 10px; right: 10px; padding: 9px 16px; gap: 8px; }
  #barraTxt { font-size: 14px; letter-spacing: 0.04em; }
}
/* Tablet: a pílula fica do tamanho de um botão, centralizada. */
@media (min-width: 640px) {
  .barra-cta { left: calc(50% - 230px); right: calc(50% - 230px); }
}
@media (min-width: 1024px) {
  .barra-cta { display: none; }
  html { scroll-padding-bottom: 0; }
  .foot { padding-bottom: 44px; }
  .toast { bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .opt.on .opt-dot svg path { stroke-dashoffset: 0; }   /* sem animação, o check aparece inteiro */
}
