@font-face {
  font-family: Inter;
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #090909;
  --text: #f3f6fc;
  --muted: #9aa9bf;
  --line: #252525;
  --card: #171717;
  --card-line: #303030;
  --button: #f5f5f5;
  --button-text: #121212;
  --body-muted: #a5a5a5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.45 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
img { display: block; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 2px solid #dcdcdc; outline-offset: 6px; border-radius: 4px; }
::selection { color: #090909; background: #dcdcdc; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: 12px; padding: 12px 18px; color: #121212; background: #f5f5f5; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: calc(100% - 48px); max-width: 1128px; margin-inline: auto; }
.small { font-size: 12px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: var(--body-muted); }
.icon { display: inline-grid; place-items: center; flex: 0 0 auto; }
.icon img { flex: none; }
.icon-brand { width: 28px; height: 28px; }
.icon-brand img { transform: scale(1.4); }
.icon-footer { width: 32px; height: 32px; }
.icon-footer img { transform: scale(1.6); }
.icon-feature { width: 18px; height: 18px; }
.icon-feature img { transform: scale(.9); }
.icon-step { width: 24px; height: 24px; }
.icon-step img { transform: scale(1.2); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border: 1px solid var(--card-line); border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.button-primary { color: var(--button-text); background: var(--button); border-color: var(--button); }
.button-secondary { color: #e8e8e8; background: var(--background); }
.button-primary:hover { background: #dcdcdc; border-color: #dcdcdc; }
.button-secondary:hover { background: #1c1c1c; border-color: #666; }
.button:active { transform: translateY(1px); }
.actions { display: flex; justify-content: center; gap: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: calc(100% - 48px); max-width: 1248px; min-height: 72px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; position: relative; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; color: var(--muted); }
.desktop-nav a:hover, .footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu { display: none; }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 40px 24px 26px; overflow: hidden; }
.hero-background { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-background img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); max-width: none; }
.hero-copy { width: 100%; max-width: 1100px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.hero h1 { font-size: 80px; line-height: 1.08; letter-spacing: -3.2px; font-weight: 500; text-wrap: balance; }
.hero-description { max-width: 690px; color: var(--muted); font-size: 18px; text-wrap: balance; }
.product-preview { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.preview-frame { border: 1px solid #333; border-radius: 16px; overflow: hidden; background: #151515; box-shadow: 0 20px 60px #0007; }
.preview-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.product-preview figcaption { font-size: 12px; color: var(--body-muted); }
.manifesto { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 24px; text-align: center; border-block: 1px solid var(--line); }
.manifesto .eyebrow { color: var(--muted); letter-spacing: 1.2px; }
.manifesto h2 { font-size: 26px; font-weight: 500; }
.manifesto > p:last-child { max-width: 710px; color: var(--muted); font-size: 14px; }
.section { padding-block: 88px; }
.section-heading { text-align: center; margin-inline: auto; }
.section-heading h2 { font-size: 48px; line-height: 1.08; font-weight: 400; }
.section-heading p { color: var(--muted); margin-top: 32px; }
.features .section-heading { padding-inline: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border: 1px solid #2a2a2a; }
.feature { padding: 40px; min-height: 232px; border-right: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n + 3) { border-bottom: 0; }
.feature h3 { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.feature p { margin-top: 16px; font-size: 14px; color: var(--muted); }

.how-it-works .section-heading h2 { font-weight: 600; line-height: 1.45; }
.how-it-works .section-heading p { color: var(--body-muted); margin-top: 16px; }
.step-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 24px; height: 32px; margin-top: 48px; position: relative; isolation: isolate; overflow: hidden; }
.step-connector { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: -1; max-width: none; }
.step-track span { display: grid; place-items: center; width: 32px; height: 32px; background: #252525; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 600; }
.step-cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step-card { display: flex; flex-direction: column; gap: 24px; min-height: 440px; border: 1px solid var(--card-line); background: var(--card); border-radius: 16px; padding: 24px; }
.step-badge { display: grid; place-items: center; width: 48px; height: 48px; background: #272727; border-radius: 10px; }
.step-number { display: none; }
.step-copy h3 { font-size: 20px; font-weight: 600; color: #f5f5f5; }
.step-copy p { font-size: 15px; color: #adadad; margin-top: 8px; }
.step-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; color: #adadad; font-size: 14px; }
.step-list li { display: flex; gap: 12px; align-items: center; }
.step-list li::before { content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: url("assets/bullet.svg") center no-repeat; }

.faq-layout { display: grid; grid-template-columns: 344px minmax(0, 1fr); gap: 64px; }
.faq-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--body-muted); }
.faq-intro h2 { font-size: 36px; font-weight: 600; line-height: 1.45; color: #f3f3f3; }
.faq-intro .muted { color: var(--body-muted); }
.help-link { color: #eaeaea; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.help-link:hover { color: #fff; }
.faq-list details { border-bottom: 1px solid #292929; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; color: #f3f3f3; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq-list summary img { flex: 0 0 16px; transition: transform .2s; }
.faq-list details[open] summary img { transform: rotate(180deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details > p { max-width: 696px; padding: 0 24px 20px 0; color: #adadad; font-size: 14px; }
.download { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 88px 24px; border-block: 1px solid var(--line); text-align: center; color: var(--body-muted); }
.download h2 { color: #f3f3f3; font-size: 52px; line-height: 1.15; letter-spacing: -1.8px; font-weight: 500; }
.site-footer { padding: 72px 24px 48px; }
.footer-inner { max-width: 1248px; margin-inline: auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #292929; }
.footer-top .brand { font-weight: 600; }
.social-link { display: grid; place-items: center; width: 40px; height: 40px; background: #252525; border-radius: 50%; }
.social-link:hover { background: #383838; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; }
.footer-credits { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--body-muted); }
.footer-links { text-align: right; }
.footer-links nav { display: flex; justify-content: flex-end; gap: 24px; font-size: 13px; }
.footer-links p { font-size: 12px; margin-top: 8px; color: #858585; }

@media (min-width: 768px) and (max-width: 1199px) {
  .hero h1 { font-size: 68px; }
  .feature { padding: 28px; }
  .faq-layout { grid-template-columns: minmax(240px, 1fr) 2fr; gap: 40px; }
  .step-card { min-height: 440px; }
  .step-track { isolation: isolate; overflow: hidden; }
}

@media (max-width: 767px) {
  .desktop-nav, .header-download { display: none; }
  .header-inner { padding-block: 16px; min-height: 68px; }
  .mobile-menu { display: block; color: var(--muted); font-size: 14px; }
  .mobile-menu summary { list-style: none; cursor: pointer; padding: 12px 0 12px 16px; margin-block: -12px; }
  .mobile-menu nav { position: absolute; z-index: 5; right: 0; top: calc(100% - 4px); width: min(280px, 100%); display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--card-line); border-radius: 12px; background: #171717; box-shadow: 0 12px 36px #0008; }
  .mobile-menu nav a { padding: 14px 12px; border-radius: 6px; }
  .mobile-menu nav a:hover { background: #252525; color: #fff; }
  .hero { padding-top: 64px; padding-bottom: 48px; gap: 40px; }
  .hero h1 { font-size: min(44px, calc((100vw - 52px) / 8.7)); letter-spacing: -1.4px; }   /* cada linha do título cabe sem quebrar */
  .hero-description { font-size: 16px; }
  .hero-background img { width: auto; height: auto; }
  .actions { flex-direction: column; align-items: center; }
  .actions .button { width: 220px; }
  .preview-frame { border-radius: 10px; }
  .manifesto { padding: 32px; }
  .manifesto h2 { font-size: 22px; }
  .section { padding-block: 64px; }
  .section-heading h2 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 190px; padding: 28px; border-right: 0; }
  .feature:nth-last-child(-n + 3) { border-bottom: 1px solid #2a2a2a; }
  .feature:last-child { border-bottom: 0; }
  .desktop-break { display: none; }
  .how-it-works { padding-block: 64px; }
  .how-it-works .section-heading h2 { font-size: 34px; }
  .step-track { display: none; }
  .step-cards { grid-template-columns: 1fr; gap: 24px; }
  .step-card { min-height: 430px; }
  .step-badge .icon { display: none; }
  .step-number { display: block; font-weight: 600; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro h2 { font-size: 32px; }
  .download { padding-block: 64px; gap: 24px; }
  .download h2 { font-size: 36px; letter-spacing: -1px; }
  .site-footer { padding-top: 56px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; }
  .footer-links { text-align: left; }
  .footer-links nav { justify-content: flex-start; }
}

@media (max-width: 359px) {
  .section-heading h2, .how-it-works .section-heading h2 { font-size: 30px; }
  .feature { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Página de versões (versoes.html) */
.versions-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 72px 24px 40px; text-align: center; }
.versions-hero h1 { font-size: 56px; line-height: 1.1; letter-spacing: -2px; font-weight: 500; text-wrap: balance; }
.versions-lead { max-width: 620px; color: var(--muted); font-size: 18px; text-wrap: balance; }
.versions { max-width: 820px; padding-bottom: 96px; }
.release-list { display: flex; flex-direction: column; gap: 16px; }
.release { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--card-line); background: var(--card); border-radius: 16px; }
.release-latest { border-color: #565656; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.release-head h2 { font-size: 24px; font-weight: 600; }
.release-badge { padding: 3px 10px; border-radius: 999px; background: #1d3a2b; color: #7be0ab; font-size: 12px; font-weight: 600; }
.release-badge-pre { background: #3b321f; color: #e8c779; }
.release-date { margin-left: auto; font-size: 14px; }
.release-notes { display: flex; flex-direction: column; gap: 8px; color: #cfd6e2; font-size: 15px; }
.release-notes ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 20px; }
.release-notes code { padding: 1px 6px; border-radius: 4px; background: #232323; font-size: 13px; }
.release-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.release-downloads .button { min-height: 44px; padding: 10px 18px; }
.release-size { margin-left: 4px; opacity: .6; font-weight: 400; }
.release-github { margin-left: auto; color: var(--muted); font-size: 14px; }
.release-github:hover, .inline-link { text-decoration: underline; text-underline-offset: 4px; }
.release-github:hover { color: #fff; }
.versions-status { padding: 32px 0; text-align: center; }
@media (max-width: 767px) {
  .versions-hero { padding: 48px 24px 24px; }
  .versions-hero h1 { font-size: 36px; letter-spacing: -1.2px; }
  .versions-lead { font-size: 16px; }
  .versions { padding-bottom: 64px; }
  .release { padding: 20px; }
  .release-date { width: 100%; margin-left: 0; }
  .release-downloads .button { flex: 1 1 100%; }
  .release-github { margin-left: 0; }
}

/* Ícone do Windows nos botões de download */
.btn-icon { width: 18px; height: 18px; margin-right: 10px; fill: currentColor; flex: none; }

/* Janela "Baixar para Windows" */
.download-dialog { width: min(560px, calc(100% - 32px)); padding: 0; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); color: var(--text); box-shadow: 0 30px 90px #000a; }
.download-dialog::backdrop { background: #000c; backdrop-filter: blur(4px); }
body:has(.download-dialog[open]) { overflow: hidden; }
.download-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.download-card h2 { font-size: 28px; font-weight: 600; letter-spacing: -.5px; }
.download-lead { font-size: 15px; }
.download-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.download-close:hover { background: #262626; color: #fff; }
.download-close:focus-visible, .download-option:focus-visible, .download-all:focus-visible { outline: 2px solid #dcdcdc; outline-offset: 3px; }
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.download-option { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--background); transition: border-color .15s, background .15s, transform .15s; }
.download-option:hover { border-color: #777; background: #141414; }
.download-option:active { transform: translateY(1px); }
.download-option strong { font-size: 18px; font-weight: 600; }
.download-option span { color: #cfd6e2; font-size: 14px; }
.download-meta { margin-top: auto; padding-top: 6px; font-size: 12px; }
.download-all { align-self: center; margin-top: 8px; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.download-all:hover { color: #fff; }
@media (max-width: 767px) {
  .download-card { padding: 28px 20px 24px; }
  .download-options { grid-template-columns: 1fr; }
}
