:root {
  color-scheme: dark;

  --bg: #070708;
  --surface: #111114;
  --surface-2: #16171b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f7;
  --text-muted: #c7c7cc;
  --text-faint: #8b8b93;

  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #2563eb;
  --green: #22c55e;
  --green-light: #34d399;
  --amber: #f59e0b;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.7);

  --container: 1200px;
  --section-y: clamp(4rem, 3rem + 4vw, 8.75rem);

  --font-display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-muted);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
  max-width: 65ch;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 150ms var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 42rem;
  margin: 0 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
    background 200ms var(--ease), border-color 200ms var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(59, 130, 246, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -10px rgba(59, 130, 246, 0.65);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

/* Navbar */

.nav-wrap {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  padding: 0 1rem;
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

/* Store badges */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-badge {
  display: block;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: auto;
  max-width: none;
}

.store-badge-apple img {
  height: 40px;
}

.store-badge-play img {
  height: 52px;
}

#baixar {
  scroll-margin-top: 6.5rem;
}

/* Trust bullets */

.trust-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-list svg {
  flex: none;
  color: var(--green-light);
}

/* Trust bar (chips) */

.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.chip svg {
  color: var(--blue-light);
  flex: none;
}

/* Hero */

.hero {
  padding: clamp(2.5rem, 2rem + 2vw, 5rem) 0 var(--section-y);
  position: relative;
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background: radial-gradient(
    60% 60% at 50% 20%,
    rgba(59, 130, 246, 0.22),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    margin: 0 auto;
  }
}

.hero-title {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  margin-bottom: 1.1rem;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Phone mockup — bezel around the screenshot, same aspect as the capture */

.phone {
  position: relative;
  width: min(280px, 72vw);
  padding: 11px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2c2c32, #0d0d10);
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 18%;
  width: 3px;
  height: 52px;
  border-radius: 2px;
  background: #3a3a42;
}

.phone::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 16%;
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: #3a3a42;
  box-shadow: 0 38px 0 0 #3a3a42, 0 74px 0 0 #3a3a42;
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 1387;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

.phone-screen picture {
  display: block;
  width: 100%;
  height: 100%;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.phone-lg {
  width: min(300px, 76vw);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(17, 17, 20, 0.9);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
}

.float-card strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
}

.float-card.card-top {
  top: 8%;
  left: -14%;
}

.float-card.card-bottom {
  bottom: 12%;
  right: -16%;
}

.float-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.float-icon.blue {
  background: rgba(59, 130, 246, 0.16);
  color: var(--blue-light);
}

.float-icon.green {
  background: rgba(34, 197, 94, 0.16);
  color: var(--green-light);
}

@media (max-width: 520px) {
  .float-card {
    display: none;
  }
}

/* Bento grid */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.bento-card {
  grid-column: span 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.span-4 {
  grid-column: span 4;
}

@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card,
  .bento-card.span-2,
  .bento-card.span-4 {
    grid-column: span 1;
  }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.bento-shot {
  margin-top: 1.5rem;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.bento-shot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bento-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bento-shot-phone {
  height: auto;
  display: flex;
  justify-content: center;
  background: transparent;
  border: none;
  overflow: visible;
  padding: 0.25rem 0 0;
}

.bento-shot-phone .phone {
  width: min(168px, 72%);
}

.bento-card.span-4 .bento-shot-phone .phone {
  width: min(196px, 42%);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.94rem;
}

/* Showcase gallery */

.showcase-scroll {
  --shot-height: clamp(380px, 33vw, 480px);

  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
  padding: 1.25rem 0 0.5rem;
  margin: 0;
}

.showcase-item {
  flex: none;
  margin: 0;
  text-align: center;
}

.showcase-item picture {
  display: block;
}

.showcase-item img {
  height: var(--shot-height);
  width: auto;
  max-width: none;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

.showcase-item figcaption {
  margin-top: 1.5rem;
  color: var(--text-faint);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 24ch;
  margin-inline: auto;
}

.showcase-item figcaption strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 1180px) {
  .showcase-scroll {
    --shot-height: 440px;

    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    padding: 1.25rem 1.5rem 1.75rem;
    margin-inline: -1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .showcase-item {
    scroll-snap-align: center;
  }

  .showcase-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .showcase-scroll::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 999px;
  }
}

/* Disclaimer band */

.disclaimer-band {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.disclaimer-band svg {
  flex: none;
  color: var(--amber);
  margin-top: 0.2rem;
}

.disclaimer-band p {
  font-size: 0.94rem;
}

.disclaimer-band p + p {
  margin-top: 0.6rem;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chevron {
  flex: none;
  transition: transform 200ms var(--ease);
  color: var(--text-faint);
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.94rem;
}

/* Final CTA */

.cta-band {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #12161f, #0a0a0c);
  border: 1px solid var(--border);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.cta-band .store-badges {
  justify-content: center;
}

/* Footer */

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-en {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Reveal on scroll (progressive enhancement, see site.js).
   Content is visible by default; the `.js` class (added by site.js only
   after IntersectionObserver support is confirmed) opts into the hidden
   starting state so pages without JavaScript never lose content. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Legal document pages (privacidade/termos) */

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--section-y) 1.5rem 6rem;
}

.legal-doc h1 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.legal-doc .meta {
  color: var(--text-faint);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-doc p {
  margin: 0 0 1rem;
  max-width: none;
}

.legal-doc nav.legal-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.95rem;
}
