/* Peças usadas por todas as páginas, inclusive o Axys Lab: WhatsApp, espaços reservados, pessoas. */

/* Botão flutuante de WhatsApp: sempre visível. Quadrado e escuro como o site, com borda e brilho
   no verde da marca e um pulso suave a cada poucos segundos para chamar atenção. */
.wa-float {
  --wa: #25d366;
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 16px;
  background: var(--surface-2, #1d2830);
  color: var(--ink, #eef2f4);
  border: 2px solid var(--wa);
  font-family: var(--font-text, system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(37, 211, 102, 0.35);
  animation: wa-in 520ms cubic-bezier(0.23, 1, 0.32, 1) 500ms both;
  transition: background-color 160ms ease, box-shadow 200ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
/* O pulso: um contorno verde que se expande e some. Só roda quando o script põe .is-pulsing
   (2 vezes ao abrir a página e 2 vezes depois de um tempo parado), nunca em laço. */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--wa);
  opacity: 0;
  pointer-events: none;
}
.wa-float.is-pulsing::after { animation: wa-pulse 1.5s cubic-bezier(0.23, 1, 0.32, 1) 2; }
.wa-float svg { width: 26px; height: 26px; flex: none; fill: var(--wa); }
.wa-float:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: #18352a; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 26px rgba(37, 211, 102, 0.55); }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18, 1.5); }
}
@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  @keyframes wa-pulse {
    0% { opacity: 0.9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.45); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  .wa-float.is-pulsing::after { animation: none; }
}

/* Espaços reservados: aparecem marcados enquanto config.mostrarEspacosReservados = true. */
.ph-off [data-ph-block] { display: none !important; }
.is-placeholder { color: var(--accent, #7cc6c2) !important; font-style: italic; }
.ph-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-2, #1d2830);
  color: var(--accent, #7cc6c2);
  font-size: var(--step-small, 0.875rem);
  font-weight: 500;
}

/* Pessoa (equipe): foto e nome */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 6px; }
.person { display: grid; grid-template-rows: auto 1fr; background: var(--surface, #172027); }
.person-photo { aspect-ratio: 4 / 5; background: var(--surface-2, #1d2830); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo svg { width: 46%; height: auto; fill: var(--line, #34424b); }
.person-body { display: grid; gap: 6px; align-content: start; padding: 20px 22px 24px; }
.person-name { font-size: var(--step-lead, 1.5rem); line-height: 1.2; font-weight: 500; }
.person-role { color: var(--accent, #7cc6c2); font-weight: 500; }
.person-reg, .person-bio { color: var(--muted, #a7b3ba); }
