:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --ink: #16161a;
  --muted: #62666e;
  --accent: #f25c05;
  /* O laranja da marca em texto pequeno não passa no AA (3:1); este passa (4,7:1 no fundo, 5,2:1 no branco). */
  --accent-ink: #c2410c;
  --gold: #fa9e1a;
  --gold-light: #ffcc73;
  --line: #e3e6ea;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; }
/* Japonês: quebra entre frases, não no meio da palavra (Chrome; os outros ignoram). */
:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }

/* width/height no HTML reservam o espaço; a altura real vem da largura. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Barra do topo */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 245, 247, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav.menu { display: flex; gap: 22px; margin-left: auto; }
.top nav.menu a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; opacity: .8; }
.top nav.menu a:hover { opacity: 1; }

/* Idiomas: links para esta mesma página nos outros idiomas, cada nome na própria língua. */
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2362666e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1;
  padding: 8px 30px 8px 11px;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { border-color: var(--muted); }
.langs summary svg { flex: none; color: var(--muted); }
.langs summary .name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  margin: 0; padding: 6px; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(118px, 1fr)); gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
}
.langs li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.langs li a:hover { background: var(--bg); }
.langs li a[aria-current] { background: var(--bg); color: var(--accent-ink); font-weight: 700; }

/* Selo oficial da App Store (Apple Marketing Toolbox), sem alterar a arte. */
.store { display: inline-flex; align-items: center; text-decoration: none; }
.store img { height: 40px; width: auto; }
.store.big img { height: 54px; }

/* Destaque */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 620px; z-index: -1;
  background: radial-gradient(closest-side, rgba(250, 158, 26, .35), rgba(242, 92, 5, .08) 60%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 10px 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ghost { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--muted); }

/* iPhone: a tela inteira (1179 × 2556), cantos de iPhone e a Dynamic Island */
.phone {
  position: relative;
  border-radius: 46px; padding: 10px; background: #111;
  box-shadow: 0 30px 70px rgba(80, 40, 0, .25), 0 0 0 1px rgba(0,0,0,.05);
  max-width: 340px; margin: 0 auto;
}
.phone img { width: 100%; aspect-ratio: 1179 / 2556; object-fit: cover; border-radius: 37px; }
.phone::after {
  content: ""; position: absolute; left: 50%; top: 10px; margin-top: 2.6%;
  width: 30%; aspect-ratio: 3.4; transform: translateX(-50%);
  background: #000; border-radius: 999px;
}
.feature .phone { max-width: 270px; }

/* Três telas do app no destaque */
.trio { position: relative; height: 560px; }
.trio .phone { position: absolute; margin: 0; }
.trio .front { width: 250px; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; border-radius: 42px; }
.trio .front img { border-radius: 33px; }
.trio .side { width: 200px; top: 80px; padding: 8px; border-radius: 34px; }
.trio .side img { border-radius: 27px; }
.trio .side::after { top: 8px; }
.trio .left { left: 0; transform: rotate(-7deg); }
.trio .right { right: 0; transform: rotate(7deg); }

/* Galeria das capturas da App Store: rola de lado, uma tela por vez no celular */
.shots-block { padding-top: 24px; }
.shots-frame { position: relative; }
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px 4px 28px; scrollbar-width: none;
}
.shots:focus-visible { outline-offset: -2px; }
.shots::-webkit-scrollbar { display: none; }
.shots img {
  flex: 0 0 auto; width: 240px; height: auto; border-radius: 24px; scroll-snap-align: start;
  box-shadow: 0 18px 40px rgba(80, 40, 0, .18);
}
/* As setas só aparecem com JS (sem ele, a galeria rola com o dedo ou o trackpad). */
.shots-nav {
  display: none;
  position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--card); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.js .shots-nav { display: block; }
.shots-nav.prev { left: -8px; }
.shots-nav.next { right: -8px; }

/* Seções */
section.block { padding: 72px 0; }
.block h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; }
.block p.sub { color: var(--muted); font-size: 19px; margin: 0 0 36px; max-width: 40em; }
.center { text-align: center; }
.center p.sub, p.sub.center { margin-left: auto; margin-right: auto; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--gold-light), var(--gold)); font-size: 22px;
}

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.feature.flip .text { order: 2; }
.feature .text h3 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 12px; line-height: 1.15; }
.feature .text p { color: var(--muted); font-size: 18px; margin: 0 0 12px; }

.tool { padding: 0; overflow: hidden; }
.tool img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tool div { padding: 18px 20px 22px; }

.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sources .card strong { display: block; font-size: 18px; margin-bottom: 4px; }

/* Pro */
.pro { background: linear-gradient(165deg, #1f1a16, #16161a); color: #fff; border-radius: 32px; padding: 56px 48px; }
.pro h2 { color: #fff; }
.pro p.sub { color: rgba(255,255,255,.75); }
.pro :focus-visible { outline-color: var(--gold); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px; }
.plan.on { background: linear-gradient(160deg, rgba(250,158,26,.22), rgba(242,92,5,.18)); border-color: rgba(250,158,26,.6); }
.plan h3 { margin: 0 0 12px; font-size: 22px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: rgba(255,255,255,.88); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.pro .note { color: rgba(255,255,255,.72); font-size: 15px; margin: 22px 0 0; }

.privacy { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.big-icon { font-size: 54px; line-height: 1.2; }

.final {
  border-radius: 32px; padding: 64px 24px; text-align: center; color: #fff;
  background: linear-gradient(rgba(20,10,0,.45), rgba(20,10,0,.62)), url("photo-house.jpg?v=76ecf70062") center / cover;
}
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.9); font-size: 19px; margin: 0 0 26px; }
.final .store { justify-content: center; }
.final p.req { font-size: 14px; color: rgba(255,255,255,.85); margin: 14px 0 0; }

/* Privacidade e suporte */
.doc { padding: 40px 0 8px; }
.doc .wrap { max-width: 820px; }
.doc .card { padding: 36px 40px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 6px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc .card p, .doc li { color: var(--ink); font-size: 17px; }
.doc .card p { margin: 0 0 12px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc .card p.muted { color: var(--muted); font-size: 15px; }

/* Página não encontrada */
.nf { padding: 72px 0 24px; }
.nf .card { max-width: 560px; margin: 0 auto; text-align: center; padding: 44px 28px; }
.nf h1 { font-size: 32px; line-height: 1.2; margin: 6px 0 8px; }
.nf .card p { margin: 0 0 22px; }
.button { display: inline-block; background: var(--accent-ink); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; }

footer.site { padding: 48px 0 40px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
footer.site a { color: var(--ink); text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; }

/* "Ver esta página em <idioma>?": só aparece pelo site.js; fixa embaixo, não empurra o conteúdo. */
.offer {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30;
  display: flex; align-items: center; gap: 4px; max-width: calc(100% - 32px);
  background: #16161a; color: #fff; border-radius: 999px; padding: 6px 6px 6px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-size: 15px;
}
.offer[hidden] { display: none; }
.offer a { color: var(--gold-light); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer a:hover { text-decoration: underline; }
.offer :focus-visible { outline-color: var(--gold-light); }
.offer button {
  flex: none; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
}
.offer button:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 900px) {
  .hero .wrap, .feature, .plans { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .grid4, .sources { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .top nav.menu { display: none; }
  .langs { margin-left: auto; }
  .pro { padding: 40px 22px; }
}

@media (max-width: 560px) {
  .trio { height: 400px; }
  .trio .front { width: 180px; padding: 7px; border-radius: 30px; }
  .trio .front img { border-radius: 24px; }
  .trio .front::after { top: 7px; }
  .trio .side { width: 140px; top: 60px; padding: 6px; border-radius: 24px; }
  .trio .side img { border-radius: 19px; }
  .trio .side::after { top: 6px; }
  body { font-size: 16px; }
  .grid4, .grid3, .sources { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  /* No celular o selo não cabe no topo: o botão fica no destaque. */
  .top .store { display: none; }
  .top .wrap { gap: 10px; }
  /* O nome some da tela, mas continua sendo o texto do link. */
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .privacy { grid-template-columns: 1fr; }
  .shots img { width: 68vw; }
  .js .shots-nav { display: none; }
  .doc .card { padding: 26px 20px; }
}
