/* Páginas públicas avulsas (erro, confirmar presença, comprovante expirado, termos e privacidade).
   Mesmo visual do comprovante: topo petróleo com manchas da marca e um cartão por cima. Sem dependência do app. */
:root { --petrol: #3b3e34; --deep: #26281f; --green: #6f7d1c; --olive: #a8b43c; --red: #b42626; --amber: #b3600c;
  --bg: #f1f2ec; --surface: #fff; --text: #1c1e18; --muted: #66695d; --line: rgba(28,30,24,.09); --soft: #f5f6f1; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #111210; --surface: #1b1c18; --text: #ecede6; --muted: #a3a698; --line: rgba(255,255,255,.08); --soft: #21231d; --green: #8a9a2a; color-scheme: dark; } }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }

.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: max(20px, env(safe-area-inset-top)) 20px 92px; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.hero::before { width: 260px; height: 260px; background: var(--olive); top: -120px; right: -70px; }
.hero::after { width: 220px; height: 220px; background: #8a9a2a; bottom: -120px; left: -80px; opacity: .45; }
.hero > * { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.hero.wide > * { max-width: 760px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; background: #fff; border-radius: 12px; padding: 4px 8px; }
.brand span { font-size: 13px; font-weight: 600; opacity: .85; }
.status { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.status h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.status p { margin: 3px 0 0; font-size: 14px; opacity: .85; line-height: 1.4; }
.seal { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--petrol); display: grid; place-items: center; flex: none;
  box-shadow: 0 0 0 7px rgba(255,255,255,.14); animation: pop .55s cubic-bezier(.2,.9,.3,1.4) both; }
.seal svg { width: 27px; height: 27px; stroke-width: 2.4; }
.ok .seal { color: var(--green); } .bad .seal { color: var(--red); } .warn .seal { color: var(--amber); } .muted .seal { color: #62655a; }
.ok .seal svg { stroke-width: 2.8; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

.wrap { max-width: 520px; margin: -70px auto 0; padding: 0 16px 32px; display: grid; gap: 14px; position: relative; z-index: 2; }
.wrap.wide { max-width: 760px; }
.card { background: var(--surface); border-radius: 24px; padding: 22px 20px; box-shadow: 0 24px 48px -28px rgba(28,30,24,.55), 0 1px 0 var(--line); animation: rise .5s ease-out .1s both; }
.card > p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; font-size: 15.5px; }
.card > p:last-child { margin-bottom: 0; }

/* lista de dados da consulta */
.rows { display: grid; gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); padding: 4px 16px; }
.rows div { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows div:first-child { border-top: 0; }
.rows .ri { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c, var(--petrol)) 12%, var(--surface)); color: var(--c, var(--petrol)); }
@media (prefers-color-scheme: dark) { .rows .ri { color: color-mix(in srgb, var(--c, var(--petrol)) 45%, #fff); background: color-mix(in srgb, var(--c, var(--petrol)) 28%, var(--surface)); } }
.rows .ri svg { width: 18px; height: 18px; }
.rows label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rows b { display: block; font-size: 15px; font-weight: 650; line-height: 1.35; margin-top: 1px; overflow-wrap: anywhere; }

/* botões */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 18px; padding: 14px 18px;
  font: inherit; font-size: 16.5px; font-weight: 800; text-decoration: none; cursor: pointer; color: #fff; background: var(--green); box-shadow: 0 14px 26px -16px rgba(91,105,20,.95); }
.btn.petrol { background: var(--petrol); box-shadow: 0 14px 26px -16px rgba(38,40,31,.9); }
.btn svg { width: 22px; height: 22px; }
.btn.ghost { background: transparent; box-shadow: none; color: var(--muted); font-weight: 700; font-size: 15px; min-height: 48px; margin-top: 4px; }
.btn.line { background: transparent; box-shadow: none; color: var(--red); border: 1.5px solid color-mix(in srgb, var(--red) 35%, transparent); font-size: 15px; min-height: 50px; margin-top: 10px; }
.btn.line.soft { color: var(--muted); border-color: var(--line); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--petrol) 50%, transparent); outline-offset: 2px; }
.err { display: flex; gap: 10px; align-items: center; background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .err { color: #ff9c9c; } }
.foot { text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.foot a { color: inherit; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .seal, .card { animation: none; } }
