/* Pipa — site. Cores do app (apps/ios/RCClient/Design/Theme.swift). */
:root {
  --bg: #090a12;
  --bg-2: #10121d;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #eef0f7;
  --muted: #a3a8bd;
  --faint: #6d7288;
  --accent: #5c8cff;
  --accent-2: #9e66ff;
  --good: #40d98c;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 22px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 520px at 12% -6%, rgba(92, 140, 255, 0.30), transparent 70%),
    radial-gradient(560px 480px at 96% 30%, rgba(158, 102, 255, 0.22), transparent 70%);
}
a { color: #8fb0ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
code { font: 0.9em ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,0.07); padding: 0.1em 0.35em; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Topo */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); background: rgba(9, 10, 18, 0.72); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav .lang { border: 1px solid var(--card-border); border-radius: 999px; padding: 3px 10px; font-size: 13px; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; color: #fff; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); box-shadow: 0 8px 30px rgba(110, 110, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(110, 110, 255, 0.5); }
.btn-ghost { background: var(--card); border-color: var(--card-border); }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: default; transform: none; }
.btn small { font-weight: 500; opacity: 0.8; font-size: 13px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); border: 1px solid var(--card-border); background: var(--card); border-radius: 999px; padding: 5px 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 750; }
h1 .grad, h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--faint); }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

/* Seções */
section { padding: 64px 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 720; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 40em; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.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(135deg, rgba(92,140,255,0.25), rgba(158,102,255,0.25)); border: 1px solid rgba(255,255,255,0.1); }
.icon svg { width: 22px; height: 22px; stroke: #cfdcff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 26px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0 10px 30px; position: relative; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.05); }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.list strong { color: var(--text); font-weight: 600; }

.download { text-align: center; }
.download .card { max-width: 760px; margin: 0 auto; padding: 44px 32px; background: linear-gradient(160deg, rgba(92,140,255,0.14), rgba(158,102,255,0.10)); }
.download img.app { width: 96px; height: 96px; margin: 0 auto 14px; }
.download .cta { justify-content: center; margin-top: 24px; }
.meta { margin-top: 18px; font-size: 13px; color: var(--faint); word-break: break-all; }

/* Páginas de texto */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-top: 0; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.015em; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { color: #c9cddc; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .updated { color: var(--faint); font-size: 15px; }
.doc .summary { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 6px 24px; margin: 26px 0; }
.faq details { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 4px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--text); }
.faq details[open] summary { border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 8px; }
.contact { margin-top: 40px; }

/* Rodapé */
footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 34px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav nav a.hide-sm { display: none; }
  .nav nav { gap: 14px; }
  .grid, .steps { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .btn { width: 100%; justify-content: center; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
