/* WanderWatt, site oficial. Mesmos tokens do app (docs/DESIGN_SYSTEM.md, WWColors): escuro OLED, cor só para dizer algo. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Regular.6b72253345.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-SemiBold.6a9f940ff5.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Bold.74a973060f.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-ExtraBold.7ca3466009.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0D0F12;            /* backgroundPrimary */
  --surface: #181C22;       /* surfaceCard */
  --glass-border: rgba(255, 255, 255, .08);
  --electric: #00E5FF;      /* primaryElectric: CTA, foco */
  --eco: #00FF87;           /* secondaryEco: carga, disponível */
  --amber: #FF8A00;
  --text: #F3F4F6;
  --text-2: #9CA3AF;
  --radius: 16px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "tnum";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); font-weight: 700; margin-bottom: 2rem; max-width: 22ch; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--electric); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--electric); color: var(--bg); box-shadow: 0 0 24px rgba(0, 229, 255, .35); }
.btn--primary:hover { box-shadow: 0 0 36px rgba(0, 229, 255, .55); }
.btn--ghost { border: 1px solid rgba(0, 229, 255, .5); color: var(--electric); }
.btn--ghost:hover { background: rgba(0, 229, 255, .08); }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: 14px; }

/* ── Topo ── */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13, 15, 18, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.topbar__nav { display: flex; gap: 1.5rem; margin-left: auto; }
.topbar__nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.topbar__nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.brand--sm { font-size: 1rem; }

/* ── Hero ── */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: radial-gradient(60% 50% at 80% 30%, rgba(0, 229, 255, .10), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { color: var(--eco); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; max-width: 14ch; }
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); margin-top: 1.25rem; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cta-row--center { justify-content: center; }
.fineprint { color: var(--text-2); font-size: 13px; margin-top: 1rem; }

.phone {
  margin: 0 auto; width: min(320px, 100%); aspect-ratio: 9 / 18.5;
  border-radius: 40px; padding: 10px; background: #050607;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(0, 229, 255, .12);
}
.phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #11151A; }
.phone__map { width: 100%; height: 100%; object-fit: cover; }
.phone__card {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(24, 28, 34, .75); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.label { color: var(--text-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.telemetry { font-size: 30px; font-weight: 800; color: var(--electric); line-height: 1.2; }
.telemetry small { font-size: 15px; color: var(--text-2); font-weight: 600; margin-left: 2px; }

/* ── Seções ── */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: linear-gradient(180deg, #101318, var(--bg)); border-block: 1px solid var(--glass-border); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.5rem; }
.feature__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: rgba(0, 229, 255, .1); color: var(--electric);
}
.feature p { color: var(--text-2); margin-top: .5rem; font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--eco); color: var(--eco); font-weight: 800;
}
.steps p { color: var(--text-2); margin-top: .5rem; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.75rem; }
.plan--pro { border-color: rgba(0, 229, 255, .45); box-shadow: 0 0 40px rgba(0, 229, 255, .08); }
.plan h3 { font-size: 1.4rem; }
.plan__tag { color: var(--text-2); font-size: 14px; margin-top: .25rem; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--eco); }
.plan--pro li::before { background: var(--electric); }
.plan__note { color: var(--text-2); font-size: 13px; margin-top: 1.25rem; }

details { border-bottom: 1px solid var(--glass-border); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--electric); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); margin-top: .75rem; }

.final { text-align: center; background: radial-gradient(50% 60% at 50% 100%, rgba(0, 255, 135, .08), transparent 70%); }
.final h2 { margin-inline: auto; margin-bottom: 0; }

.footer { border-top: 1px solid var(--glass-border); padding: 2rem 0; color: var(--text-2); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer nav { display: flex; gap: 1.25rem; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer .brand { color: var(--text); }

/* ── BacurauLabs: assinatura no hero, logo na seção e no rodapé ── */
.byline { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.75rem; color: var(--text-2); font-size: 14px; text-decoration: none; }
.byline img { height: 28px; width: auto; }
.byline strong { color: var(--text); }
.byline:hover strong { color: #F5A332; }
.about__logo { display: block; width: min(360px, 100%); height: auto; margin-bottom: 2rem; }
.footer__maker { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.footer__maker img { height: 30px; width: auto; }

/* ── Quem faz (BacurauLabs) ── */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.about p { color: var(--text-2); margin-bottom: 1rem; max-width: 56ch; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.contact li { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.contact small { display: block; color: var(--text-2); }
.contact a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--electric); }

/* ── Telas menores ── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar__nav { display: none; }
  .topbar__inner > .btn { margin-left: auto; }
  .features, .plans { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ── Páginas legais (privacidade) ── */
.legal h1 { max-width: none; margin-bottom: .5rem; }
.legal h2 { max-width: none; font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--electric); }
.legal code { font-size: .9em; }
.legal .table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--glass-border); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--glass-border); color: var(--text-2); }
.legal thead th { color: var(--text); font-weight: 700; background: var(--surface); }
.legal tbody th { color: var(--text); font-weight: 600; }
.legal tbody tr:last-child th, .legal tbody tr:last-child td { border-bottom: 0; }
