/* nemvi.app: landing page.
   Layout: faixas inteiras alternando grafite e papel; conteúdo numa coluna de até 1180px.
   A listra laranja da "tampa" (o jeito como a extensão cobre o que você não quer ver) é o motivo visual. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --ink: #19181b;
  --graphite: #2b2a2e;
  --graphite-2: #232226;
  --paper: #f2efea;
  --paper-2: #e8e3db;
  --text: #f2efea;
  --text-dark: #1c1b1f;
  --muted: #aaa6ae;
  --muted-dark: #5f5b63;
  --orange: #ff7a33;
  --orange-hi: #ff9455;
  --ok: #4ade80;
  --line: rgba(255, 255, 255, .09);
  --line-dark: rgba(28, 27, 31, .12);
  --radius: 18px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hatch: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--graphite) 10px 20px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.band { padding-block: clamp(72px, 10vw, 128px); }
.band.paper { background: var(--paper); color: var(--text-dark); color-scheme: light; }
.band.graphite { background: var(--graphite-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.paper .eyebrow { color: #c4520f; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 19px; }
.paper .section-head p { color: var(--muted-dark); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 700 16px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--orange-hi), var(--orange)); color: #1c0e03; box-shadow: 0 14px 34px -14px rgba(255, 122, 51, .8); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(255, 122, 51, .9); }
.btn-primary[aria-disabled="true"] { background: var(--graphite); color: var(--muted); box-shadow: none; border-color: var(--line); cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn svg { flex: none; }

/* cabeçalho */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(25, 24, 27, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.05em; }
.logo img { width: 34px; height: auto; margin-top: 4px; }
.logo b { color: var(--orange); font-weight: 800; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav a:hover { color: var(--text); }
.site-head .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; }
@media (max-width: 860px) { .site-nav { display: none; } .site-head .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.hero::before { content: ""; position: absolute; right: -180px; top: 80px; width: 640px; height: 640px; border-radius: 120px; background: var(--hatch); opacity: .12; transform: rotate(8deg); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -.05em; line-height: .96; }
.hero h1 em { font-style: normal; color: var(--orange); white-space: nowrap; }
.hero-lead { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); color: #cfcbd3; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* demo */
.demo { display: grid; gap: 14px; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #2f2e33; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #4a4850; display: block; }
.url { flex: 1; min-width: 0; height: 30px; border-radius: 999px; background: #1f1e22; color: #b3afb8; font-size: 13px; display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext { position: relative; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #1f1e22; }
.ext img { width: 18px; height: 18px; }
.ext .badge { position: absolute; top: -5px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #1c0e03; font: 800 11px/18px var(--font); text-align: center; transition: transform .2s; }
.ext .badge[hidden] { display: none; }
.browser iframe { display: block; width: 100%; height: 540px; border: 0; background: #f6f4f0; }
@media (max-width: 560px) { .browser iframe { height: 460px; } } /* no celular a demo não rola por dentro (demo.js), então fica mais baixa */
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 999px; background: #3a3940; position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d7d3db; transition: transform .2s, background .2s; }
.switch input:checked + .track { background: var(--orange); }
.switch input:checked + .track::after { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + .track { outline: 2px solid var(--orange); outline-offset: 3px; }
.modes { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: var(--graphite); border: 1px solid var(--line); margin-left: auto; }
.modes button { border: 0; background: none; color: var(--muted); font: 700 13.5px var(--font); padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.modes button:hover { color: var(--text); }
.modes button[aria-pressed="true"] { background: #3a3940; color: var(--orange); }
.demo-note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .modes { margin-left: 0; } }

/* como funciona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--graphite); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1c0e03; font-weight: 800; font-size: 19px; }
.step h3 { font-size: 23px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* modos */
.mode-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mode-card { display: grid; gap: 12px; align-content: start; }
.mode-card h3 { font-size: 20px; }
.mode-card p { font-size: 15px; color: var(--muted-dark); }
.tile { aspect-ratio: 4 / 3; border-radius: 14px; background: #fff; border: 1px solid var(--line-dark); position: relative; overflow: hidden; padding: 14px; display: grid; gap: 7px; align-content: start; }
.tile i { display: block; height: 9px; border-radius: 5px; background: #d9d4cc; }
.tile i:nth-child(1) { width: 40%; height: 7px; }
.tile i:nth-child(2) { width: 92%; }
.tile i:nth-child(3) { width: 74%; }
.tile .over { position: absolute; inset: 0; display: grid; place-items: center; }
.tile.t-cover .over { background: repeating-linear-gradient(-45deg, rgba(28,27,31,.08) 0 7px, transparent 7px 14px), #fff; border-left: 4px solid var(--orange); }
.tile.t-blur i { filter: blur(5px); opacity: .7; }
.tile.t-blur .over span { background: #fff; border: 1px solid var(--line-dark); border-left: 3px solid var(--orange); border-radius: 6px; font-size: 11px; font-weight: 700; padding: 3px 8px; color: var(--muted-dark); }
.tile.t-collapse { aspect-ratio: auto; height: auto; padding: 0; border: 0; background: none; display: grid; gap: 8px; }
.tile.t-collapse .strip { height: 30px; border-radius: 8px; border: 1px dashed rgba(28,27,31,.3); border-left: 4px solid var(--orange); background: repeating-linear-gradient(-45deg, rgba(28,27,31,.07) 0 7px, transparent 7px 14px); }
.tile.t-collapse .next { height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--line-dark); }
.tile.t-hide { border-style: dashed; background: transparent; }
.tile.t-cute .over { background: var(--orange); }
.tile .over span.lbl { font-size: 11.5px; font-weight: 700; color: var(--muted-dark); }
.tile.t-cute .over span.lbl { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: rgba(20,20,22,.75); color: #fff; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 980px) { .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mode-grid { grid-template-columns: minmax(0, 1fr); } }

/* prints */
.shots { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.shot { margin: 0; display: grid; gap: 12px; }
.shot img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); background: var(--graphite); }
.shot figcaption { font-size: 15px; color: var(--muted); }
.shot figcaption b { color: var(--text); }
.shot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
@media (max-width: 860px) { .shots, .shot-row { grid-template-columns: minmax(0, 1fr); } }

/* pacotes */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.pack { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark); display: grid; gap: 8px; align-content: start; }
.pack h3 { font-size: 19px; }
.pack p { font-size: 15px; color: var(--muted-dark); }
.pack .only { font-size: 12.5px; font-weight: 700; color: #c4520f; }
@media (max-width: 980px) { .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .packs { grid-template-columns: minmax(0, 1fr); } }

/* privacidade */
.privacy { position: relative; overflow: hidden; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.privacy h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; }
.privacy h2 span { color: var(--ok); }
.privacy .lead { margin-top: 20px; font-size: 19px; color: #cfcbd3; }
.checks { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: var(--graphite); border: 1px solid var(--line); }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: rgba(74, 222, 128, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%234ade80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks b { display: block; font-size: 17px; }
.checks span { color: var(--muted); font-size: 15.5px; }
.footnote { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } }

/* recursos */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; margin: 0; list-style: none; }
.features li { background: var(--ink); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.features h3 { font-size: 18.5px; letter-spacing: -.02em; }
.features p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* perguntas */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line-dark); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #c4520f; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted-dark); }

/* café */
.coffee { position: relative; overflow: hidden; }
.coffee-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 122, 51, .16), transparent 55%), var(--graphite); border: 1px solid var(--line); }
.coffee-card h2 { font-size: clamp(34px, 5vw, 54px); }
.coffee-card p { margin-top: 16px; color: #cfcbd3; font-size: 18px; }
.coffee-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pix { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; border-radius: 20px; background: var(--ink); border: 1px solid var(--line); }
.pix img { width: 132px; height: 132px; padding: 8px; border-radius: 12px; background: #fff; image-rendering: pixelated; }
.pix b { display: block; font-size: 17px; }
.pix code { display: inline-block; margin-top: 6px; font: 700 15px ui-monospace, "SF Mono", Menlo, monospace; color: var(--orange); }
.pix p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.pix button { margin-top: 10px; min-height: 40px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) { .coffee-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .pix { grid-template-columns: minmax(0, 1fr); } }

/* rodapé */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.site-foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-foot nav a:hover { color: var(--text); }
.made { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.made img { height: 15px; width: auto; }
.copy { width: 100%; color: #6f6b73; font-size: 13px; }
.dot { margin-left: -.07em; } /* o ponto da Plus Jakarta tem respiro largo em títulos grandes */
.section-head .eyebrow { color: var(--orange); }
.paper .section-head .eyebrow { color: #c4520f; }
.pack .inspo { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-dark); font-size: 14.5px; line-height: 1.55; color: #3d3a40; }
.pack .inspo b { color: #c4520f; font-weight: 700; }
/* celular: o botão do cabeçalho não cabe ao lado da logo; o do topo da página faz o papel */
@media (max-width: 560px) {
  .site-head .btn { display: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
}
.hero-grid > * { min-width: 0; }
/* a grade interna da figura não pode crescer até a largura original do print */
.shot { grid-template-columns: minmax(0, 1fr); min-width: 0; }

/* abas da demo */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tabs button { border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 13.5px var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.demo-tabs button:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.demo-tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
