/* Pagina publica (institucional) da LAS: tema claro com as cores da SOServices.
   Vale tambem para /termos.html e /privacidade.html. Independe do tema escuro da aplicacao. */
.lp {
  --lp-bg: #f6f8fb;
  --lp-surface: #ffffff;
  --lp-text: #1f2b3c;
  --lp-muted: #5b6b80;
  --lp-soft: #7a889b;
  --lp-line: #e3e8ef;
  --lp-brand: #e5304f;
  --lp-brand-dark: #c51f42;
  --lp-brand-tint: #fdecef;
  --lp-navy: #24303f;
  --lp-navy-2: #34465e;
  --lp-blue-tint: #eef3fb;
  --lp-ok: #1f9d6b;
  --lp-warn: #e19a1c;
  --lp-shadow: 0 7px 24px rgba(31, 43, 60, .06);
  --lp-max: 1180px;
  color: var(--lp-text);
  background: var(--lp-bg);
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.login-screen.lp { display: flex; flex-direction: column; min-height: 100vh; padding: 0; }
.lp a { color: var(--lp-brand-dark); }
.lp h1, .lp h2, .lp h3 { color: var(--lp-text); }

/* Topo */
.lp-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - var(--lp-max)) / 2));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.lp-brand img { height: 29px; width: auto; display: block; }
.lp-brand-product { display: grid; line-height: 1.1; padding-left: 14px; border-left: 1px solid var(--lp-line); }
.lp-brand-product strong { color: var(--lp-navy); font-size: 1.15rem; letter-spacing: .06em; }
.lp-brand-product small { color: var(--lp-soft); font-size: .76rem; font-weight: 600; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: var(--lp-navy-2); font-weight: 700; text-decoration: none; }
.lp-nav a:hover { color: var(--lp-brand); }
.lp-top-actions { display: flex; align-items: center; gap: 14px; }

/* Botoes */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 11px 18px; cursor: pointer;
  font: inherit; font-weight: 800; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-dark));
  box-shadow: 0 7px 18px rgba(229, 48, 79, .22);
}
.lp-btn:hover { filter: brightness(1.05); }
.lp-btn:disabled { opacity: .6; cursor: default; }
.lp-btn.secondary { color: var(--lp-navy); background: #fff; border: 1px solid #d5dce6; box-shadow: none; }
.lp-btn.light { color: var(--lp-navy); background: #fff; box-shadow: none; }
.lp-btn.ghost-light { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); box-shadow: none; }
.lp-btn-lg { border-radius: 14px; padding: 14px 22px; font-size: 1.05rem; }
.lp-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--lp-navy-2); cursor: pointer; }
.lp-link:hover { color: var(--lp-brand); }
.lp :focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 3px; }

/* Conteudo */
.lp-main { flex: 1; width: 100%; max-width: var(--lp-max); margin: 0 auto; padding: 28px 20px 40px; }
.lp-hero { display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: center; padding: 24px 0 18px; }
.lp-eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 99px;
  background: var(--lp-brand-tint); color: var(--lp-brand-dark);
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.lp-hero h1 { margin: 16px 0 12px; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; }
.lp-lead { color: var(--lp-muted); font-size: 1.15rem; line-height: 1.55; max-width: 580px; margin: 0 0 22px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-note { color: var(--lp-soft); font-size: .9rem; font-weight: 600; margin: 14px 0 0; }

.lp-art {
  position: relative; overflow: hidden; padding: 24px; border-radius: 26px;
  background: linear-gradient(150deg, var(--lp-brand-tint), var(--lp-blue-tint));
  border: 1px solid #f3dbe1; box-shadow: 0 18px 50px rgba(31, 43, 60, .1);
}
.lp-art::after { content: ""; position: absolute; top: -60px; right: -55px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.lp-art > * { position: relative; z-index: 1; }
.lp-art-panel { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; box-shadow: var(--lp-shadow); }
.lp-art-head { display: flex; align-items: center; gap: 6px; color: var(--lp-soft); font-size: .8rem; font-weight: 700; }
.lp-art-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-line); }
.lp-art-head span { margin-left: 6px; }
.lp-art-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-art-tiles div { border: 1px solid var(--lp-line); border-radius: 10px; padding: 9px; display: grid; gap: 8px; }
.lp-art-tiles small { color: var(--lp-soft); font-size: .72rem; }
.lp-art-tiles b { height: 7px; border-radius: 4px; }
.lp-art-tiles b.ok { width: 92%; background: var(--lp-ok); }
.lp-art-tiles b.mid { width: 64%; background: var(--lp-navy-2); }
.lp-art-tiles b.warn { width: 32%; background: var(--lp-warn); }
.lp-art-chart { width: 100%; height: 86px; }
.lp-art-chart .line { fill: none; stroke: var(--lp-brand); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.lp-art-chart .area { fill: rgba(229, 48, 79, .1); }
.lp-art h3 { margin: 16px 0 4px; font-size: 1.15rem; }
.lp-art p { margin: 0; color: var(--lp-muted); font-size: .95rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-chips span { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .8); border: 1px solid #e6d9de; color: var(--lp-navy-2); font-size: .8rem; font-weight: 700; }

.lp-section { margin: 40px 0; scroll-margin-top: 80px; }
.lp-section > h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.01em; }
.lp-sub { color: var(--lp-soft); margin: 0 0 18px; }
.lp-cards { display: grid; gap: 16px; }
.lp-cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 20px; box-shadow: var(--lp-shadow); }
.lp-card h3 { margin: 10px 0 8px; font-size: 1.08rem; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: .95rem; line-height: 1.5; }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lp-brand-tint); }
.lp-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--lp-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-navy); color: #fff; font-weight: 800; }

.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; margin: 10px 0; overflow: hidden; box-shadow: var(--lp-shadow); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 800; color: var(--lp-text); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--lp-brand); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.lp-faq details[open] summary { color: var(--lp-brand-dark); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { margin: 0; padding: 0 20px 16px; color: var(--lp-muted); line-height: 1.55; }

.lp-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  margin: 44px 0 6px; padding: 34px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--lp-navy), var(--lp-navy-2));
  box-shadow: 0 18px 50px rgba(36, 48, 63, .25);
}
.lp-band h2 { margin: 0 0 6px; font-size: 1.6rem; color: #fff; }
.lp-band p { margin: 0; color: #d3dbe6; }

.lp-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 16px max(16px, calc((100vw - var(--lp-max)) / 2)); background: #fff;
  border-top: 1px solid var(--lp-line); color: var(--lp-soft); font-size: .85rem;
}
.lp-footer a { color: var(--lp-navy-2); }

/* Janelas: entrar, teste gratis, esqueci a senha, definir senha */
.lp-dialog-backdrop {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: rgba(31, 43, 60, .45); backdrop-filter: blur(4px);
}
.lp-dialog {
  position: relative; display: grid; gap: 14px; width: min(470px, 100%); margin: auto; padding: 28px;
  background: #fff; color: var(--lp-text); border-radius: 22px; box-shadow: 0 30px 80px rgba(31, 43, 60, .25);
}
.lp-dialog h2 { margin: 0; padding-right: 36px; font-size: 1.4rem; }
.lp-dialog p { margin: 0; }
.lp-dialog label { display: grid; gap: 6px; color: var(--lp-navy-2); font-weight: 700; font-size: .92rem; }
.lp .lp-dialog input, .lp .lp-dialog select {
  width: 100%; padding: 11px 12px; border: 1px solid #d5dce6; border-radius: 10px;
  background: #fff; color: var(--lp-text); font: inherit; font-weight: 400;
}
.lp .lp-dialog input:focus, .lp .lp-dialog select:focus { outline: none; border-color: var(--lp-brand); box-shadow: 0 0 0 3px rgba(229, 48, 79, .15); }
.lp-dialog .lp-btn { width: 100%; }
.lp-dialog .lp-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--lp-muted); font-size: .88rem; line-height: 1.45; }
.lp .lp-dialog .lp-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--lp-brand); }
.lp-dialog .message { color: #b3263f; min-height: 1.2em; }
.lp-dialog .message.ok { color: var(--lp-ok); }
.lp-muted { color: var(--lp-muted); }
.lp-dialog-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.lp-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--lp-line); background: #fff; color: var(--lp-soft); font-size: 1.3rem; line-height: 1;
}
.lp-close:hover { color: var(--lp-text); }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.lp-dialog-open { overflow: hidden; }

/* Paginas de texto (termos, privacidade) */
.lp-doc { max-width: 860px; margin: 0 auto; padding: 32px 20px 48px; }
.lp-doc h1 { font-size: 2rem; margin: 12px 0 6px; }
.lp-doc h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.lp-doc p, .lp-doc li { color: var(--lp-muted); line-height: 1.65; }
.lp-doc .lp-card { padding: 28px 32px; }

@media (max-width: 1000px) {
  .lp-nav { display: none; }
  .lp-top-actions { margin-left: auto; }
  .lp-hero { grid-template-columns: 1fr; }
  .lp-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lp-brand-product { display: none; }
  .lp-brand img { height: 24px; }
  .lp-top { gap: 12px; }
  .lp-top-actions .lp-btn { padding: 9px 14px; }
  .lp-cards4, .lp-cards3, .lp-form-row { grid-template-columns: 1fr; }
  .lp-band { flex-direction: column; text-align: center; padding: 26px 20px; }
  .lp-band .lp-cta { justify-content: center; }
  .lp-footer { flex-direction: column; }
  .lp-doc .lp-card { padding: 20px; }
}
body:has(.login-screen.lp:not(.hidden)) { background: #f6f8fb; }
.lp-doc .lp-card h2:first-child { margin-top: 0; }
/* Contato (5.10.1) */
.lp-contact .lp-card p { margin: 4px 0; }
.lp-contact .lp-card a { color: var(--lp-brand-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lp-contact .lp-card a:hover { text-decoration: underline; }
.lp-contact .lp-contact-alt { font-size: .85rem; }
