/* ==========================================================================
   profissionais.css — V11: a página de entrada do profissional (/profissionais). A identidade dos flyers: faixa laranja com o
   título grande em branco, o Mestre num círculo branco, bloco escuro do chamado. Celular primeiro; no computador o topo vira duas
   colunas (texto e chamado à esquerda, o Mestre grande à direita) e os benefícios três. A coluna nunca passa da tela
   (minmax(0, 1fr), nada da largura da janela); alvos de 44 px ou mais; o laranja do fundo é o dos botões (texto branco 4,7:1).
   Movimento: só transform e opacity; nada em loop fora da tela ou com a aba escondida; nada sob prefers-reduced-motion.
   ========================================================================== */
.lp-pro { background: var(--superficie); overflow-wrap: break-word; }
.lp-largo {
  display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 1120px; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.lp-estreito { max-width: 760px; }

/* ----- Topo ----- */
.lp-heroi { background: var(--laranja-botao); color: #fff; padding: calc(8px + env(safe-area-inset-top)) 0 0; overflow: hidden; }
.lp-heroi-grade { grid-template-areas: "marca" "palco" "texto"; align-items: center; column-gap: 40px; }
.lp-marca { grid-area: marca; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none;
  font: 800 17px/1 var(--f-display); letter-spacing: -.02em; justify-self: start; }
.lp-marca svg { width: 28px; height: 28px; flex: none; }
.lp-heroi-texto { grid-area: texto; padding: 22px 0 32px; }
.lp-bandeira { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--laranja-escuro);
  font-size: var(--t-xs); font-weight: 800; }
.lp-titulo { margin: 12px 0 10px; font: 800 clamp(34px, 10vw, 64px)/1 var(--f-display); letter-spacing: -.035em; max-width: 14ch; }
.lp-sub { margin: 0 0 20px; font-size: var(--t-md); line-height: 1.5; max-width: 40ch; }
.lp-cta-nota { margin: 10px 0 0; font-size: var(--t-sm); font-weight: 700; }
.lp-campanha { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-cartao); background: #fff; color: var(--tinta); font-size: var(--t-sm); line-height: 1.45; max-width: 44ch; }
.lp-campanha[hidden] { display: none; }

/* O Mestre do topo: no círculo branco (a camisa dele é laranja), com a fala e a trena dos ofícios andando embaixo. */
.lp-palco-heroi { grid-area: palco; position: relative; display: grid; justify-items: center; padding: 6px 0 0; min-height: 232px; }
.lp-palco-heroi::before { content: ""; position: absolute; left: 50%; top: 22px; width: 196px; height: 196px; margin-left: -98px;
  border-radius: 50%; background: #fff; }
.lp-mestre-heroi { position: relative; --mestre-w: 150px; margin-top: 22px; margin-bottom: 30px; }
.lp-fala { position: absolute; z-index: 1; top: 0; left: 50%; transform: translateX(-118%); max-width: 150px; margin: 0; padding: 8px 12px;
  border-radius: 14px 14px 4px 14px; background: var(--tinta); color: #fff; font-size: var(--t-xs); font-weight: 800; line-height: 1.3; }
.lp-trena { position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); bottom: 0; height: 40px; overflow: hidden; background: var(--amarelo);
  border-top: 3px solid #2B1A12; display: flex; align-items: center; }
.lp-trena::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px;
  background: repeating-linear-gradient(90deg, #2B1A12 0 2px, transparent 2px 12px); opacity: .55; }
.lp-trena-faixa { display: flex; gap: 26px; padding-left: 12px; width: max-content; }
.lp-trena-faixa span { display: block; font-size: 20px; line-height: 1; padding-top: 6px; }

/* ----- Chamado ----- */
.lp-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; min-height: 56px; padding: 14px 22px;
  border-radius: 14px; background: var(--tinta); color: #fff; text-decoration: none;
  font: 800 var(--t-lg)/1.2 var(--f-ui); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .65);
  transition: transform var(--d-toque) var(--ease-out), box-shadow var(--d-toque) var(--ease-out);
}
.lp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7); }
.lp-cta:active { transform: scale(.98); }
.lp-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lp-cta-laranja { background: var(--laranja-botao); }
.lp-cta-laranja:focus-visible { outline-color: var(--laranja-anel); }
.lp-seta { display: inline-block; }

/* ----- Faixas ----- */
.lp-faixa { padding: 44px 0; }
.lp-faixa-branca { background: var(--superficie); }
.lp-faixa-creme { background: var(--laranja-claro); }
.lp-h2 { margin: 0 0 14px; font: 800 clamp(26px, 7vw, 40px)/1.08 var(--f-display); letter-spacing: -.03em; }
.lp-miudo { color: var(--apagado); font-size: var(--t-sm); margin: 0 0 12px; }
.lp-agora { justify-self: start; margin: 0 0 18px; padding: 10px 14px; border-radius: 999px; background: var(--petroleo-claro); color: var(--petroleo); font-weight: 800; font-size: var(--t-sm); }
.lp-agora[hidden] { display: none; }

/* Benefícios: ícone grande, título forte, sem moldura de formulário. */
.lp-beneficios { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.lp-beneficios li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.lp-icone { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--laranja-claro);
  font-size: 32px; line-height: 1; }
.lp-beneficios h3 { margin: 4px 0 4px; font: 800 var(--t-xl)/1.15 var(--f-display); letter-spacing: -.02em; }
.lp-beneficios p { margin: 0; color: var(--apagado); line-height: 1.5; }

/* Como funciona: a lista (o texto) e a cena do Mestre com o celular (decorativa). */
.lp-como-grade { row-gap: 22px; align-items: center; }
.lp-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: passo; }
.lp-passos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 12px; border-radius: var(--r-cartao);
  counter-increment: passo; transition: background-color .3s, box-shadow .3s; }
.lp-passos li::before { content: "0" counter(passo); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--laranja-escuro); font: 800 var(--t-sm) var(--f-display); transition: background-color .3s, color .3s; }
.lp-passos li > b { font-size: var(--t-md); }
.lp-passos li > span { color: var(--apagado); font-size: var(--t-sm); line-height: 1.45; }
.lp-passos li.ativo { background: #fff; box-shadow: var(--sombra-destaque); }
.lp-passos li.ativo::before { background: var(--laranja-botao); color: #fff; }

.lp-cena { position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: end; gap: 0 4px; min-height: 300px; }
.lp-mestre-cena { --mestre-w: 132px; margin-bottom: 6px; position: relative; z-index: 1; }
.lp-celular { position: relative; width: 190px; height: 300px; border-radius: 30px; background: var(--tinta); padding: 12px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55); }
.lp-celular::before { content: ""; position: absolute; top: 6px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 3px; background: #3a3b42; }
.lp-tela { position: absolute; inset: 18px 12px 12px; border-radius: 20px; background: var(--fundo); display: grid; align-content: center; padding: 12px;
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.lp-tela.ativo, .lp-cena:not(.rodando) .lp-tela[data-quadro="0"] { opacity: 1; transform: none; }
.lp-tela p { margin: 0; display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); font-size: 13px; line-height: 1.35; }
.lp-tela small { color: var(--apagado); font-size: 11px; font-weight: 700; }
.lp-notif b { font-size: 13px; }
.lp-orc b { font: 800 28px/1 var(--f-display); color: var(--laranja-escuro); }
.lp-orc i { font-style: normal; font-weight: 800; color: #1E7A46; font-size: 12px; }
.lp-tela .lp-zap { background: #DCF8C6; }
.lp-estrelas b { font-size: 24px; letter-spacing: 2px; color: #E0A100; }

/* Preço e chamado */
.lp-preco { padding: 22px; border-radius: 20px; background: #fff; border: 2px solid var(--laranja-botao); }
.lp-preco p { margin: 0 0 8px; line-height: 1.5; }
.lp-preco-destaque { font-size: var(--t-lg); }
.lp-preco-destaque b { color: var(--laranja-escuro); font: 800 clamp(30px, 9vw, 44px)/1.05 var(--f-display); }
.lp-preco-fundador { font: 800 clamp(19px, 5vw, 24px)/1.25 var(--f-display); color: var(--tinta); }
.lp-preco-sub { color: var(--apagado); }
.lp-comissao { display: flex; gap: 12px; align-items: center; margin: 14px 0 12px !important; padding: 14px 16px; border-radius: 14px;
  background: var(--ok-soft); color: var(--ok-tinta); font-size: var(--t-md); line-height: 1.35; }
.lp-comissao b { font-weight: 800; }
.lp-comissao-ic { font-size: 28px; flex: none; }
.lp-chamado { display: grid; justify-items: start; gap: 14px; margin-top: 22px; padding: 22px; border-radius: 20px; background: var(--tinta); color: #fff; }
.lp-chamado-t { margin: 0; font: 800 clamp(24px, 6.5vw, 32px)/1.1 var(--f-display); letter-spacing: -.02em; }

/* FAQ */
.lp-faq { border-bottom: 1px solid rgba(23, 24, 28, .12); }
.lp-faq summary { display: flex; align-items: center; min-height: 52px; cursor: pointer; font-weight: 800; font-size: var(--t-md); list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 24px; color: var(--laranja-escuro); }
.lp-faq[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--laranja-anel); outline-offset: 2px; }
.lp-faq p { margin: 0 0 14px; color: var(--apagado); line-height: 1.5; }
.lp-cta-fim { margin-top: 26px; }
.lp-ja { margin: 6px 0 0; }
.lp-ja a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--petroleo); }
.lp-pro .rodape { margin-top: 18px; }
.rodape .empresa { flex-basis: 100%; margin: 0; text-align: center; }

/* ----- Computador: usa a largura ----- */
@media (min-width: 900px) {
  .lp-heroi-grade { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "marca marca" "texto palco"; }
  .lp-heroi-texto { padding: 24px 0 72px; }
  .lp-palco-heroi { min-height: 480px; align-self: end; }
  .lp-palco-heroi::before { width: 400px; height: 400px; margin-left: -200px; top: 20px; }
  .lp-mestre-heroi { --mestre-w: 330px; margin-top: 40px; margin-bottom: 40px; }
  .lp-fala { top: 26px; transform: translateX(-140%); max-width: 200px; font-size: var(--t-sm); padding: 10px 14px; }
  .lp-trena { left: -40px; right: -200px; height: 48px; }
  .lp-faixa { padding: 80px 0; }
  .lp-beneficios { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .lp-beneficios li { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .lp-icone { grid-row: auto; width: 76px; height: 76px; font-size: 38px; border-radius: 24px; }
  .lp-como-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; }
  .lp-cena { min-height: 400px; }
  .lp-mestre-cena { --mestre-w: 190px; }
  .lp-celular { width: 230px; height: 380px; }
  .lp-tela p { font-size: 14px; }
}
@media (max-width: 359px) {
  .lp-mestre-cena { --mestre-w: 104px; }
  .lp-celular { width: 168px; }
  .lp-fala { transform: translateX(-108%); max-width: 128px; }
}

/* ----- Movimento (só com lp-anima: posta pelo profissionais-cedo.js quando não há prefers-reduced-motion) ----- */
.lp-anima .lp-revela { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.lp-anima .lp-revela.visto { opacity: 1; transform: none; }
.lp-anima .lp-beneficios .lp-revela:nth-child(2) { transition-delay: .1s; }
.lp-anima .lp-beneficios .lp-revela:nth-child(3) { transition-delay: .2s; }
.lp-anima .lp-passos .lp-revela:nth-child(2) { transition-delay: .08s; }
.lp-anima .lp-passos .lp-revela:nth-child(3) { transition-delay: .16s; }
.lp-anima .lp-passos .lp-revela:nth-child(4) { transition-delay: .24s; }
.lp-anima .lp-trena-faixa { animation: lp-trena-anda 26s linear infinite; }
.lp-anima .lp-trena-faixa span { animation: lp-oficio-quica 1.2s ease-in-out infinite alternate; }
.lp-anima .lp-trena-faixa span:nth-child(3n+2) { animation-delay: -.4s; }
.lp-anima .lp-trena-faixa span:nth-child(3n) { animation-delay: -.8s; }
.lp-anima .lp-fala { animation: lp-fala-entra .5s var(--ease-out) .5s both; }
.lp-anima .lp-palco-heroi::before { animation: lp-circulo .6s var(--ease-out) both; }
.lp-anima .lp-mestre-heroi { animation: lp-mestre-sobe .6s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
.lp-anima .lp-cta .lp-seta { animation: lp-seta 1.6s var(--ease-out) 1.2s 4; }
.lp-parado .lp-trena-faixa, .lp-parado .lp-trena-faixa span, .aba-oculta .lp-trena-faixa, .aba-oculta .lp-trena-faixa span { animation-play-state: paused; }
@keyframes lp-trena-anda { to { transform: translateX(-50%); } }
@keyframes lp-oficio-quica { to { transform: translateY(-4px) rotate(-6deg); } }
@keyframes lp-fala-entra { from { opacity: 0; scale: .9; } }
@keyframes lp-circulo { from { transform: scale(.6); opacity: 0; } }
@keyframes lp-mestre-sobe { from { transform: translateY(24%); opacity: 0; } }
@keyframes lp-seta { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  .lp-cta, .lp-tela, .lp-passos li, .lp-passos li::before { transition: none; }
  .lp-cta:hover, .lp-cta:active { transform: none; }
}
/* A legenda da cena (o passo do quadro), para quem vê a cena longe da lista (no celular a lista fica em cima). */
.lp-legenda { grid-column: 1 / -1; justify-self: center; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: #fff;
  font-weight: 800; font-size: var(--t-sm); box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .4); }
.lp-legenda b { color: var(--laranja-escuro); margin-right: 6px; }
