/* Página do produto (/ e /en). Identidade do app: mesa clara, azul de caneta, fita amarela, papel; fonte Bricolage.
   Grade de 8 pt. No celular nada de caixinhas empilhadas: listas em linhas ou carrossel lateral. */
@font-face { font-family: "Bricolage"; src: url(/fonts/Bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
:root {
  --desk: #e8edf2; --paper: #fff; --ink: #1e2935; --ink-2: #56626e; --line: #d6dde6; --dot: #c9d3de;
  --pen: #2b59e0; --pen-ink: #fff; --pen-soft: rgba(43, 89, 224, .1); --marker: #ffe45c; --tape: rgba(255, 228, 92, .85);
  --band: #f6f3ea; --band-2: #eef2fb; --final: #2b59e0;
  --bezel: #1a1f27; --shadow: 0 1px 2px rgba(30, 41, 53, .06), 0 24px 48px -20px rgba(30, 41, 53, .35);
  --shadow-sm: 0 1px 2px rgba(30, 41, 53, .06), 0 8px 20px -12px rgba(30, 41, 53, .3);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --desk: #161c24; --paper: #1f2732; --ink: #e7ecf2; --ink-2: #a3afbc; --line: #313c4a; --dot: #28323e;
    --pen: #86a2ff; --pen-ink: #121826; --pen-soft: rgba(134, 162, 255, .14); --marker: #e8cf4c; --tape: rgba(232, 207, 76, .8);
    --band: #1c232d; --band-2: #1a2231; --final: #2b4fc4;
    --bezel: #05070a; --shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 48px -20px rgba(0, 0, 0, .7);
    --shadow-sm: 0 0 0 1px rgba(255, 255, 255, .04), 0 8px 20px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); font: 17px/1.6 "Bricolage", system-ui, sans-serif; overflow-x: hidden;
  background: var(--desk) radial-gradient(var(--dot) 1.2px, transparent 1.5px) 0 0 / 24px 24px; }
a { color: var(--pen); }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.02em; font-stretch: 90%; }
p { text-wrap: pretty; margin: 0; }
kbd { font: inherit; font-size: .85em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; background: var(--paper); }
.center { text-align: center; }
.only-phone { display: none; }
.nw { white-space: nowrap; }

/* topo */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--desk) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: 8px 0; }
.top nav a:hover { color: var(--ink); }
.top-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.top-login:hover { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 780; font-stretch: 85%; letter-spacing: -.02em; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand-mark { width: 24px; height: 21px; border-radius: 6px; background: var(--pen); position: relative; }
.brand-mark::before { content: ""; position: absolute; left: 3px; top: -4px; width: 11px; height: 6px; border-radius: 3px 3px 0 0; background: var(--marker); }

/* botões: caneta azul e papel (não é a pílula do iOS) */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 12px 24px; border-radius: 12px; background: var(--pen); color: var(--pen-ink); font-weight: 700;
  font-size: 16px; text-decoration: none; border: 1.5px solid var(--pen); box-shadow: 0 6px 16px -8px var(--pen); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px var(--pen); }
.btn:focus-visible, summary:focus-visible, a:focus-visible, .tour label:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.small { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }

/* fita adesiva (rótulo) */
.tape { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #1e2935; padding: 4px 14px; background: var(--tape); transform: rotate(-1.5deg); margin-bottom: 16px;
  clip-path: polygon(2% 0, 98% 6%, 100% 50%, 98% 94%, 2% 100%, 0 50%); }

/* hero: texto à esquerda, dois celulares à direita */
.hero { padding: 64px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 800; }
.sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); margin-top: 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 16px; }
.fine a { display: inline-block; padding: 10px 0; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero-art .phone { width: 270px; }
.hero-art .phone.back { position: absolute; width: 230px; left: calc(50% - 250px); bottom: 32px; transform: rotate(-7deg); opacity: .96; }
.hero-art .phone.front { position: relative; left: 60px; transform: rotate(2deg); z-index: 1; }
.hero-art .sticker { position: absolute; z-index: 2; right: calc(50% - 250px); top: 16px; background: var(--paper); box-shadow: var(--shadow-sm); border-radius: 12px; padding: 8px 16px; font-weight: 700; font-size: 15px; transform: rotate(3deg); }
.hero-art .sticker b { color: var(--pen); }

/* celular (moldura) */
.phone { position: relative; margin: 0; padding: 8px; border-radius: 44px; background: var(--bezel); box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; z-index: 1; top: 18px; left: 50%; width: 30%; height: 18px; translate: -50% 0; border-radius: 12px; background: var(--bezel); }
.phone > img, .phone > video { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 36px; background: var(--desk); }

/* navegador (moldura do computador) */
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 16px; font-size: 13px; color: var(--ink-2); background: var(--desk); border-radius: 8px; padding: 2px 16px; }
.browser > img, .browser > video, .browser picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--desk); }

/* faixa de telas reais: trilho lateral com rolagem e ímã (no celular o próximo aparece na borda) */
.reel { padding: 24px 0 80px; }
.reel h2 { margin-bottom: 8px; }
.reel .lead { margin-bottom: 40px; }
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(16px, calc((100% - 1120px) / 2)) 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 216px; margin: 0; scroll-snap-align: center; }
.rail figcaption { margin-top: 16px; text-align: center; font-size: 15px; color: var(--ink-2); }
.rail figcaption b { display: block; color: var(--ink); font-size: 17px; }
.phone.sm { border-radius: 36px; padding: 6px; }
.phone.sm::before { top: 14px; height: 14px; }
.phone.sm > img { border-radius: 30px; }

/* seções */
.section { padding: 96px 0; }
.section.tint { background: var(--paper); border-block: 1px solid var(--line); }
.section.band { background: var(--band); border-block: 1px solid var(--line); }
.section.band-2 { background: var(--band-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; font-weight: 780; }
.section > .wrap > h2, .reel h2 { text-align: center; }
.lead { font-size: 18px; color: var(--ink-2); text-align: center; margin: 16px auto 56px; max-width: 640px; }
h3 { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; font-weight: 740; }

/* como funciona: 3 passos (colunas no computador, linhas no celular) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 24px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--marker); color: #1e2935; font-weight: 800; font-size: 20px; margin-bottom: 16px; transform: rotate(-3deg); }
.steps p { color: var(--ink-2); margin-top: 8px; }

/* vídeo do computador */
.watch .browser { max-width: 1040px; margin: 0 auto; }
.watch .browser > video { aspect-ratio: 1440 / 900; }
.caption { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 16px; }

/* blocos de recurso: texto + imagem, alternando */
.feat { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feat + .feat { margin-top: 96px; }
.feat.flip { grid-template-columns: 7fr 5fr; }
.feat.flip .txt { order: 2; }
.feat > * { min-width: 0; }
.feat .txt p { color: var(--ink-2); margin-top: 16px; }
.feat .txt h2 { text-align: left; }
.duo { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.duo .browser { width: 100%; }
.duo .phone { position: absolute; width: 168px; right: -8px; bottom: -32px; }
.say { margin-top: 96px; }
.say .chips { max-width: 440px; margin: 0 auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 6px -2px rgba(30,41,53,.15); border-radius: 10px; padding: 8px 16px; font-weight: 650; color: var(--pen); }
.chips li:nth-child(2n) { rotate: 1.5deg; } .chips li:nth-child(3n) { rotate: -2deg; background: var(--marker); color: #1e2935; }

/* telas por dentro: abas (rádio, sem JS) */
.tour input { position: absolute; opacity: 0; pointer-events: none; }
.tour-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tour-tabs label { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 12px; font-weight: 700; color: var(--ink-2); border: 1.5px solid var(--line); background: var(--paper); }
.tour-pane { display: none; max-width: 1040px; margin: 0 auto; }
.tour-pane figcaption { text-align: center; color: var(--ink-2); margin-top: 24px; }
#t1:checked ~ .tour-tabs [for="t1"], #t2:checked ~ .tour-tabs [for="t2"], #t3:checked ~ .tour-tabs [for="t3"], #t4:checked ~ .tour-tabs [for="t4"] { background: var(--pen); border-color: var(--pen); color: var(--pen-ink); }
#t1:checked ~ .tour-panes .p1, #t2:checked ~ .tour-panes .p2, #t3:checked ~ .tour-panes .p3, #t4:checked ~ .tour-panes .p4 { display: block; }
#t1:focus-visible ~ .tour-tabs [for="t1"], #t2:focus-visible ~ .tour-tabs [for="t2"], #t3:focus-visible ~ .tour-tabs [for="t3"], #t4:focus-visible ~ .tour-tabs [for="t4"] { outline: 3px solid var(--marker); outline-offset: 2px; }

/* temas: três celulares lado a lado (no celular, trilho lateral) */
.themes { display: flex; justify-content: center; gap: 32px; }
.themes figure { margin: 0; width: 240px; }
.themes figcaption { text-align: center; margin-top: 16px; font-weight: 700; }

/* resumo e privacidade: itens com marcador, sem cartão */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio p { color: var(--ink-2); font-size: 16px; }
.trio b { color: var(--ink); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.card { border-top: 3px solid var(--pen); padding-top: 20px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-2); }
.more { margin-top: 40px; text-align: center; color: var(--ink-2); font-size: 15px; }
.more a { display: inline-block; padding: 10px 0; }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 24px; min-height: 56px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--pen); }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 24px; color: var(--ink-2); }
#faq h2 { margin-bottom: 48px; }

.final { padding: 96px 0; text-align: center; background: var(--final); color: #fff; }
.final .btn { background: #fff; color: #2b59e0; border-color: #fff; }
.final .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.final .cta { justify-content: center; }
footer { padding: 40px 0 48px; text-align: center; color: var(--ink-2); font-size: 14px; background: var(--paper); }
footer p + p { margin-top: 8px; }
footer a { display: inline-block; padding: 10px 4px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .cta { justify-content: center; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 40px; }
  .feat.flip .txt { order: 0; }
  .feat .txt h2 { text-align: center; } .feat .txt { text-align: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .top .top-login { margin-left: auto; }
  .top .top-login + .btn { margin-left: 0; }
  .hero { padding: 40px 0 56px; }
  .hero-art { min-height: 440px; }
  .hero-art .phone.front { width: 200px; left: 40px; }
  .hero-art .phone.back { width: 172px; left: calc(50% - 168px); bottom: 24px; }
  .hero-art .sticker { right: 8px; top: 0; font-size: 14px; }
  .cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .reel { padding: 8px 0 56px; }
  .rail { gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .rail figure { flex-basis: 62%; scroll-snap-align: start; }
  .lead { margin-bottom: 40px; }
  .duo { padding-bottom: 8px; }
  .duo .phone { width: 116px; right: -4px; bottom: -24px; padding: 5px; border-radius: 26px; }
  .duo .phone::before { top: 10px; height: 10px; }
  .duo .phone > img, .duo .phone > video { border-radius: 21px; }
  .feat + .feat { margin-top: 72px; }
  /* passos, resumo e privacidade: linhas (número/marcador à esquerda, linha fina entre elas) */
  .steps, .trio, .grid { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .trio p, .card { border-top: 0; border-bottom: 1px solid var(--line); padding: 16px 0 16px 20px; position: relative; }
  .trio p::before, .card::before { content: ""; position: absolute; left: 0; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--pen); }
  .trio, .grid { border-top: 1px solid var(--line); }
  .only-phone { display: inline; }
  .say { margin-top: 64px; }
  .tour-tabs { gap: 6px; }
  .tour-tabs label { padding: 8px 12px; font-size: 15px; }
  .tour .browser { border-radius: 36px; padding: 6px; background: var(--bezel); border: 0; max-width: 300px; margin: 0 auto; }
  .tour .browser-bar { display: none; }
  .tour .browser picture img { aspect-ratio: 390 / 844; border-radius: 30px; }
  .themes { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 16px; margin-inline: -16px; padding: 8px 16px 16px; scrollbar-width: none; }
  .themes::after { content: ""; flex: 0 0 1px; }
  .themes figure { flex: 0 0 62%; scroll-snap-align: start; }
  .watch .browser { border-radius: 12px; }
  .browser-bar { height: 28px; padding: 0 12px; } .browser-bar i { width: 8px; height: 8px; } .browser-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Frase de impacto que clareia na rolagem (js/sweep.js) */
.why { padding: 112px 0 96px; }
.why-label { margin: 0 0 16px; font-size: 15px; font-weight: 750; letter-spacing: .02em; color: var(--ink-2); }
.why-text { margin: 0; max-width: 21em; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.12; font-weight: 780; font-stretch: 90%; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
@media (max-width: 760px) { .why { padding: 72px 0 56px; } }

/* Movimento (CLAUDE.md): só opacity/transform, curva das folhas do iOS, nada em loop. Reduzir movimento desliga tudo. */
@keyframes l-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes l-fade { from { opacity: 0; } }
/* abertura: título, frase, botões e nota entram em sequência (50 ms), depois a arte */
.hero-in > div:first-child > * { animation: l-rise .42s cubic-bezier(.32, .72, 0, 1) backwards; }
.hero-in > div:first-child > :nth-child(2) { animation-delay: 50ms; }
.hero-in > div:first-child > :nth-child(3) { animation-delay: 100ms; }
.hero-in > div:first-child > :nth-child(4) { animation-delay: 150ms; }
.hero-in > div:first-child > :nth-child(5) { animation-delay: 200ms; }
.hero-art { animation: l-fade .5s cubic-bezier(.32, .72, 0, 1) .12s backwards; }
/* abas "Tour": o painel novo entra subindo e aparecendo, em vez de trocar de repente */
.tour-pane { animation: l-rise .38s cubic-bezier(.32, .72, 0, 1) backwards; }
.tour-tabs label { transition: background-color .2s cubic-bezier(.32, .72, 0, 1), color .2s cubic-bezier(.32, .72, 0, 1); }
/* perguntas: a resposta aparece ao abrir */
details[open] > p { animation: l-rise .32s cubic-bezier(.32, .72, 0, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
  .hero-in > div:first-child > *, .hero-art, .tour-pane, details[open] > p { animation: none; }
  .tour-tabs label { transition: none; }
}
