/* Phase Lab — mesmo design system do Ótica Ágil (tema neutro preto e branco, Inter Tight) */
:root {
  --bg: #0a0a0b; --surface: #111113; --surface-2: #1a1a1d; --surface-3: #26262a;
  --border: #2a2a2e; --border-strong: #3a3a3f;
  --text: #f7f7f7; --muted: #9a9aa0; --subtle: #6b6b71;
  --primary: #f7f7f7; --primary-fg: #0a0a0b; --positive: #22c55e;
  --highlight: rgba(255, 255, 255, .18); --shadow: rgba(0, 0, 0, .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f2f4; --surface: #ffffff; --surface-2: #e9e9ec; --surface-3: #dcdce0;
    --border: #dedee3; --border-strong: #c4c4cb;
    --text: #0a0a0b; --muted: #55555c; --subtle: #7c7c84;
    --primary: #0a0a0b; --primary-fg: #ffffff; --positive: #16a34a;
    --highlight: rgba(255, 255, 255, 1); --shadow: rgba(10, 10, 11, .08);
    color-scheme: light;
  }
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--text); font: 400 16px/1.55 "Inter Tight", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* topo */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.logo { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; } .nav-links a:hover { color: var(--text); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* botões no padrão do UiButton */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font: 500 16px "Inter Tight", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-secondary { background: var(--surface-2); color: var(--text); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* hero */
.hero { padding: 72px 0 56px; }
@media (min-width: 768px) { .hero { padding: 120px 0 88px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); }
h1 { margin-top: 20px; font-size: clamp(38px, 7vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; max-width: 900px; }
.lead { margin-top: 20px; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* seções */
section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.label { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--subtle); }
h2 { margin-top: 10px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; max-width: 760px; }
.sub { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 17px; }
.grid { margin-top: 36px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* cards no padrão do UiCard */
.card { position: relative; border-radius: 28px; background: var(--surface-2); padding: 24px; overflow: hidden; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.card p { margin-top: 8px; color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glow { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight), 0 24px 60px -30px var(--shadow); }
.list { margin-top: 18px; display: grid; gap: 10px; padding: 0; list-style: none; }
.list li { display: flex; gap: 10px; color: var(--muted); }
.list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* produto em destaque */
.product { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.mock { border-radius: 28px; padding: 18px; display: grid; gap: 10px; }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 22px; font-size: 15px; line-height: 1.4; }
.bubble.in { background: var(--surface-3); border-bottom-left-radius: 8px; }
.bubble.out { justify-self: end; background: var(--primary); color: var(--primary-fg); border-bottom-right-radius: 8px; }
.bubble small { display: block; margin-top: 4px; opacity: .6; font-size: 12px; }

/* passos */
.step { display: flex; gap: 16px; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); display: grid; place-items: center; font-weight: 600; }

/* contato e rodapé */
.contact a { text-decoration: none; }
.contact dl { margin-top: 20px; display: grid; gap: 14px; }
.contact dt { font-size: 13px; color: var(--subtle); }
.contact dd { font-size: 17px; }
footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--subtle); font-size: 14px; }
footer .wrap { display: grid; gap: 16px; }
@media (min-width: 768px) { footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* página de texto (política) */
.doc { max-width: 760px; padding: 56px 0 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { margin-top: 10px; color: var(--muted); }
.doc ul { padding-left: 20px; }
