/* ==========================================================================
   AEVUS CORP — Engenharia de Agentes Comerciais B2B
   Mobile-First CSS (Padrão Blueprint GioSaude + Modern Web Guidance)
   ========================================================================== */

:root {
  --gs-azul: #1d4ed8;
  --gs-azul-escuro: #1e3a8a;
  --gs-verde: #10b981;
  --gs-agua: #06b6d4;
  --gs-roxo: #6366f1;
  --gs-tinta: #0f172a;
  --gs-texto: #334155;
  --gs-suave: #64748b;
  --gs-linha: #e2e8f0;
  --gs-fundo: #f1f5f9;
  --gs-card: #ffffff;
  --gs-campo: #f8fafc;
  --gs-raio: 1.15rem;
  --gs-sombra: 0 1px 3px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --gs-sombra-forte: 0 4px 12px rgba(15, 23, 42, .08), 0 20px 44px rgba(15, 23, 42, .14);
  --gs-gradiente: linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #0d9488 100%);
  --gs-gradiente-ia: linear-gradient(135deg, #1e1b4b 0%, #4338ca 55%, #0d9488 100%);

  --altura-abas: 66px;
  --largura-lateral: 274px;

  --bs-primary: var(--gs-azul);
  --bs-primary-rgb: 29, 78, 216;
  --bs-success: var(--gs-verde);
  --bs-success-rgb: 16, 185, 129;
  --bs-body-color: var(--gs-texto);
  --bs-body-bg: var(--gs-fundo);
  --bs-emphasis-color: var(--gs-tinta);
  --bs-secondary-color: var(--gs-suave);
  --bs-border-color: var(--gs-linha);
  --bs-border-radius: .75rem;
  --bs-border-radius-sm: .5rem;
  --bs-border-radius-lg: 1rem;
  --bs-link-color: var(--gs-azul);
  --bs-link-hover-color: var(--gs-azul-escuro);
  --bs-focus-ring-color: rgba(29, 78, 216, .25);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overscroll-behavior-y: none; background: var(--gs-fundo) !important; color: var(--gs-texto); }
button, a, label, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.min-w-0 { min-width: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--gs-tinta); }

/* Prevenção de auto-zoom no iOS Safari */
input, select, textarea { font-size: max(16px, 1rem); }

/* ---------- Cartões e Componentes Base ---------- */
.card {
  border: 1px solid var(--gs-linha);
  border-radius: var(--gs-raio);
  box-shadow: var(--gs-sombra);
  background: var(--gs-card);
}
.card-body { padding: 1.25rem; }
.painel { background: var(--gs-card); border: 1px solid var(--gs-linha); border-radius: var(--gs-raio); box-shadow: var(--gs-sombra); }
.painel-corpo { padding: 1rem; }
.painel-titulo { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }

.form-label { font-weight: 600; font-size: .875rem; color: var(--gs-tinta); margin-bottom: .35rem; }
.form-control, .form-select {
  background-color: var(--gs-campo); border: 1px solid var(--gs-linha); border-radius: .75rem;
  min-height: 46px; color: var(--gs-tinta);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.form-control:focus, .form-select:focus {
  background-color: #fff; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
textarea.form-control { min-height: 92px; }

.btn { border-radius: .75rem; font-weight: 600; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 52px; font-size: 1rem; }
.btn-toque { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-primary {
  --bs-btn-bg: var(--gs-azul); --bs-btn-border-color: var(--gs-azul);
  --bs-btn-hover-bg: var(--gs-azul-escuro); --bs-btn-hover-border-color: var(--gs-azul-escuro);
  background-image: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,0));
  box-shadow: 0 6px 16px rgba(29, 78, 216, .24);
}
.btn-suave {
  --bs-btn-color: var(--gs-azul); --bs-btn-bg: #eff6ff; --bs-btn-border-color: #dbeafe;
  --bs-btn-hover-bg: #dbeafe; --bs-btn-hover-color: var(--gs-azul-escuro);
}
.btn-fantasma {
  --bs-btn-color: var(--gs-suave); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #e2e8f0; --bs-btn-hover-color: var(--gs-tinta);
}
.btn-icone { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-icone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.alert { border: 0; border-radius: .9rem; }
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-info { background: #eff6ff; color: #1e40af; }

.selo { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #f1f5f9; color: var(--gs-suave); }
.selo-ok { background: #ecfdf5; color: #047857; }
.selo-aviso { background: #fffbeb; color: #b45309; }
.selo-azul { background: #eff6ff; color: #1d4ed8; }
.selo-roxo { background: #eef2ff; color: #4338ca; }
.selo-quente { background: #fef2f2; color: #dc2626; }

/* ---------- Cabeçalho das Seções ---------- */
.secao-topo { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.15rem; flex-wrap: wrap; }
.secao-topo > .min-w-0 { flex: 1 1 12rem; }
.secao-icone {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
}
.secao-icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cor-azul { background: var(--gs-gradiente); }
.cor-verde { background: linear-gradient(135deg, #059669, #10b981); }
.cor-roxo { background: var(--gs-gradiente-ia); }
.cor-ambar { background: linear-gradient(135deg, #d97706, #f59e0b); }
.secao-titulo { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.2; }
.secao-sub { margin: .15rem 0 0; color: var(--gs-suave); font-size: .875rem; }

/* ---------- Layout Mobile-First & Navegação Dupla ---------- */
.app { min-height: 100vh; min-height: 100dvh; }
.lateral { display: contents; }
.lateral-marca, .paciente-card, .lateral-usuario { display: none; }

.topo-movel {
  position: sticky; top: 0; z-index: 1030;
  display: flex; align-items: center; gap: .5rem;
  padding: calc(.6rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .6rem max(1rem, env(safe-area-inset-left));
  background: rgba(241, 245, 249, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
}
.entrada-logo {
  width: 58px; height: 58px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gs-gradiente);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .25);
}
.entrada-logo svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.entrada-logo.logo-mini { width: 38px; height: 38px; border-radius: 12px; margin: 0; }
.entrada-logo.logo-mini svg { width: 20px; height: 20px; }
.topo-titulo { font-weight: 800; color: var(--gs-tinta); line-height: 1.1; letter-spacing: -.01em; }
.topo-paciente { font-size: .74rem; color: var(--gs-suave); max-width: 60vw; }

.conteudo-principal {
  padding: 1rem max(1rem, env(safe-area-inset-right)) calc(var(--altura-abas) + env(safe-area-inset-bottom) + 2rem) max(1rem, env(safe-area-inset-left));
}
.carregando-inicial { display: flex; justify-content: center; padding: 4rem 0; }

.barra-carregando {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1090;
  background: linear-gradient(90deg, transparent, var(--gs-azul), var(--gs-verde), transparent);
  background-size: 50% 100%; background-repeat: no-repeat;
  animation: carregando 1s linear infinite;
  pointer-events: none;
}
@keyframes carregando { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* Barra inferior flutuante no celular */
.abas {
  position: fixed; z-index: 1030;
  left: max(.65rem, env(safe-area-inset-left)); right: max(.65rem, env(safe-area-inset-right));
  bottom: calc(.55rem + env(safe-area-inset-bottom));
  display: flex; padding: .35rem;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(226, 232, 240, .95); border-radius: 1.35rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.aba {
  flex: 1; min-width: 0; min-height: calc(var(--altura-abas) - .7rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; color: var(--gs-suave); border-radius: 1rem;
  padding: 0 2px; font-size: .66rem; font-weight: 600;
  transition: background .15s, color .15s;
}
.aba > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aba svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aba.active { color: var(--gs-azul); background: #eff6ff; }
.badge-aba { position: absolute; top: -6px; right: -10px; font-size: .625rem; }
@media (max-width: 991.98px) { .aba.so-lateral { display: none; } }

/* ---------- Modal / Bottom Sheet Nativo (<dialog>) com Scroll Containment ---------- */
dialog:modal {
  overscroll-behavior: contain;
}
dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.folha {
  border: 0; padding: 0; width: 100%; max-width: 100%; max-height: 92vh; margin: auto auto 0;
  border-radius: 1.5rem 1.5rem 0 0; box-shadow: 0 -10px 40px rgba(15, 23, 42, .28);
}
.folha[open] { animation: subir .22s ease-out; }
@keyframes subir { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.folha-form { padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); display: grid; gap: .65rem; }
@media (min-width: 768px) {
  .folha { max-width: 540px; margin: auto; border-radius: 1.5rem; }
}

/* ---------- Tabelas Responsivas com Container Queries (Modern Web Guidance) ---------- */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 78vh);
  container-type: inline-size;
  border-radius: .9rem;
  border: 1px solid var(--gs-linha);
  background: #fff;
}
.table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}
.table-wrapper caption {
  caption-side: top;
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--gs-suave);
  border-bottom: 1px solid var(--gs-linha);
}
.table-wrapper thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #f8fafc;
}
.table-wrapper th, .table-wrapper td {
  padding: .75rem .9rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}
.table-wrapper tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #ffffff;
  font-weight: 700;
  color: var(--gs-tinta);
}
@container (width < 600px) {
  .table-wrapper table, .table-wrapper thead, .table-wrapper tbody, .table-wrapper tr, .table-wrapper th, .table-wrapper td {
    display: block;
  }
  .table-wrapper thead {
    display: none;
  }
  .table-wrapper tr {
    margin-block-end: 1rem;
    border: 1px solid var(--gs-linha);
    border-radius: .75rem;
    overflow: hidden;
  }
  .table-wrapper tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #f1f5f9;
  }
  .table-wrapper td:nth-child(2)::before { content: var(--label-2, "") ": "; font-weight: 700; color: var(--gs-suave); }
  .table-wrapper td:nth-child(3)::before { content: var(--label-3, "") ": "; font-weight: 700; color: var(--gs-suave); }
  .table-wrapper td:nth-child(4)::before { content: var(--label-4, "") ": "; font-weight: 700; color: var(--gs-suave); }
  .table-wrapper td:nth-child(5)::before { content: var(--label-5, "") ": "; font-weight: 700; color: var(--gs-suave); }
}

/* ---------- KPIs, WhatsApp Chat & Oráculo ---------- */
.kpi-card {
  padding: 1.15rem; border-radius: var(--gs-raio); background: #fff;
  border: 1px solid var(--gs-linha); box-shadow: var(--gs-sombra);
}
.kpi-valor { font-size: 1.7rem; font-weight: 800; color: var(--gs-tinta); letter-spacing: -.03em; line-height: 1.1; }
.kpi-rotulo { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gs-suave); margin-bottom: .35rem; }

.chat-container {
  display: flex; flex-direction: column; gap: .75rem;
  max-height: 460px; overflow-y: auto; padding: 1rem;
  background: #f8fafc; border: 1px solid var(--gs-linha); border-radius: 1rem;
}
.bolha {
  max-width: 88%; padding: .85rem 1rem; border-radius: 1rem;
  font-size: .92rem; line-height: 1.48; position: relative;
}
.bolha-cliente {
  align-self: flex-start; background: #ffffff; border: 1px solid var(--gs-linha);
  border-bottom-left-radius: .25rem; color: var(--gs-tinta);
}
.bolha-ia {
  align-self: flex-end; background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff; border-bottom-right-radius: .25rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18);
}
.bolha-humano {
  align-self: flex-end; background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46; border-bottom-right-radius: .25rem;
}
.bolha-meta { font-size: .72rem; opacity: .82; margin-bottom: .3rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }

.lead-item {
  display: block; width: 100%; text-align: left; padding: .85rem 1rem;
  border: 1px solid var(--gs-linha); border-radius: .95rem; background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.lead-item:hover { border-color: #93c5fd; }
.lead-item.ativo { border-color: var(--gs-azul); background: #eff6ff; box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }

.cofre-card {
  border-left: 4px solid var(--gs-azul);
}
.codigo-pix {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .78rem; background: #0f172a; color: #38bdf8;
  padding: .65rem .85rem; border-radius: .65rem; word-break: break-all;
}

/* ---------- Site de Oferta Comercial Pública (Landing Page B2B Aevus Corp) ---------- */
.aevus-landing {
  background: #070b14;
  color: #e2e8f0;
  min-height: 100vh;
}
.aevus-hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(29, 78, 216, .35), transparent 42%),
    radial-gradient(circle at 85% 25%, rgba(16, 185, 129, .22), transparent 40%),
    linear-gradient(180deg, #070b14 0%, #0f172a 100%);
  padding: 2.5rem 1rem 4rem;
  border-bottom: 1px solid rgba(148, 163, 184, .15);
}
.aevus-nav {
  max-width: 1200px; margin: 0 auto 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.aevus-brand {
  display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff;
  font-weight: 900; font-size: 1.35rem; letter-spacing: .04em;
}
.aevus-badge-topo {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem; border-radius: 999px;
  background: rgba(29, 78, 216, .25); border: 1px solid rgba(96, 165, 250, .4);
  color: #93c5fd; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.aevus-hero-titulo {
  color: #ffffff; font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.12; margin: 1rem 0 1.25rem;
}
.aevus-grad-texto {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.aevus-pilar-card {
  background: rgba(15, 23, 42, .85);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 1.25rem; padding: 1.75rem; height: 100%;
  color: #cbd5e1;
  transition: transform .2s, border-color .2s;
}
@media (hover: hover) {
  .aevus-pilar-card:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, .5); }
}
.aevus-pilar-card h3 { color: #ffffff; font-size: 1.22rem; font-weight: 800; margin: .85rem 0 .65rem; }
.aevus-pilar-num {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0d9488);
}
.aevus-painel-vidro {
  background: rgba(15, 23, 42, .9);
  border: 1px solid rgba(96, 165, 250, .3);
  border-radius: 1.35rem; padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

/* ---------- Utilitários Gerais ---------- */
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #dbeafe; color: var(--gs-azul); font-weight: 700; text-transform: uppercase;
}
.acoes { display: grid; gap: .1rem; max-height: 420px; overflow-y: auto; }
.acoes-auditoria { max-height: none; }
.acao { display: flex; gap: .75rem; padding: .55rem 0; border-top: 1px solid #eef2f7; font-size: .875rem; }
.acao-quando { flex-shrink: 0; width: 7.5rem; color: var(--gs-suave); font-size: .78rem; padding-top: .1rem; }
.texto { white-space: pre-line; overflow-wrap: anywhere; }

.toast-erro {
  position: fixed; z-index: 1080;
  left: .75rem; right: .75rem;
  bottom: calc(var(--altura-abas) + env(safe-area-inset-bottom) + 1.25rem);
  border-radius: 1rem;
}
.htmx-indicator:not(.barra-carregando) { display: none; }
.htmx-request .htmx-indicator:not(.barra-carregando),
.htmx-request.htmx-indicator:not(.barra-carregando) { display: inline-block; }

/* ---------- Desktop (>= 992px): Sidebar Fixa ---------- */
@media (min-width: 992px) {
  .app { display: grid; grid-template-columns: var(--largura-lateral) minmax(0, 1fr); }
  .topo-movel { display: none; }

  .lateral {
    display: flex; flex-direction: column; gap: 1.15rem;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    padding: 1.4rem 1rem;
    background: #ffffff; border-right: 1px solid var(--gs-linha);
  }
  .lateral-marca {
    display: flex; align-items: center; gap: .65rem; padding: 0 .4rem;
    font-weight: 900; font-size: 1.2rem; color: var(--gs-tinta); text-decoration: none; letter-spacing: -.02em;
  }
  .paciente-card {
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem; border-radius: 1rem; color: #fff;
    background: var(--gs-gradiente); box-shadow: 0 10px 24px rgba(15, 23, 42, .2);
  }
  .paciente-avatar {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .18); font-weight: 800; font-size: .9rem;
  }
  .paciente-rotulo { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .82; font-weight: 700; }
  .paciente-nome { font-weight: 800; line-height: 1.2; font-size: .95rem; }
  .paciente-cpf { font-size: .74rem; opacity: .88; }

  .abas {
    position: static; flex-direction: column; gap: .25rem; padding: 0;
    background: none; border: 0; box-shadow: none; border-radius: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .aba {
    display: flex; flex: none; min-height: 45px; flex-direction: row; justify-content: flex-start; gap: .75rem;
    padding: .55rem .85rem; border-radius: .85rem; font-size: .92rem; color: var(--gs-texto);
  }
  .aba svg { width: 20px; height: 20px; }
  .aba:hover { background: #f1f5f9; color: var(--gs-tinta); }
  .aba.active { background: #eff6ff; color: var(--gs-azul); }
  .aba.active::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--gs-azul); margin-left: -.85rem; margin-right: -.35rem; }

  .lateral-usuario {
    display: flex; align-items: center; gap: .6rem; margin-top: auto;
    padding: .75rem; border-radius: 1rem; background: var(--gs-campo); border: 1px solid var(--gs-linha);
  }
  .conteudo-principal { padding: 2rem 2.5rem 3rem; max-width: 1340px; width: 100%; }
  .toast-erro { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 420px; }
}

/* ---------- Telas de Entrada / Aguardando / Legal ---------- */
.tela-entrada {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}
.login-card { width: 100%; max-width: 440px; border-radius: 1.25rem; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 50px; font-weight: 700;
  background: #fff; color: #0f172a;
  border: 1px solid #cbd5e1; border-radius: .75rem;
}
.btn-google:hover { background: #f8fafc; color: #0f172a; }
.btn-google svg { width: 22px; height: 22px; flex-shrink: 0; }
.pagina-legal { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.pagina-legal article { background: #fff; border-radius: 1.25rem; padding: 2rem; box-shadow: var(--gs-sombra); }
.links-legais { display: flex; justify-content: center; gap: .6rem; font-size: .82rem; color: #94a3b8; }
.links-legais a { color: #93c5fd; text-decoration: none; }
.links-legais a:hover { text-decoration: underline; }
