/* Moldura da landing Aurora: cabeçalho em pílula de vidro, menu do celular, rodapé, aviso de cookies,
   preferências e confirmação. Protótipo aprovado: docs/prototypes/WEB-08-functional-prototype. */
.lp-header { position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; gap: 22px; width: var(--lp-page); margin: 18px auto 0; padding: 8px 10px 8px 20px; border: 1px solid var(--lp-line); border-radius: 999px; background: var(--lp-glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: box-shadow 200ms ease; }
.lp-header.scrolled { box-shadow: 0 16px 40px rgba(2, 6, 23, 0.28); }
.lp-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--lp-ink); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.lp-logo img { border-radius: 8px; }
.lp-logo b { background: linear-gradient(90deg, #3b82f6, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.lp-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-muted); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.lp-nav-link:hover { color: var(--lp-ink); background: var(--lp-chip); }
.lp-nav-link[aria-current] { color: var(--lp-ink); background: var(--lp-chip); font-weight: 650; }
.lp-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp-theme { display: inline-flex; align-items: center; width: 64px; height: 44px; padding: 0 4px; border: 1px solid var(--lp-line); border-radius: 999px; background: var(--lp-chip); color: var(--lp-ink); }
.lp-theme span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lp-card-solid); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
:root[data-theme="dark"] .lp-theme { justify-content: flex-end; }
:root[data-theme="light"] .lp-theme { justify-content: flex-start; }
:root[data-theme="dark"] .lp-theme .lp-sun, :root[data-theme="light"] .lp-theme .lp-moon { display: none; }
.lp-enter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--lp-ink); font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.lp-header-cta.bs-button { min-height: 44px; padding: 0 20px; }
.lp-menu-trigger { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--lp-line); border-radius: 50%; background: var(--lp-chip); color: var(--lp-ink); }
.lp-menu-trigger .lp-close { display: none; }
.lp-menu-doors { display: none; }

@media (max-width: 1023px) {
  .lp-header { width: calc(100% - 24px); top: 8px; margin-top: 12px; padding: 6px 6px 6px 16px; gap: 10px; }
  .lp-nav, .lp-header:not(.tool) .lp-enter, .lp-header:not(.tool) .lp-header-cta { display: none; }
  .lp-menu-trigger { display: grid; }
  /* Menu aberto: a pílula vira a tela inteira de vidro, com as duas portas no fim. */
  .lp-header.menu-open { position: fixed; inset: 0; z-index: 60; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; width: auto; margin: 0; padding: 18px 16px; overflow-y: auto; border-radius: 0; background: color-mix(in srgb, var(--lp-bg) 92%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .lp-header.menu-open .lp-logo { height: 44px; }
  .lp-header.menu-open .lp-nav { order: 3; display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; margin: 28px 0 0; }
  .lp-header.menu-open .lp-nav-link { min-height: 60px; padding: 0 20px; border: 1px solid var(--lp-line); border-radius: 18px; background: var(--lp-card); color: var(--lp-ink); font-size: 20px; font-weight: 700; }
  .lp-header.menu-open .lp-menu-doors { display: grid; gap: 10px; margin-top: 16px; }
  .lp-header.menu-open .lp-menu-doors .bs-button { width: 100%; min-height: 56px; }
  .lp-header.menu-open .lp-menu-trigger .lp-open { display: none; }
  .lp-header.menu-open .lp-menu-trigger .lp-close { display: block; }
}
@media (max-width: 767px) {
  .lp-logo { font-size: 19px; }
}

/* Rodapé */
.lp-footer { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding: 34px max(24px, calc((100% - 1240px) / 2)) 38px; border-top: 1px solid var(--lp-line); background: var(--lp-footer); }
.lp-footer-brand p { margin: 8px 0 0; color: var(--lp-muted); font-size: 13px; }
.lp-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
.lp-footer-links .lp-text-link { color: var(--lp-muted); font-size: 13px; }
.lp-footer-legal { grid-column: 1 / -1; margin: 0; color: var(--lp-muted); font-size: 12px; opacity: 0.85; }
@media (max-width: 1023px) {
  .lp-footer { grid-template-columns: 1fr; padding: 28px 20px; }
  .lp-footer-links { justify-content: flex-start; }
}

/* Aviso de cookies em vidro, os três botões com o mesmo peso. */
.lp-cookie { position: fixed; left: 50%; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 18px; width: min(100% - 48px, 880px); padding: 18px 20px; transform: translateX(-50%); border: 1px solid var(--lp-line); border-radius: 22px; background: var(--lp-card); box-shadow: var(--lp-shadow); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.lp-cookie[hidden] { display: none; }
.lp-cookie .cookie-banner__text { flex: 1; }
.lp-cookie .cookie-banner__text strong { font-size: 15px; }
.lp-cookie .cookie-banner__text p { margin: 4px 0 0; color: var(--lp-soft); font-size: 13px; line-height: 1.5; }
.lp-cookie .cookie-banner__text a { color: var(--lp-info); }
.lp-cookie .cookie-banner__actions { display: flex; gap: 8px; }
@media (max-width: 1023px) {
  .lp-cookie { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
  .lp-cookie { bottom: 12px; width: calc(100% - 24px); padding: 16px; }
  .lp-cookie .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .lp-cookie .cookie-banner__actions .bs-button { min-width: 0; padding: 0 8px; }
}
.lp-toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 10px; width: min(100% - 48px, 640px); padding: 14px 18px; transform: translateX(-50%); border: 1px solid rgba(52, 211, 153, 0.45); border-radius: 18px; background: var(--lp-card); box-shadow: var(--lp-shadow); color: var(--lp-soft); font-size: 14px; line-height: 1.5; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.lp-toast svg { flex: 0 0 auto; color: var(--lp-ok); }
@media (max-width: 767px) { .lp-toast { bottom: 12px; width: calc(100% - 24px); } }

/* 404 */
.lp-missing { display: grid; justify-items: center; gap: 10px; width: var(--lp-content); margin: 0 auto; padding: 80px 0 60px; text-align: center; }
.lp-missing-code { margin: 0; background: var(--lp-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.lp-missing h1 { margin: 0; font-size: 34px; letter-spacing: -0.03em; }
.lp-missing p { max-width: 520px; margin: 0; color: var(--lp-muted); }
.lp-missing-paths { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
@media (max-width: 767px) { .lp-missing-paths .bs-button { width: 100%; } }
