/* Vitrine pública da Landify — identidade visual reaproveitada de web/src/styles.css. */

:root {
  color-scheme: dark;
  --bg: #070a12;
  --bg-soft: #0a0f1a;
  --surface: #0d1320;
  --surface-2: #111827;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #e8edf7;
  --text-2: #c2cbd9;
  --muted: #9aa6ba;
  --accent: #a89bff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(139, 124, 255, 0.16);
  --success: #34d399;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(3, 7, 18, 0.45);
  --font: "Inter Variable", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(139, 124, 255, 0.16), transparent 65%),
    radial-gradient(700px 420px at 8% 12%, rgba(34, 211, 238, 0.1), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1rem; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #67e8f9; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(139, 124, 255, 0.35); }

.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;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #0b0b16;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #0b0b16; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(14px);
}
.header-inner,
main > section,
main > .page-head,
.footer-inner,
.footer-note {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.logo span, .site-footer strong span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.site-nav > a:not(.btn) {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav > a:not(.btn):hover { color: var(--text); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7c6cf0);
  color: #0b0b16;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.btn:hover { color: #0b0b16; filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: 0.88rem; }
.btn-full { width: 100%; margin-top: auto; }

main > section { padding: clamp(56px, 8vw, 100px) 0; border-bottom: 1px solid var(--border); }
main > section:last-child { border-bottom: 0; }
main > .page-head { padding: 68px 0 24px; }

.hero { padding-top: clamp(72px, 10vw, 130px) !important; }
.badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid rgba(139, 124, 255, 0.38);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #c7bdff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero h1 { max-width: 18ch; }
.lead {
  max-width: 68ch;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 0.9rem; }

.section-head { max-width: 72ch; margin-bottom: 38px; }
.section-head .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.subhead { margin-top: 44px; font-size: 1.25rem; }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  box-shadow: var(--shadow);
}
.card p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.package-card { position: relative; }
.price {
  margin: 6px 0 4px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.price span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}
.price-sm { font-size: 1.7rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 8px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.06);
}
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; }
.facts dd { margin: 2px 0 0; font-weight: 650; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 0.94rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.limit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.limit-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.limit-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(139, 124, 255, 0.3);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text-2);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 0.92rem; }
caption { padding: 16px; color: var(--muted); text-align: left; font-size: 0.86rem; }
th, td { padding: 14px 16px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
thead th { background: var(--surface); color: var(--text); font-weight: 700; }
tbody th { color: var(--text-2); font-weight: 600; white-space: nowrap; }
tbody td { color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.faq summary {
  padding: 18px 22px;
  font-weight: 650;
  cursor: pointer;
  list-style-position: outside;
}
.faq details[open] summary { color: var(--accent); border-bottom: 1px solid var(--border); }
.faq details p { padding: 0 22px 18px; color: var(--text-2); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; align-items: start; }
.contact-form { display: grid; gap: 14px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form label { display: grid; gap: 6px; color: var(--text-2); font-size: 0.88rem; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.steps { margin: 0; padding-left: 22px; color: var(--text-2); }
.steps li { margin-bottom: 10px; }

.legal-content { display: grid; gap: 28px; max-width: 800px; margin-top: 16px; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content p { color: var(--text-2); }
.page-head h1 { max-width: 20ch; }
.legal-strip { padding-block: 30px !important; text-align: center; }
.legal-strip p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.7);
  padding: 54px 0 28px;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-inner strong { font-size: 1.1rem; letter-spacing: 0.08em; }
.footer-inner p { margin-top: 8px; max-width: 52ch; color: var(--muted); font-size: 0.88rem; }
.footer-inner nav { display: grid; gap: 8px; align-content: start; }
.footer-inner nav a { color: var(--text-2); font-size: 0.9rem; text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 10, 18, 0.98);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: 10px 0; }
}

@media (max-width: 600px) {
  .header-inner, main > section, main > .page-head, .footer-inner, .footer-note {
    width: min(var(--max), calc(100% - 28px));
  }
  .card { padding: 22px; }
  .form-row, .facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .nav-toggle, .btn, .site-footer { display: none !important; }
  body { background: #fff; color: #111; }
  .card { box-shadow: none; border-color: #ccc; }
}
