/* Conteúdos LQS — landing estática
   Paleta alinhada ao app (AppColors / Dark Neon Premium).
   Tema padrão: escuro. O claro entra com [data-theme="light"]. */

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: rgba(18, 18, 20, 0.94);
  --surface-solid: #121214;
  --text: #FFFFFF;
  --text-muted: #8E8E93;
  --primary: #0C3E9B;
  --primary-deep: #082B6E;
  --blue-neon: #1A5FD4;
  --brand-blue: #5B9CFF;
  --accent: #E51A23;
  --accent-neon: #FF2D36;
  --border: #2A2A2E;
  --shadow: -8px 10px 28px rgba(26, 95, 212, 0.22), 8px 10px 28px rgba(255, 45, 54, 0.16);
  --header: rgba(0, 0, 0, 0.86);
  --badge-bg: rgba(26, 95, 212, 0.16);
  --badge-text: #5B9CFF;
  --glow-blue: rgba(26, 95, 212, 0.38);
  --glow-red: rgba(255, 45, 54, 0.26);
  --link: #5B9CFF;
  --icon-bg: rgba(12, 62, 155, 0.28);
  --focus: #5B9CFF;
  --btn: #0C3E9B;
  --btn-shadow: 0 8px 22px rgba(26, 95, 212, 0.5);
  --card-border: rgba(12, 62, 155, 0.35);
  --trust-bg: rgba(26, 95, 212, 0.14);
  --trust-text: #D6E4FF;
  --trust-border: rgba(91, 156, 255, 0.28);
  --trust-icon: #7DCEA0;
  --radius: 16px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface-solid: #FFFFFF;
  --text: #111113;
  --text-muted: #4E4E54;
  --brand-blue: #0C3E9B;
  --border: #E2E4E8;
  --shadow: 0 16px 36px rgba(17, 17, 19, 0.06);
  --header: rgba(244, 246, 250, 0.9);
  --badge-bg: rgba(12, 62, 155, 0.1);
  --badge-text: #0C3E9B;
  --glow-blue: rgba(12, 62, 155, 0.12);
  --glow-red: rgba(229, 26, 35, 0.08);
  --link: #0C3E9B;
  --icon-bg: #D9E4F7;
  --focus: #0C3E9B;
  --btn-shadow: none;
  --card-border: #E2E4E8;
  --trust-bg: #EEF3FA;
  --trust-text: #243044;
  --trust-border: #D5DDEA;
  --trust-icon: #1B7F4E;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(540px 420px at -6% 30%, var(--glow-blue), transparent 70%),
    radial-gradient(460px 380px at 108% 74%, var(--glow-red), transparent 68%),
    var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: var(--header);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  display: block;
  height: 44px;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.logo-name {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-link,
.theme-toggle,
.text-button {
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--text);
}

.icon-sun,
.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun,
[data-theme="light"] .icon-moon {
  display: block;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.hero-inner > * {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: min(16ch, 100%);
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.brand-l,
.brand-q {
  color: var(--brand-blue);
}

.brand-s {
  color: var(--accent);
}

.brand-word {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lede {
  max-width: min(42rem, 100%);
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.download-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  margin-top: 2rem;
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.download-card.is-dual {
  width: min(100%, 760px);
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  animation: pulse 1.8s ease-out infinite;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-actions.is-dual {
  flex-direction: row;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  padding: 0.9rem 1.1rem;
  border: 0;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  line-height: 1.25;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  flex: 1;
  color: #fff;
  background: var(--btn);
  box-shadow: var(--btn-shadow);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.download-alt {
  margin-top: 0.95rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-wrap: pretty;
}

.download-alt a {
  color: var(--link);
  font-weight: 600;
}

.security-note {
  max-width: min(40rem, 100%);
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.install-guide {
  width: min(100%, 720px);
  margin-top: 1.35rem;
  text-align: left;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background: var(--trust-bg);
  color: var(--trust-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-badges svg {
  flex: 0 0 auto;
  color: var(--trust-icon);
}

.install-title {
  margin: 1.15rem 0 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.install-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.install-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-solid);
}

.install-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.install-panel summary::-webkit-details-marker {
  display: none;
}

.install-panel summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.install-panel[open] summary::after {
  transform: rotate(225deg);
}

.install-panel ol {
  margin: 0;
  padding: 0 1rem 1rem 2.15rem;
  color: var(--text-muted);
}

.install-panel li + li {
  margin-top: 0.5rem;
}

.install-panel strong {
  color: var(--text);
  font-weight: 700;
}

.features {
  padding: 1rem 0 5rem;
}

.section-head {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  margin-top: 0.6rem;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 0;
}

.feature-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-solid);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  color: var(--brand-blue);
  background: var(--icon-bg);
}

[data-theme="light"] .feature-icon {
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.08rem;
}

.feature-card p {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-nav a,
.text-button {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.text-button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.dialog {
  width: min(560px, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-head,
.dialog-body,
.dialog-actions {
  padding-inline: 1.25rem;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
}

.dialog-head h2 {
  font-size: 1.25rem;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.dialog-body {
  padding-top: 0.85rem;
  color: var(--text-muted);
}

.dialog-body ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.dialog-body li + li {
  margin-top: 0.45rem;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.1rem;
  padding-bottom: 1.2rem;
}

.dialog-actions .btn {
  min-width: 140px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (hover: hover) {
  .header-link:hover,
  .theme-toggle:hover,
  .dialog-close:hover {
    border-color: rgba(12, 62, 155, 0.55);
  }

  .btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }

  .feature-card:hover {
    border-color: rgba(12, 62, 155, 0.55);
    transform: translateY(-2px);
  }

  .footer-nav a:hover,
  .text-button:hover,
  .download-alt a:hover {
    color: var(--link);
  }
}

.btn-primary:active {
  transform: translateY(0);
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .download-actions.is-dual {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .logo-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .header-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .header-link {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}
