/* =========================================================================
   BeamBroker — páginas /diagnostico/ e /agendar/

   Carregado depois de base.css (a base visual copiada do site). Aqui fica
   só o que as cenas novas precisam.
   ========================================================================= */

:root {
  /* Tempos de movimento: as mesmas curvas da home (botões e cenas GSAP). */
  --ease-suave: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-curta: 0.4s;
  --amber: #F5B93B;
  --red: #F06B5B;
  --panel: #0A0C11;
  --line: rgba(255, 255, 255, 0.08);
  --soft-text: rgba(244, 245, 247, 0.56);
  /* Texto pequeno de apoio: contraste ≥ 4,5:1 no fundo escuro e no cartão verde. */
  --muted-text: rgba(244, 245, 247, 0.64);

  /* Escala tipográfica única (≈ 1,125–1,25). Tudo que é texto de página usa
     estes passos; o celular de demonstração tem os tamanhos próprios dele. */
  --fs-micro: 0.75rem;     /* 12px — rótulos de apoio */
  --fs-small: 0.875rem;    /* 14px — notas, metadados, rodapé */
  --fs-body-sm: 0.9375rem; /* 15px — texto em painéis estreitos */
  --fs-body: 1rem;         /* 16px — texto corrido */
  --fs-h3: 1.25rem;        /* 20px — títulos de bloco */

  /* Raios por nível: quanto maior a superfície, maior o raio. */
  --r-sm: 10px;   /* detalhes: logo, link de pular */
  --r-md: 14px;   /* campos, avisos, quadros pequenos */
  --r-lg: 24px;   /* painéis dentro do cartão */
  --r-xl: 40px;   /* o cartão verde, herdado da home */
  --r-pill: 999px; /* só opções e etiquetas de status */
  --green-text: rgba(220, 252, 231, 0.7);
  --gutter: clamp(16px, 4vw, 40px);
}

/* O topo é fixo: rolagens para âncoras e campos param abaixo dele. */
html.pg { scroll-behavior: smooth; scroll-padding-top: 96px; }
.ag-painel { scroll-margin-top: 96px; }
html.pg body { display: block; min-height: 100vh; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pg-skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--fg); color: var(--ink); font-weight: 700;
}
.pg-skip:focus { top: 16px; color: var(--ink); }

/* ---------- Fundo fixo: o mesmo grão e grade da home ------------------ */
.pg-grain { position: fixed; inset: 0; z-index: 90; }
.pg-grid { position: fixed; }

/* ---------- Barra de progresso da leitura ------------------------------ */
.pg-progresso { position: fixed; top: 0; left: 0; right: 0; z-index: 95; height: 2px; pointer-events: none; }
.pg-progresso span {
  display: block;
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--progresso, 0));
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  box-shadow: 0 0 12px rgba(52, 196, 106, 0.6);
}

/* ---------- Topo ------------------------------------------------------- */
.pg-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 3vw, 34px);
  pointer-events: none;
}
.pg-top > * { pointer-events: auto; }
.pg-top::before {
  content: "";
  position: absolute; inset: 0 0 -40px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.96) 0%, rgba(7, 8, 11, 0.85) 55%, rgba(7, 8, 11, 0) 100%);
  opacity: var(--top-shade, 0);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pg-brand { display: flex; align-items: center; border-radius: var(--r-sm); }
.pg-brand img { width: 34px; height: 34px; object-fit: contain; opacity: 0.9; }

.pg-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform var(--dur-curta) var(--ease-suave);
}
.pg-top-link:hover, .pg-top-link:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.12); }
.pg-top-link .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(52, 196, 106, 0.8);
  animation: ch-pulse 2.4s ease-in-out infinite;
}

/* ---------- Tipografia compartilhada ---------------------------------- */
/* Etiqueta de seção: em texto normal (não em maiúsculas espaçadas), com um
   traço curto de luz verde — o mesmo "trilho" do indicador de rolagem da home. */
.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted-text);
}
.pg-eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.pg-eyebrow--green { color: rgba(170, 245, 196, 0.9); }

/* A mesma dupla de linhas do título da home (.text-track / .text-days),
   com nomes próprios para não herdar o estado escondido da cena original. */
.pg-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.pg-line-1 {
  display: block;
  max-width: 20ch;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-shadow: 0 14px 44px rgba(140, 172, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.6);
}
.pg-line-2 {
  display: block;
  max-width: 22ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(244, 245, 247, 0.32) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 12px 24px rgba(120, 150, 220, 0.18));
  padding-bottom: 0.14em;
}

.pg-title {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(244, 245, 247, 0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-wrap: balance;
  padding-bottom: 0.14em;
}

.pg-lead {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--soft-text);
  text-wrap: pretty;
}

.btn { justify-content: center; }
/* Toque: sem atraso de clique duplo e sem o realce azul do navegador
   (os estados :hover/:active/:focus-visible já dão a resposta visual). */
a, button, input, select, textarea, .chip { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* <button> não herda a fonte nem perde a borda sozinho. */
button.btn { font-family: var(--font); border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 18px 30px -12px rgba(0, 0, 0, 0.8);
}
.btn-arrow { transition: transform var(--dur-curta) var(--ease-suave); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =========================================================================
   /operacao/ — Abertura
   ========================================================================= */
.op-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px var(--gutter) 120px;
  text-align: center;
}
/* O brilho é maior que a tela: corta só nas laterais (sem barra de rolagem
   para os lados), deixando ele descer livre na vertical. */
.op-hero { overflow-x: clip; }
.op-hero-conteudo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; will-change: transform; }
/* Brilho verde atrás do título: na rolagem ele desce e se abre (profundidade). */
.op-hero-brilho {
  position: absolute;
  left: 50%; top: 52%;
  width: 70vmax; height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 196, 106, 0.13) 0%, rgba(52, 196, 106, 0.04) 45%, rgba(52, 196, 106, 0) 100%);
  pointer-events: none;
}
.op-hero .pg-lead { max-width: 33rem; margin-top: 26px; }
.op-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}
.op-hero .scroll-hint { position: absolute; }

/* =========================================================================
   Cenas presas à rolagem (mesma mecânica da home: trilho alto + palco
   sticky; a rolagem empurra o progresso de uma timeline pausada).
   ========================================================================= */
.cena { position: relative; z-index: 2; }
.cena-palco { position: relative; }

html.pg-anima .cena { height: var(--cena-len, 320vh); }
html.pg-anima .cena-palco {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1500px;
}

/* ---------- Cena: o problema na prática ------------------------------- */
.cena-problema { --cena-len: 260vh; } /* era 380vh: rolagem ~30% mais curta */

.problema-grid {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px var(--gutter) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}
html.pg-anima .problema-grid { height: 100%; padding-top: 96px; padding-bottom: 72px; }

.problema-beats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 44px; }
/* Animado: os beats ocupam a mesma célula e se revezam. */
html.pg-anima .problema-beats { display: grid; gap: 0; }
html.pg-anima .beat { grid-area: 1 / 1; }

.beat-hora {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  font-variant-numeric: tabular-nums;
}
.beat-hora::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--beat-cor, var(--accent));
  box-shadow: 0 0 10px var(--beat-cor, var(--accent));
}
.beat-hora strong { font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.beat-titulo {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(244, 245, 247, 0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-wrap: balance;
  padding-bottom: 0.14em;
}
.beat p { max-width: 28rem; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; font-weight: 300; color: var(--soft-text); text-wrap: pretty; }
.beat-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(244, 245, 247, 0.72);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.problema-contador {
  display: none;
  margin-top: 34px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(244, 245, 247, 0.35);
  font-variant-numeric: tabular-nums;
}
html.pg-anima .problema-contador { display: flex; align-items: center; gap: 14px; }
.contador-barra { position: relative; width: 120px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.contador-luz { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }

/* A pilha de avisos: o celular do gestor recebendo o que ninguém resolveu. */
.problema-visual { position: relative; display: flex; justify-content: center; }
.avisos {
  position: relative;
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 34px;
}
.avisos-trilho {
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.avisos-luz {
  position: absolute; inset: 0;
  transform-origin: top;
  background: linear-gradient(180deg, var(--accent) 0%, var(--amber) 45%, var(--red) 100%);
}
html.pg-anima .avisos-luz { transform: scaleY(0); }

.aviso.floating-badge { position: relative; top: auto; left: auto; right: auto; bottom: auto; width: 100%; }
.aviso .fb-icon { position: relative; }
.aviso-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aviso-cor, var(--accent)); box-shadow: 0 0 12px var(--aviso-cor, var(--accent)); }
.aviso .fb-text { flex: 1; min-width: 0; }
.aviso .fb-sub { color: var(--muted-text); }
.aviso-tempo {
  flex: none;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--aviso-cor, var(--accent));
  font-variant-numeric: tabular-nums;
}
.aviso--verde { --aviso-cor: var(--accent); }
.aviso--ambar { --aviso-cor: var(--amber); }
.aviso--vermelho { --aviso-cor: var(--red); }
.aviso--cinza { --aviso-cor: #8B93A1; }

/* ---------- Cena: como a BeamBroker entra ------------------------------ */
.cena-solucao { --cena-len: 320vh; } /* era 460vh */

.sol-layer {
  position: relative;
  padding: 24px var(--gutter);
}
html.pg-anima .sol-layer {
  position: absolute;
  inset: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
}

/* O mesmo cartão verde da home (.main-card), sem o estado escondido. */
.sol-card {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(115% 80% at 50% -10%, rgba(96, 222, 144, 0.26) 0%, rgba(96, 222, 144, 0) 58%),
    radial-gradient(90% 70% at 50% 115%, rgba(3, 14, 8, 0.85) 0%, rgba(3, 14, 8, 0) 62%),
    var(--card-green);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 20px 40px -20px rgba(0, 0, 0, 0.8),
              inset 0 1px 2px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.8);
}
html.pg-anima .cena-solucao .sol-card { width: 85vw; height: 85vh; height: 85svh; max-width: none; }

.sol-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.sol-texto .pg-eyebrow { margin-bottom: 14px; }
.sol-texto .pg-title { margin-bottom: 26px; max-width: 15ch; }

.passos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.passo {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.passo:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.passo-num {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(140, 240, 176, 0.75);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.passo h3 {
  font-size: clamp(1.125rem, 1.7vw, 1.4375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.passo h3 small {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(220, 252, 231, 0.5);
}
.passo-desc { overflow: hidden; }
.passo-desc p {
  padding-top: 10px;
  max-width: 30rem;
  font-size: clamp(0.9375rem, 1.1vw, 1.03rem);
  line-height: 1.6;
  color: var(--green-text);
  text-wrap: pretty;
}
.passo-barra {
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-soft), rgba(140, 240, 176, 0));
}

.sol-nota {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  max-width: 31rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(220, 252, 231, 0.6);
}
.sol-nota::before {
  content: "";
  flex: none;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.sol-nota strong { color: #fff; font-weight: 600; }

.sol-mockup {
  position: relative;
  height: clamp(380px, 70vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.sol-mockup-scale {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.86);
}
.sol-mockup .floating-badge--a { top: 318px; left: -110px; }
.sol-mockup .floating-badge--b { top: 150px; bottom: auto; right: -112px; }
.sol-mockup .floating-badge--c { bottom: 64px; right: -96px; }

/* Telas do celular: empilhadas, uma por passo. */
.telas { position: absolute; inset: 0; }
.tela {
  position: absolute;
  inset: 0;
  padding: 40px 11px 64px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tela + .tela { visibility: hidden; opacity: 0; }

.pw-chat-head {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 14px; background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.pw-chat-avatar {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #6FE39A 0%, var(--accent) 100%);
}
.pw-chat-name { display: block; font-size: 10px; font-weight: 700; color: var(--ink); }
.pw-chat-status { display: block; font-size: 7.5px; color: #0E9F62; font-weight: 600; }

.pw-chat { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.pw-msg {
  max-width: 82%;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 8.5px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.pw-msg--in { align-self: flex-start; background: #FFFFFF; color: var(--ink); border-bottom-left-radius: 4px; }
.pw-msg--out { align-self: flex-end; background: #DCF5E7; color: #0B3A21; border-bottom-right-radius: 4px; }
.pw-msg time { display: block; margin-top: 2px; font-size: 6.5px; color: var(--faint); text-align: right; }
.pw-typing { align-self: flex-end; display: flex; gap: 3px; padding: 8px 10px; border-radius: 12px; background: #DCF5E7; }
.pw-typing span { width: 4px; height: 4px; border-radius: 50%; background: #0E9F62; animation: ch-pulse 1.2s ease-in-out infinite; }
.pw-typing span:nth-child(2) { animation-delay: 0.2s; }
.pw-typing span:nth-child(3) { animation-delay: 0.4s; }

.pw-chip--blue { background: #E8EFFF; color: var(--blue); }
.pw-chip--blue .pw-chip-dot { background: var(--blue); }
.pw-chip--amber { background: #FDF1D6; color: #9A6A06; }
.pw-chip--amber .pw-chip-dot { background: var(--amber); }
.pw-chip--red { background: #FDE6E3; color: #B53A2C; }
.pw-chip--red .pw-chip-dot { background: var(--red); }

.pw-hist { display: flex; flex-direction: column; gap: 6px; }
.pw-hist-item {
  display: grid; grid-template-columns: 30px 1fr; gap: 6px;
  padding: 7px 8px; border-radius: 12px; background: #FFFFFF; border: 1px solid #ECEEF2;
}
.pw-hist-item time { font-size: 7.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pw-hist-item span { font-size: 8px; line-height: 1.4; color: var(--ink); }
.pw-hist-item--blue { background: #EEF4FF; border-color: #C3D6FF; }

.pw-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pw-col { padding: 6px; border-radius: 10px; background: #FFFFFF; border: 1px solid #ECEEF2; }
.pw-col b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.pw-col span { display: block; font-size: 6.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }

.pw-secao { display: flex; align-items: center; justify-content: space-between; margin: 3px 2px -2px; font-size: 7.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pw-secao b { font-size: 8px; color: var(--ink); }
.pw-secao--red { color: #B53A2C; }
.pw-resumo { display: flex; gap: 5px; }
.pw-resumo span { flex: 1; padding: 6px 7px; border-radius: 10px; background: #FFFFFF; border: 1px solid #ECEEF2; font-size: 7px; font-weight: 600; color: var(--muted); }
.pw-resumo b { display: block; font-size: 10px; color: var(--ink); }
.pw-tag { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #FDF1D6; color: #9A6A06; font-size: 7px; font-weight: 700; }
.pw-task {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px; border-radius: 12px; background: #FFFFFF; border: 1px solid #ECEEF2;
}
.pw-task strong { display: block; font-size: 8.5px; font-weight: 600; color: var(--ink); }
.pw-task small { display: block; margin-top: 1px; font-size: 7.5px; color: var(--muted); }
.pw-task .pw-chip { padding: 3px 7px; font-size: 7px; flex: none; }

/* Ponte entre as cenas: a mesma frase de respiro da home ("Calma…"),
   que o cartão verde cobre ao subir. */
.sol-ponte {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter) 40px;
  text-align: center;
}
html.pg-anima .sol-ponte { position: absolute; inset: 0; align-items: center; padding-bottom: 0; }
.sol-ponte-inner { display: flex; flex-direction: column; align-items: center; }
.sol-ponte .pg-headline { font-size: clamp(1.875rem, 4.6vw, 3.75rem); }
.sol-ponte .pg-lead { max-width: 34rem; margin-top: 22px; }


.sol-legenda {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(220, 252, 231, 0.55);
}

/* ---------- /privacidade/ --------------------------------------------- */
.priv {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px var(--gutter) clamp(64px, 8vw, 96px);
}
.priv-topo { margin-bottom: clamp(36px, 5vw, 52px); }
.priv-topo .pg-title { margin-bottom: 18px; }
.priv-data { margin-top: 14px; font-size: var(--fs-small); color: var(--muted-text); }
.priv section { padding: 26px 0; border-top: 1px solid var(--line); }
.priv h2 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.priv p, .priv li { font-size: 1rem; line-height: 1.7; color: var(--soft-text); text-wrap: pretty; }
.priv p + p, .priv ul + p, .priv p + ul { margin-top: 12px; }
.priv ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.priv strong { color: rgba(244, 245, 247, 0.9); font-weight: 600; }
.priv a:not(.btn) { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.priv-voltar { margin-top: 32px; display: flex; justify-content: center; }

/* Títulos com degradê e altura de linha 1 (como o .cta-title da base):
   folga embaixo para o degradê não cortar g, p, ç. */
.cta-title { padding-bottom: 0.12em; }
.op-convite .cta-sub { margin-inline: auto; }

/* ---------- Maitê: fecho da solução com a mascote ---------------------
   Três camadas com profundidade: brilho (fundo), imagem (meio) e selo
   (frente), cada uma com um fator de paralaxe próprio em cenas.js. */
.maite {
  position: relative;
  z-index: 2;
  overflow-x: clip; /* as fatias começam fora do lugar: não podem alargar a página */
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.maite-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
}
.maite-brilho {
  position: absolute;
  inset: 8% 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 196, 106, 0.32) 0%, rgba(52, 196, 106, 0.08) 55%, rgba(52, 196, 106, 0) 100%);
  filter: blur(24px);
  animation: maite-respira 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes maite-respira { 0%, 100% { opacity: 0.75; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
/* As quatro camadas da arte, empilhadas no mesmo quadro (589 × 845). */
.maite-arte {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  aspect-ratio: 589 / 845;
  transform-style: preserve-3d;
}
.maite-camada { position: absolute; inset: 0; width: 100%; height: 100%; }
/* O selo fica na área vazia à esquerda, sem cobrir o rosto nem a marca. */
.maite-selo.floating-badge { position: absolute; z-index: 2; left: -10%; top: auto; bottom: 25%; right: auto; }
.maite-selo-foto { overflow: hidden; padding: 0; }
.maite-selo-foto img { width: 100%; height: 100%; object-fit: cover; }
.maite-texto .pg-eyebrow { margin-bottom: 14px; }
.maite-texto .pg-title { margin-bottom: 22px; }
.maite-texto .pg-lead { max-width: 32rem; }

.pw-chat-avatar { overflow: hidden; }
.pw-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   Sem animação (reduzir movimento ou sem JS): tudo numa coluna central,
   para a leitura ficar harmônica em vez de encostada num canto.
   ========================================================================= */
html:not(.pg-anima) .problema-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 760px;
  text-align: center;
  gap: 48px;
}
html:not(.pg-anima) .problema-beats { gap: 56px; align-items: center; }
html:not(.pg-anima) .beat p { margin-inline: auto; }
html:not(.pg-anima) .beat-titulo { max-width: 18ch; margin-inline: auto; }
html:not(.pg-anima) .problema-visual { width: 100%; }
html:not(.pg-anima) .avisos { margin: 0 auto; text-align: left; }
html:not(.pg-anima) .sol-texto .pg-title { max-width: 18ch; }

/* =========================================================================
   /operacao/ — O diagnóstico e o convite
   ========================================================================= */
.op-secao {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(96px, 14vw, 168px) var(--gutter) 0;
}
.op-secao-head { max-width: 44rem; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.op-secao-head .pg-title { margin-inline: auto; }
.op-secao-head .pg-lead { margin: 18px auto 0; }
.op-secao .diag-lista { max-width: 1000px; margin-inline: auto; }

.diag-lista { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.diag-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
/* Linha verde que se desenha quando a etapa aparece. */
.diag-linha {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(52, 196, 106, 0) 70%);
  opacity: 0.8;
}
html:not(.pg-anima) .diag-linha { display: none; }
.diag-num {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.diag-item h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: #fff; text-wrap: balance; }
.diag-item p { font-size: clamp(1rem, 1.2vw, 1.0625rem); line-height: 1.65; color: var(--soft-text); text-wrap: pretty; }
.diag-fecho {
  margin: clamp(36px, 5vw, 56px) auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: rgba(244, 245, 247, 0.86);
  text-wrap: pretty;
}
.diag-fecho span { color: var(--accent-soft); }

.op-convite {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(120px, 18vw, 220px) var(--gutter) clamp(96px, 12vw, 150px);
  text-align: center;
}
.op-convite .cta-title { margin-bottom: 20px; }
.op-convite .cta-sub { margin-bottom: 40px; }
.op-convite .cta-actions { gap: 14px; }

.pg-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-small);
  color: var(--muted-text);
}
.pg-footer-marca { display: flex; flex-direction: column; gap: 3px; }
.pg-footer-marca strong { font-size: var(--fs-body-sm); font-weight: 700; color: var(--fg); }
.pg-footer-marca small { margin-top: 4px; font-size: var(--fs-micro); color: var(--muted-text); }
.pg-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pg-footer a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(244, 245, 247, 0.78); }
.pg-footer a:hover { color: #fff; }

/* =========================================================================
   /agendar/
   ========================================================================= */
.ag-main {
  position: relative;
  z-index: 2;
  padding: 116px var(--gutter) clamp(64px, 8vw, 96px);
}
.ag-hero { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.ag-hero .pg-headline { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.ag-hero .pg-lead { max-width: 36rem; margin-top: 22px; }

.ag-card { max-width: 1180px; }
.ag-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.ag-info h2 {
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
/* Mesma linguagem das etapas do diagnóstico na página da bio: número,
   título e texto separados por fios, sem ícones nem caixas. */
.ag-lista { margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ag-lista li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ag-num { padding-top: 2px; font-size: var(--fs-small); font-weight: 700; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.ag-lista strong { display: block; font-size: var(--fs-body); font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.ag-lista span { display: block; margin-top: 4px; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--green-text); }
/* Para quem é: uma nota com fio de destaque, não mais um quadro dentro do cartão. */
.ag-quem {
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--green-text);
}

/* ---------- Painel do formulário (mesma pele das badges da home) ------ */
.ag-painel {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  padding: clamp(22px, 3vw, 34px);
}

.ag-etapas { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.ag-etapa {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-text);
}
.ag-etapa::before { content: ""; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); transition: background 0.5s ease; }
.ag-etapa[aria-current="step"], .ag-etapa.is-feita { color: rgba(244, 245, 247, 0.85); }
.ag-etapa-num { margin-right: 4px; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.ag-etapa[aria-current="step"]::before, .ag-etapa.is-feita::before { background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }

.ag-passo[hidden] { display: none; }
.ag-passo h3 { margin-bottom: 6px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.ag-passo > p { margin-bottom: 22px; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--soft-text); }
.ag-passo h3:focus { outline: none; }

.ag-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.campo { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.campo--full { grid-column: 1 / -1; }
.campo label, .campo legend {
  font-size: var(--fs-small);
  font-weight: 600;
  color: rgba(244, 245, 247, 0.78);
}
.campo .opc { font-weight: 400; color: var(--muted-text); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font: 500 1rem/1.3 var(--font);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.campo textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.campo select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA2AF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.campo select option { background: #11141B; color: var(--fg); }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(244, 245, 247, 0.42); }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: rgba(255, 255, 255, 0.18); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  border-color: rgba(140, 240, 176, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(52, 196, 106, 0.16);
}
.campo [aria-invalid="true"] { border-color: rgba(240, 107, 91, 0.75); }
.campo-erro { min-height: 0; font-size: var(--fs-small); font-weight: 500; color: #FF9A8C; }
.campo-erro:empty { display: none; }

.campo fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.campo legend { margin-bottom: 9px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(244, 245, 247, 0.72);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.chip input:hover + span { border-color: rgba(255, 255, 255, 0.24); }
.chip input:checked + span {
  color: #06210F;
  border-color: transparent;
  background: linear-gradient(180deg, #6FE39A 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.chip input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
.chips[aria-invalid="true"] .chip span { border-color: rgba(240, 107, 91, 0.6); }

.campo-outra[hidden] { display: none; }

.ag-rodape { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.ag-rodape .btn { width: 100%; }
.ag-privacidade { font-size: var(--fs-small); line-height: 1.55; color: var(--muted-text); }
.ag-privacidade a { color: rgba(244, 245, 247, 0.85); text-decoration: underline; text-underline-offset: 3px; }
.ag-privacidade a { color: rgba(244, 245, 247, 0.7); text-decoration: underline; text-underline-offset: 2px; }

.ag-resumo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.875rem;
}
.ag-resumo dt { color: var(--muted-text); }
.ag-resumo dd { margin: 0; color: var(--fg); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

.ag-ok { text-align: center; padding: 18px 4px 6px; }
.ag-agenda { margin: 4px -6px 0; }
.ag-agenda-frame {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  border-radius: var(--r-md);
  background: #fff;
}
.ag-agenda-alt { margin-top: 14px; }
.ag-link { display: inline-block; max-width: 22rem; font-weight: 700; font-size: 0.9375rem; line-height: 1.45; color: var(--accent-soft); text-wrap: balance; }
.ag-link:hover { color: #fff; }

/* Armadilha para robôs: fora da tela, invisível para pessoas. */
.campo-armadilha { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ag-erro-envio {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(240, 107, 91, 0.1);
  border: 1px solid rgba(240, 107, 91, 0.35);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
  color: #FFB3A8;
}
.ag-erro-envio[hidden] { display: none; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.ag-ok-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6FE39A 0%, var(--accent) 100%);
  box-shadow: 0 12px 28px -4px rgba(52, 196, 106, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

/* =========================================================================
   Estado inicial das animações — só com JS e sem "reduzir movimento".
   `pg-anima` é marcado no <head>; se o GSAP falhar, o JS remove a classe.
   ========================================================================= */
html.pg-anima [data-intro],
html.pg-anima [data-revela] { visibility: hidden; }

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 900px) {
  .pg-top { padding: 16px 16px; }
  .pg-brand img { width: 28px; height: 28px; }
  .pg-top-link { min-height: 44px; padding: 0 14px; font-size: var(--fs-small); }

  .op-hero { padding-top: 96px; }
  .op-hero-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .op-hero-actions .btn { width: 100%; }

  .problema-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Animado no celular: texto e pilha numa coluna centralizada; a altura
     da pilha é calculada em continuacao.js (3 avisos, ou 2 em telas baixas). */
  html.pg-anima .problema-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding-top: 84px;
    padding-bottom: 28px;
  }
  html.pg-anima .problema-visual { flex: none; }
  .beat-titulo { font-size: clamp(1.875rem, 8.4vw, 2.5rem); margin-bottom: 10px; }
  .beat p { font-size: var(--fs-body); }
  .beat-tag { margin-top: 12px; }
  .problema-contador { margin-top: 18px; }
  .problema-visual { align-items: flex-start; }
  /* Os avisos antigos sobem e somem: corta só o que passa do topo da área. */
  html.pg-anima .problema-visual { clip-path: inset(0 -100vw -30px -100vw); padding-top: 4px; }
  .avisos { gap: 10px; padding-left: 26px; }
  .avisos-trilho { left: 6px; }
  .aviso.floating-badge { padding: 11px 13px; gap: 10px; }
  .aviso .fb-icon { width: 28px; height: 28px; }

  .sol-layer { padding: 16px 12px; }
  .sol-card { border-radius: 32px; }
  .sol-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
    gap: 6px;
    padding: 26px 18px 18px;
  }
  html.pg-anima .sol-grid { padding-top: 76px; }
  .sol-texto .pg-title { font-size: 1.5rem; margin-bottom: 12px; max-width: none; }
  .sol-texto .pg-eyebrow { margin-bottom: 8px; }
  .passo { grid-template-columns: 30px minmax(0, 1fr); padding: 10px 0; }
  .passo-num { padding-top: 3px; font-size: 0.75rem; }
  .passo h3 { font-size: 1.0625rem; }
  .passo h3 small { display: none; }
  .passo-desc p { padding-top: 6px; font-size: 0.875rem; line-height: 1.5; }
  .sol-nota { margin-top: 12px; font-size: 0.8125rem; }
  .sol-mockup { height: 520px; }
  html.pg-anima .sol-mockup { height: 100%; min-height: 0; }
  .sol-mockup .floating-badge { gap: 9px; padding: 10px 12px; border-radius: var(--r-md); }
  .sol-mockup .floating-badge--a { top: 300px; left: -24px; }
  .sol-mockup .floating-badge--b { top: 130px; bottom: auto; right: -24px; }
  .sol-mockup .floating-badge--c { bottom: 56px; right: -24px; }
  .sol-legenda { bottom: 4px; font-size: 0.625rem; }
  .maite { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .maite-arte { width: min(78vw, 340px); }
  .maite-texto .pg-title, .maite-texto .pg-lead { margin-inline: auto; }
  .maite-selo.floating-badge { left: 0; right: 0; top: 0; bottom: auto; width: max-content; margin: 0 auto; text-align: left; }
  .maite-visual { padding-top: 28px; }
  .sol-mockup .fb-icon { width: 26px; height: 26px; }
  .sol-mockup .fb-icon img { width: 15px; height: 15px; }
  .sol-mockup .fb-title { font-size: 0.75rem; }
  .sol-mockup .fb-sub { font-size: 0.6875rem; }

  .diag-item { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; padding: 24px 0; }
  .diag-item p { grid-column: 2; font-size: var(--fs-body); }

  .op-convite .cta-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .op-convite .btn { width: 100%; }

  .ag-main { padding-top: 96px; }
  .ag-grid { grid-template-columns: 1fr; padding: 22px 16px 16px; }
  .ag-card.sol-card { border-radius: 32px; }
  .ag-painel { border-radius: 20px; padding: 22px 18px; } /* concêntrico ao cartão de 32px com 16px de margem */
  .ag-form { grid-template-columns: 1fr; }
  .ag-agenda { margin: 4px -8px 0; }
  .ag-agenda-frame { height: 980px; }
}

/* Em telas baixas, a cena da solução abre mão do subtítulo dos passos e da nota. */
@media (max-width: 900px) and (max-height: 740px) {
  html.pg-anima .sol-nota { display: none; }
  html.pg-anima .sol-texto .pg-eyebrow { display: none; }
  html.pg-anima .beat p { font-size: 0.9375rem; line-height: 1.5; }
}

@media (max-width: 380px) {
  .ag-resumo { grid-template-columns: 1fr; }
}

/* Tablet em pé: o layout já é de uma coluna, mas sobra largura. Segura o texto
   e os avisos num bloco central, como a home faz com o cartão nessa faixa. */
@media (min-width: 600px) and (max-width: 900px) {
  .problema-texto, .problema-visual, .sol-texto { width: 100%; max-width: 600px; margin-inline: auto; }
  /* Avisos começam na mesma margem do texto, não centralizados por conta própria. */
  .problema-visual { justify-content: flex-start; }
  html.pg-anima .problema-grid { align-items: stretch; }
}

/* Telas baixas no celular: a cena da solução encolhe o texto dos passos e,
   como a home faz com o "SIMPLES", abre mão dos selos e da legenda. */
@media (max-width: 900px) and (max-height: 700px) {
  html.pg-anima .sol-mockup .floating-badge,
  html.pg-anima .sol-legenda { display: none; }
  html.pg-anima .passo-desc p { font-size: 0.8125rem; line-height: 1.45; }
  html.pg-anima .sol-texto .pg-title { font-size: 1.25rem; }
  html.pg-anima .passo { padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.pg { scroll-behavior: auto; }
  .maite-brilho { animation: none; }
  .pg-top-link .dot, .pw-typing span { animation: none; }
}
