/* Floppy Disk — site de downloads */

:root {
  --bg: #0b0a08;
  --surface: #14120e;
  --surface-2: #1c1913;
  --surface-3: #241f18;
  --line: #2b2620;
  --cream: #f4e9d8;
  --muted: #a99d88;
  --amber: #e8a33d;
  --amber-strong: #f2b455;
  --amber-soft: rgba(232, 163, 61, 0.16);
  --green: #7bd88f;
  --red: #e2604f;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--amber);
  color: #1a1206;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--amber);
  color: #1a1206;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 100;
}

.skip:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- fundo ---------- */

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.bg-glow--one {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -160px;
  background: rgba(232, 163, 61, 0.14);
}

.bg-glow--two {
  width: 520px;
  height: 520px;
  bottom: -260px;
  left: -220px;
  background: rgba(244, 233, 216, 0.05);
}

/* ---------- tipografia utilitária ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
}

.eyebrow--tight {
  letter-spacing: 0.12em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}

.dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.dot--green {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(123, 216, 143, 0.16);
}

.ink-amber {
  color: var(--amber);
}

.ink-green {
  color: var(--green);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 10, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43, 38, 32, 0.7);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
}

.brand__name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand__name span {
  color: var(--amber);
}

.brand--sm .brand__name {
  font-size: 17px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav__links a {
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--cream);
}

.nav__cta {
  margin-left: 8px;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--amber);
  color: #1a1206;
  box-shadow: 0 12px 30px rgba(232, 163, 61, 0.18);
}

.btn--primary:hover {
  background: var(--amber-strong);
}

.btn--ghost {
  background: rgba(244, 233, 216, 0.03);
  border-color: var(--line);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--windows {
  background: var(--cream);
  color: #17130d;
}

.btn--windows:hover {
  background: #fffaf0;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 64px;
}

.hero__copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__copy .lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ---------- mockup do app ---------- */

.hero__visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #17140f, #100e0a);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 163, 61, 0.06) inset;
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--line);
}

.window__dots {
  display: inline-flex;
  gap: 6px;
}

.window__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a332a;
}

.window__dots i:first-child {
  background: #5a4430;
}

.window__title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.window__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
  border: 1px solid rgba(232, 163, 61, 0.34);
  border-radius: 999px;
  padding: 3px 8px;
}

.window__body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 320px;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-brand span {
  color: var(--amber);
}

.app-nav {
  font-size: 11px;
  color: var(--muted);
  padding: 7px 9px;
  border-radius: 8px;
}

.app-nav.on {
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 600;
}

.app-side__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: #6d6354;
  padding: 6px 9px;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-hero {
  position: relative;
  margin: 12px 12px 8px;
  padding: 14px;
  border-radius: 12px;
  background: radial-gradient(120% 160% at 100% 0%, rgba(232, 163, 61, 0.26), transparent 62%),
    linear-gradient(180deg, #1d1912, #15120d);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-chip {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.app-hero strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.app-hero small {
  font-size: 10px;
  color: var(--muted);
}

.app-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1206;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.app-list {
  display: flex;
  flex-direction: column;
  margin: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.14);
}

.app-track {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}

.app-track:last-child {
  border-bottom: none;
}

.app-track.is-on .app-track__meta b {
  color: var(--amber);
}

.app-track__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-track__meta b {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-track__meta small {
  font-size: 8.5px;
  color: var(--muted);
}

.app-time {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
}

.app-cover {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
  flex: none;
}

.c1 { background: linear-gradient(135deg, #e8a33d, #6b461c); }
.c2 { background: linear-gradient(135deg, #f4e9d8, #b9a483); }
.c3 { background: linear-gradient(135deg, #8a7a5f, #2e2a22); }
.c4 { background: linear-gradient(135deg, #d98f34, #3a2a12); }

.app-player {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.app-player .app-cover {
  width: 24px;
  height: 24px;
}

.app-player__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-player__meta b {
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-player__meta small {
  font-size: 8px;
  color: var(--muted);
}

.app-player__bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.app-player__bar i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--amber);
}

.app-player__btns {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cream);
}

.floppy-badge {
  position: absolute;
  left: -14px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 18, 14, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.floppy-badge span {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.floppy-badge b {
  font-family: var(--font);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.source-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 18, 14, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--cream);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.source-badge b {
  color: var(--amber);
  font-family: var(--mono);
}

.source-badge--a {
  top: 22px;
  right: -10px;
}

.source-badge--b {
  right: 8px;
  bottom: 8px;
}

/* ---------- strip ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 26px;
}

.strip__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.strip__item:last-child {
  border-right: none;
}

.strip__item strong {
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--amber);
  line-height: 1.1;
}

.strip__item span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- seções ---------- */

.section {
  padding-top: 78px;
  scroll-margin-top: 80px;
}

.section__head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section__head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- cards de recurso ---------- */

.card {
  background: linear-gradient(180deg, rgba(28, 25, 19, 0.9), rgba(20, 18, 14, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(232, 163, 61, 0.45);
  transform: translateY(-2px);
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 19px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- downloads ---------- */

.downloads {
  align-items: stretch;
}

.download {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, rgba(28, 25, 19, 0.95), rgba(18, 16, 12, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.download--alt {
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.08), rgba(18, 16, 12, 0.95));
}

.download__os {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--cream);
}

.os-icon--android {
  color: var(--green);
}

.os-icon--windows {
  color: var(--amber);
}

.download__os h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.badge--ready {
  color: var(--green);
  background: rgba(123, 216, 143, 0.12);
  border: 1px solid rgba(123, 216, 143, 0.28);
}

.download__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  min-height: 52px;
}

.download__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download__stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.download__stats dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.download__stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.download__note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------- instalação ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: none;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step__n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1206;
  font-family: var(--mono);
  font-weight: 600;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.install-note {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

.install-note strong {
  font-size: 15px;
}

.install-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- status ---------- */

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, rgba(28, 25, 19, 0.9), rgba(18, 16, 12, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.statusbar__copy h3 {
  margin: 6px 0 4px;
  font-size: 20px;
}

.statusbar__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.statusbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-dots {
  display: inline-flex;
  gap: 7px;
}

.status-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a332a;
}

.status-dots span.on {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(123, 216, 143, 0.14);
}

.status-dots span.mid {
  background: var(--amber);
}

.status-dots span.off {
  background: var(--red);
}

/* ---------- faq ---------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq__item summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--amber);
  font-size: 18px;
  flex: none;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 760px;
}

/* ---------- legal ---------- */

.legal {
  background: rgba(28, 25, 19, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.legal h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.legal p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 860px;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: #6d6354;
}

/* ---------- animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsivo ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
  }

  .hero__visual {
    order: 2;
    min-height: 0;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .source-badge--a {
    right: 0;
  }
}

@media (max-width: 680px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    margin-left: auto;
  }

  .container {
    padding: 0 18px;
  }

  .hero__copy h1 {
    font-size: 42px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .strip__item:nth-child(2) {
    border-right: none;
  }

  .window {
    transform: none;
  }

  .floppy-badge {
    left: 6px;
    bottom: 10px;
  }

  .source-badge {
    display: none;
  }

  .install-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .statusbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .download {
    padding: 22px;
  }

  .download__stats {
    grid-template-columns: 1fr 1fr;
  }
}