/* FastService — design system */
:root {
  --ink: #12203a;
  --ink-2: #33415c;
  --muted: #64708a;
  --bg: #f7f5f0;
  --bg-2: #efece4;
  --card: #ffffff;
  --line: #e4dfd3;
  --line-2: #d6d0c1;
  --accent: #0b7a5c;
  --accent-2: #096a50;
  --accent-soft: #e2f1ea;
  --accent-ink: #ffffff;
  --sun: #f2b544;
  --info: #2459c9;   --info-soft: #e7eefc;
  --warn: #a35a07;   --warn-soft: #fcf0dc;
  --danger: #b42318; --danger-soft: #fdeceb;
  --violet: #6b3fc2; --violet-soft: #efe9fb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 32, 58, .05), 0 4px 16px rgba(18, 32, 58, .06);
  --shadow-lg: 0 12px 40px rgba(18, 32, 58, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
small, .small { font-size: .86rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.hide { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 99px; letter-spacing: .01em; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; }
.ic { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem;
  padding: 11px 18px; border-radius: 10px; border: 1.5px solid var(--b); background: var(--b); color: var(--accent-ink); cursor: pointer;
  text-decoration: none !important; transition: background .15s, transform .05s, box-shadow .15s; white-space: nowrap; line-height: 1.2; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 24px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--bg-2); }
.btn-outline { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { background: var(--bg); border-color: var(--ink-2); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #0a1426; border-color: #0a1426; }
.btn-danger { background: var(--card); border-color: #f0c2bd; color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; font-weight: 750; font-size: 1.12rem; color: var(--ink); text-decoration: none !important; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { background: var(--bg-2); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 3px; background: var(--card); }
.lang-switch a { font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; color: var(--muted); text-decoration: none; }
.lang-switch a.on { background: var(--ink); color: #fff; }
.menu-btn { display: none; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-right .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); padding: 12px 0 18px; }
  .mobile-menu a, .mobile-menu button { display: block; width: 100%; text-align: left; padding: 12px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; font-weight: 600; cursor: pointer; }
}

/* ---------- Flash ---------- */
.flash { margin: 16px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 550; display: flex; gap: 10px; align-items: flex-start; }
.flash.success { background: var(--accent-soft); color: #075640; border: 1px solid #bfe2d3; }
.flash.error { background: var(--danger-soft); color: var(--danger); border: 1px solid #f3c7c2; }

/* ---------- Forms ---------- */
label { font-weight: 600; font-size: .88rem; color: var(--ink-2); display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364708a' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--ink); cursor: pointer; margin: 0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.row-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input-prefix input { padding-left: 28px; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------- Cards / layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3, .card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 88px; }
.stack > * + * { margin-top: 18px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { margin: 18px 0 16px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.search-box { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; box-shadow: var(--shadow-lg); max-width: 640px; }
.search-box .sb-field { position: relative; }
.search-box .sb-field .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box select, .search-box input { border: 0; background-color: var(--bg); padding-left: 40px; height: 52px; border-radius: 12px; font-weight: 550; }
.search-box .btn { height: 52px; }
.popular { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-weight: 550; font-size: .86rem; text-decoration: none !important; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600; }
.hero-stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .search-box { grid-template-columns: 1fr; }
}

/* Hero visual: cartão de reserva */
.hero-visual { position: relative; height: 470px; }
.mock { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; }
.mock-main { top: 20px; left: 4%; right: 2%; }
.mock-pro { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), #0e9f7a); flex-shrink: 0; font-size: .95rem; }
.avatar.sm { width: 34px; height: 34px; font-size: .78rem; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar.alt { background: linear-gradient(135deg, #2b4d8f, #4472c4); }
.mock-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.mock-line.total { border: 0; font-weight: 750; font-size: 1.08rem; padding-top: 12px; }
.held { margin-top: 12px; display: flex; gap: 10px; align-items: center; background: var(--accent-soft); color: #075640; padding: 11px 13px; border-radius: 11px; font-weight: 600; font-size: .9rem; }
.mock-photos { bottom: 18px; left: -2%; width: 58%; padding: 12px; }
.mock-photos .ph { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tile { height: 84px; border-radius: 10px; display: grid; place-items: end start; padding: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); }
.ph-before { background: repeating-linear-gradient(135deg, #ece5d6, #ece5d6 8px, #e5dccb 8px, #e5dccb 16px); }
.ph-after { background: linear-gradient(160deg, #dff3ea, #c9ebdc); color: #075640; }
.mock-rating { bottom: 70px; right: 0; display: flex; gap: 10px; align-items: center; padding: 14px 16px; }
.stars { color: var(--sun); display: inline-flex; gap: 1px; }
.stars .ic { fill: currentColor; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.svc-card h3 { margin: 0; }
.svc-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.svc-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.svc-meta strong { color: var(--ink); font-size: 1.05rem; }
.svc-card.wide { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-card.wide p { color: #c3cbdb; }
.svc-card.wide .svc-icon { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 520px) { .svc-card.wide { grid-column: auto; } }

/* Trust */
.trust-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; }
.trust-band h2 { color: #fff; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ti { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #7fe0bd; flex-shrink: 0; }
.trust-item h3 { color: #fff; margin: 2px 0 4px; font-size: 1.02rem; }
.trust-item p { color: #b9c2d3; font-size: .9rem; margin: 0; }
@media (max-width: 640px) { .trust-band { padding: 28px 22px; border-radius: 18px; } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 24px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 1.9rem; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Reviews */
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-family: var(--display); font-size: 1.12rem; line-height: 1.45; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; background: var(--accent-soft); border: 1px solid #c8e5d8; border-radius: 22px; padding: 40px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 28px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--ink-2); padding: 3px 0; font-size: .93rem; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Service page / search ---------- */
.page-hero { padding: 44px 0 28px; }
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.included li { display: flex; gap: 10px; align-items: flex-start; }
.included .ic { color: var(--accent); margin-top: 2px; }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }
.price-tag { font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(18,32,58,.08); align-items: center; justify-content: space-between; gap: 14px; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

.pro-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .15s, box-shadow .15s; }
.pro-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.pro-card h3 { margin: 0 0 2px; }
.pro-card .bio { color: var(--muted); font-size: .9rem; margin: 6px 0 8px; }
.pro-price { text-align: right; }
.pro-price .price-tag { font-size: 1.8rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 650; padding: 4px 9px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); }
.tag.green { background: var(--accent-soft); color: #075640; }
.tag.blue { background: var(--info-soft); color: var(--info); }
@media (max-width: 680px) {
  .pro-card { grid-template-columns: auto 1fr; align-items: start; }
  .pro-card .avatar.lg { width: 48px; height: 48px; font-size: 1rem; }
  .pro-price { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
}
.search-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Status badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .77rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.s-paid { background: var(--info-soft); color: var(--info); }
.badge.s-accepted { background: #e0f2f1; color: #0f6b63; }
.badge.s-in_progress { background: #e8e9fb; color: #3f45b5; }
.badge.s-completed { background: var(--warn-soft); color: var(--warn); }
.badge.s-approved, .badge.s-paid_out, .badge.ok { background: var(--accent-soft); color: #075640; }
.badge.s-disputed, .badge.bad { background: var(--danger-soft); color: var(--danger); }
.badge.s-refunded { background: var(--violet-soft); color: var(--violet); }
.badge.s-cancelled { background: #eeeeee; color: #6b6b6b; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--info-soft); color: var(--info); }

/* ---------- Booking detail ---------- */
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0 4px; }
.progress div { height: 6px; border-radius: 99px; background: var(--line); }
.progress div.on { background: var(--accent); }
.progress-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 1px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--accent); }
.timeline li.t-disputed::after, .timeline li.t-cancelled::after { border-color: var(--danger); }
.timeline li.t-refunded::after { border-color: var(--violet); }
.timeline strong { display: block; font-size: .93rem; }
.timeline span { font-size: .82rem; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .93rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 550; }
.receipt-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: .94rem; }
.receipt-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 750; font-size: 1.05rem; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photos figure { margin: 0; position: relative; }
.photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); }
.photos figcaption { position: absolute; left: 8px; top: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.9); color: var(--ink); }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; padding: 4px; margin-bottom: 12px; }
.msg { max-width: 80%; padding: 10px 13px; border-radius: 14px; background: var(--bg-2); font-size: .93rem; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { border-bottom-left-radius: 4px; }
.msg.support { align-self: center; background: var(--info-soft); color: var(--info); max-width: 92%; }
.msg small { display: block; opacity: .75; font-size: .74rem; margin-top: 3px; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; }
.callout { border-radius: 12px; padding: 16px 18px; background: var(--accent-soft); border: 1px solid #c8e5d8; }
.callout.warn { background: var(--warn-soft); border-color: #f1d9ae; }
.callout.danger { background: var(--danger-soft); border-color: #f3c7c2; }
.callout.info { background: var(--info-soft); border-color: #cddaf7; }
.callout h3 { margin-bottom: 6px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: var(--line-2); margin: 0; }
.rating-input label .ic { fill: currentColor; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--sun); }
.tip-options { display: flex; gap: 8px; flex-wrap: wrap; }
.tip-options label { margin: 0; }
.tip-options input { display: none; }
.tip-options span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line-2); font-weight: 650; cursor: pointer; background: var(--card); }
.tip-options input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: #075640; }
.booking-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; }
.booking-row:hover { border-color: var(--accent); }
.booking-row + .booking-row { margin-top: 10px; }
@media (max-width: 560px) { .booking-row { grid-template-columns: auto 1fr; } .booking-row > :last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 2rem; }
.oauth { display: grid; gap: 8px; margin-bottom: 14px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg-2); padding: 4px; border-radius: 12px; }
.segmented input { display: none; }
.segmented label { margin: 0; text-align: center; padding: 10px; border-radius: 9px; cursor: pointer; font-size: .88rem; }
.segmented input:checked + label { background: var(--card); box-shadow: var(--shadow); color: var(--ink); }
.demo-box { margin-top: 18px; font-size: .84rem; background: var(--bg-2); border-radius: 10px; padding: 12px 14px; }
.demo-box code { font-size: .82rem; }
.demo-box button { background: none; border: 0; padding: 2px 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- App shell (prestador/admin) ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: #c9d1e0; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.sidebar .logo { color: #fff; padding: 4px 8px 18px; }
.sidebar .logo-mark { background: #12a079; }
.side-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #7f8aa3; padding: 14px 10px 6px; font-weight: 700; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: #c9d1e0; font-weight: 550; font-size: .93rem; text-decoration: none !important; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { background: rgba(255,255,255,.1); color: #fff; }
.side-link .count { margin-left: auto; background: #e8524a; color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.side-foot .who { display: flex; gap: 10px; align-items: center; padding: 8px; color: #fff; }
.side-foot form button { width: 100%; text-align: left; background: none; border: 0; color: #c9d1e0; font: inherit; padding: 9px 10px; border-radius: 9px; cursor: pointer; display: flex; gap: 11px; align-items: center; }
.side-foot form button:hover { background: rgba(255,255,255,.06); color: #fff; }
.main { padding: 28px 32px 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.topbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px 12px; gap: 4px; -webkit-overflow-scrolling: touch; }
  .sidebar .logo, .side-label, .side-foot { display: none; }
  .side-link { white-space: nowrap; flex-shrink: 0; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topbar .logo { color: #fff; }
  .topbar form button { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 10px; border-radius: 8px; font: inherit; font-size: .85rem; }
  .main { padding: 20px 16px 48px; }
}

/* KPIs */
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kpi .k-label { font-size: .82rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kpi .k-value { font-family: var(--display); font-size: 1.85rem; font-weight: 600; margin-top: 6px; letter-spacing: -.02em; line-height: 1.1; }
.kpi .k-sub { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.kpi.accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi.accent .k-label, .kpi.accent .k-sub { color: #aab4c8; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; background: #fbfaf7; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfbf8; }
td:first-child { white-space: nowrap; }
td .badge { white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-strong { font-weight: 650; color: var(--ink); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: flex-end; }
.filters > * { flex: 1 1 140px; }
.filters .grow { flex: 2 1 220px; }
.filters .btn { flex: 0 0 auto; }
.filters input, .filters select { padding: 9px 12px; font-size: .9rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; font-size: .93rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.pager { display: flex; gap: 6px; justify-content: flex-end; margin-top: 14px; }

/* Bar chart (CSS) */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 10px; }
.bars .bar { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; opacity: .85; }
.bars .bar:hover { opacity: 1; }
.bars .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .74rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; }
.bar-axis { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 6px; }
.hbar { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; font-size: .88rem; margin-bottom: 10px; }
.hbar .track { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.hbar .fill { height: 100%; background: var(--accent); border-radius: 99px; }
.alert-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: .9rem; color: var(--ink); text-decoration: none !important; }
.alert-row + .alert-row { margin-top: 6px; }
.alert-row.warn { background: var(--warn-soft); }
.alert-row.info { background: var(--info-soft); }
.alert-row.danger { background: var(--danger-soft); }
.alert-row:hover { filter: brightness(.97); }
.sim-result { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; }
.sim-result .receipt-line { color: #d5dbe7; }
.sim-result .receipt-line.total { color: #fff; border-color: rgba(255,255,255,.15); }
.check-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-step:last-child { border: 0; }
.check-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); flex-shrink: 0; font-weight: 700; }
.check-dot.done { background: var(--accent); color: #fff; }
.check-step > div { flex: 1; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .ic { color: var(--line-2); margin: 0 auto 10px; display: block; }

.legal { max-width: 720px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
@media print { .site-header, .site-footer, .sidebar, .mobile-cta { display: none !important; } }
.svc-meta > span:first-child { white-space: nowrap; }
.svc-meta > span:last-child { text-align: right; }
