/* App da cliente (mobile first) */
body { background: #EFE6E2; }
.phone { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--background); position: relative; box-shadow: 0 0 0 1px var(--border); }
.entrar { min-height: 100dvh; padding: 56px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  background: radial-gradient(500px 300px at 0% 0%, #F4E3E5, transparent 70%), radial-gradient(400px 260px at 100% 100%, #E7EFE4, transparent 70%), var(--background); }
.entrar h1 { font-family: var(--font-display); font-size: 28px; font-weight: 600; max-width: 22ch; }
.entrar form { width: 100%; text-align: left; }
.apptop { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 12px 8px 18px; background: rgba(251, 247, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
#bell .dot { position: absolute; top: 9px; right: 9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; animation: pop var(--duration-very-slow) var(--ease-bounce); }
.screen { padding: 18px 16px calc(96px + env(safe-area-inset-bottom)); outline: none; }
.screen > * { animation: reveal var(--duration-slow) var(--ease-in-out) both; }
.screen h2.h { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin-bottom: 4px; }
.screen .sub { color: var(--muted-foreground); margin-bottom: 18px; }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(480px, 100%); z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: 11.5px; font-weight: 700; color: var(--muted-foreground); text-decoration: none; border-radius: var(--radius); transition: color var(--duration-quick); }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--primary); }
.tabbar a[aria-current="page"] .ic { stroke-width: 2.3; }

.hero-card { border-radius: var(--radius-lg); padding: 20px; background: linear-gradient(135deg, #7A3F4C, #A35B69); color: #fff; position: relative; overflow: hidden; }
.hero-card .k { font-size: 13px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.hero-card .big { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; margin: 8px 0 4px; }
.hero-card p { opacity: .92; }
.hero-card .btn { --bg: #fff; --fg: var(--primary); --bd: #fff; margin-top: 14px; }
.hero-card::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding-bottom: 14px; position: relative; font-size: 14.5px; }
.timeline li::before { content: ''; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .pt { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); background: var(--card); display: grid; place-items: center; z-index: 1; }
.timeline .done .pt { background: var(--sage); border-color: var(--sage); color: #fff; }
.timeline .done .pt .ic { width: 12px; height: 12px; stroke-width: 3; }
.timeline .now .pt { border-color: var(--primary); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline .d { color: var(--muted-foreground); font-size: 13px; font-variant-numeric: tabular-nums; }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick a, .quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; min-height: 84px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--foreground); font-size: 13px; font-weight: 700; cursor: pointer; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.quick a:active, .quick button:active { transform: scale(.97); }
.quick .ic { color: var(--primary); width: 24px; height: 24px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px 14px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--card); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--foreground); color: #fff; border-color: var(--foreground); }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vcard { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.vcard .ph { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--muted); position: relative; }
.vcard .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vcard .fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--primary); }
.vcard .fav.on .ic { fill: currentColor; }
.vcard b { font-size: 14.5px; line-height: 1.25; }
.vcard span { font-size: 12.5px; color: var(--muted-foreground); }
.sheet-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--radius); margin-bottom: 14px; background: var(--muted); }
.avail { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.avail.ok { background: var(--success-soft); color: var(--success); }
.avail.no { background: var(--destructive-soft); color: var(--destructive); }
.rcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rcard .items { display: flex; gap: 10px; align-items: center; }
.paybox { background: var(--muted); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }
.notif { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.notif .ic { color: var(--accent); margin-top: 2px; }
.notif.unread b { color: var(--primary); }
.sec-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted-foreground); margin: 22px 0 10px; }
@media (min-width: 520px) { body { padding: 0; } }
