/* UniHealth — site oficial. Mesmo visual do tema Obsidiana do app. */
:root {
  --bg: #121214;
  --surface: #1a1a1d;
  --surface-hi: #242428;
  --line: #2e2e33;
  --text: #ece8e1;
  --muted: #9a958e;
  --accent: #a7bedd;
  --on-accent: #0f1216;
  --food: #d9b38c;
  --sleep: #b3a6de;
  --danger: #e58a7b;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max: 1080px;
  --display: 'Syne', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* topo */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(18, 18, 20, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-sm); font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #bccde6; color: var(--on-accent); }
.btn-ghost { background: var(--surface-hi); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn small { display: block; font-weight: 600; font-size: 12px; opacity: 0.75; line-height: 1.1; }
.btn .two { display: flex; flex-direction: column; line-height: 1.15; }
.btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

/* herói */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 220px; } }
.eyebrow { font-family: ui-monospace, 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.5px; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.08; }
h3 { font-family: var(--body); font-size: 19px; line-height: 1.25; letter-spacing: -0.2px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.hero-art img { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 22%; box-shadow: 0 30px 80px rgba(167, 190, 221, 0.18); }

/* seções */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.card p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-hi); margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card.food .ico svg { stroke: var(--food); }
.card.sleep .ico svg { stroke: var(--sleep); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--surface-hi); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.check { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; color: var(--text); }
.check li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.check li::after { content: ''; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.final { text-align: center; }
.final .cta { justify-content: center; margin-top: 26px; }
.final p { color: var(--muted); max-width: 560px; margin: 14px auto 0; }

/* páginas de texto (suporte, política, termos) */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); }
.doc .updated { color: var(--muted); font-size: 14px; margin: 10px 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.2px; }
.doc p, .doc li { color: #d9d5ce; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; margin: 18px 0; }
.box.accent { border-color: var(--accent); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin: 10px 0; }
details[open] { padding-bottom: 14px; }
summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 8px; color: var(--muted); }
ol.steps { padding-left: 1.3em; }
ol.steps li { margin: 8px 0; }

/* rodapé */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
