/* =========================================================================
   Munono — Design system (website público)
   Propriedade da NOVITE, Lda.
   Tokens → base → componentes → layouts → utilitários
   ========================================================================= */
:root {
  --brand: #0B5D4B;          /* verde petróleo: confiança, serviço público */
  --brand-600: #0A5243;
  --brand-700: #08463A;
  --brand-50: #E8F3EF;
  --brand-100: #D3E9E1;
  --accent: #F2B705;         /* âmbar sinal: combustível, atenção */
  --accent-50: #FEF7DC;
  --ink: #0E1B17;
  --ink-2: #33433E;
  --ink-3: #5E6B67;
  --line: #E3E6E1;
  --line-2: #EEF0EC;
  --paper: #F7F6F1;
  --white: #FFFFFF;

  --ok: #15803D;  --ok-bg: #E7F6EC;     /* disponível */
  --no: #C62828;  --no-bg: #FDECEC;     /* indisponível */
  --warn: #B45309; --warn-bg: #FEF3E2;  /* a confirmar */
  --unk: #5F6B68; --unk-bg: #EEF0EF;    /* sem dados / desactualizado */

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px; --pill: 999px;
  --sh-1: 0 1px 2px rgba(14,27,23,.06), 0 1px 1px rgba(14,27,23,.04);
  --sh-2: 0 6px 20px -6px rgba(14,27,23,.18), 0 2px 6px rgba(14,27,23,.06);
  --sh-3: 0 24px 60px -18px rgba(14,27,23,.35);
  --header-h: 64px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }

/* ---------- Botões ---------- */
.btn { --bg: var(--white); --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 18px;
  border-radius: var(--pill); border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { color: var(--fg); box-shadow: var(--sh-1); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { --bg: var(--brand); --fg: #fff; --bd: var(--brand); }
.btn-primary:hover { --bg: var(--brand-700); color: #fff; }
.btn-accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--accent); }
.btn-ghost { --bg: transparent; --bd: transparent; }
.btn-ghost:hover { --bg: var(--line-2); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.02rem; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--line-2); }

/* ---------- Estados de disponibilidade (cor + ícone + texto) ---------- */
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .6rem .28rem .45rem; border-radius: var(--pill); font-weight: 700; font-size: .82rem; line-height: 1.1; white-space: nowrap; }
.status .dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.status .dot svg { width: 12px; height: 12px; }
.status-available { background: var(--ok-bg); color: var(--ok); } .status-available .dot { background: var(--ok); }
.status-unavailable { background: var(--no-bg); color: var(--no); } .status-unavailable .dot { background: var(--no); }
.status-uncertain { background: var(--warn-bg); color: var(--warn); } .status-uncertain .dot { background: var(--warn); }
.status-unknown { background: var(--unk-bg); color: var(--unk); } .status-unknown .dot { background: var(--unk); }
.fresh { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.fresh::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--unk); }
.fresh-very_recent::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(21,128,61,.15); }
.fresh-recent::before { background: #4D9A2A; }
.fresh-to_confirm::before { background: var(--warn); }
.fresh-stale::before, .fresh-none::before { background: var(--unk); }
.queue { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.queue-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.queue-bars i { width: 4px; border-radius: 2px; background: var(--line); }
.queue-bars i:nth-child(1){height:5px}.queue-bars i:nth-child(2){height:8px}.queue-bars i:nth-child(3){height:12px}
.q-short .queue-bars i:nth-child(1), .q-medium .queue-bars i:nth-child(-n+2), .q-long .queue-bars i { background: currentColor; }
.q-none { color: var(--ok); } .q-short { color: #4D7C0F; } .q-medium { color: var(--warn); } .q-long { color: var(--no); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,246,241,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.35rem/1 var(--display); letter-spacing: -.03em; }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 650; padding: 8px 12px; border-radius: var(--pill); font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: var(--sh-1); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-grid; }
  .header-actions .hide-sm { display: none; }
}

/* ---------- Smart banner (instalação) ---------- */
.smart-banner { display: none; align-items: center; gap: 12px; padding: 10px 14px; background: var(--ink); color: #fff; font-size: .9rem; }
.smart-banner.show { display: flex; }
.smart-banner img { width: 40px; height: 40px; border-radius: 10px; }
.smart-banner strong { display: block; }
.smart-banner .btn { margin-left: auto; min-height: 36px; }
.smart-banner .close { background: none; border: 0; color: #fff; opacity: .7; font-size: 1.4rem; cursor: pointer; padding: 0 4px; }

/* ---------- Finder (mapa + lista) ---------- */
.finder { display: grid; grid-template-columns: 420px 1fr; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); min-height: 560px; }
.finder > * { min-width: 0; }
.finder-panel { background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.finder-head { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.greeting { font-size: .9rem; color: var(--ink-3); font-weight: 600; margin-bottom: 2px; }
.finder-title { font: 800 1.45rem/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 12px; }
.search { position: relative; }
.search input { width: 100%; height: 48px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; padding: 0 48px 0 44px; font: 600 .98rem var(--font); color: var(--ink); box-shadow: var(--sh-1); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.search .ico-search { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--ink-3); }
.search .locate { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; cursor: pointer; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font: 700 .85rem var(--font); color: var(--ink-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .sw { width: 10px; height: 10px; border-radius: 50%; }
.filters-more { margin-top: 10px; display: none; gap: 8px; grid-template-columns: 1fr 1fr; }
.filters-more.open { display: grid; }
.select, .input, textarea.input { width: 100%; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; padding: 0 12px; font: 600 .92rem var(--font); color: var(--ink); }
textarea.input { height: auto; min-height: 110px; padding: 10px 12px; }
.select:focus, .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.finder-meta { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; font-size: .82rem; color: var(--ink-3); border-bottom: 1px solid var(--line-2); gap: 8px; }
.finder-meta .refresh { border: 0; background: none; color: var(--brand); font-weight: 800; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.station-list { list-style: none; margin: 0; padding: 8px 10px 110px; overflow-y: auto; flex: 1; }
.station-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 12px; margin: 6px 0; text-decoration: none; color: inherit; cursor: pointer; transition: box-shadow .15s, border-color .15s, transform .15s var(--ease); position: relative; }
.station-card:hover, .station-card.active { border-color: var(--brand-100); box-shadow: var(--sh-2); }
.station-card.active { outline: 2px solid var(--brand); }
.sc-top { display: flex; gap: 10px; align-items: flex-start; }
.sc-mark { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 800 .8rem var(--display); color: #fff; background: var(--unk); }
.sc-mark.available { background: var(--ok); } .sc-mark.unavailable { background: var(--no); } .sc-mark.uncertain { background: var(--warn); }
.sc-name { font: 750 1rem/1.25 var(--display); margin: 0; letter-spacing: -.01em; }
.sc-sub { font-size: .82rem; color: var(--ink-3); margin-top: 2px; }
.sc-dist { margin-left: auto; text-align: right; font: 800 .95rem var(--display); white-space: nowrap; }
.sc-dist small { display: block; font: 600 .72rem var(--font); color: var(--ink-3); }
.sc-fuels { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.sc-fuel { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 9px; }
.finder-map { position: relative; background: #DDE6E1; }
#map { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--ink-3); background: repeating-linear-gradient(45deg, #E6ECE8 0 12px, #E1E8E3 12px 24px); }
.map-fallback .card { max-width: 380px; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2); }
.map-legend { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); padding: 10px 12px; display: grid; gap: 6px; font-size: .78rem; font-weight: 700; z-index: 2; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; }
.fab-report { position: fixed; z-index: 40; right: 20px; bottom: 22px; box-shadow: var(--sh-3); }
.finder-meta .view-toggle { display: none; }

@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .finder-map { height: 46vh; min-height: 300px; order: -1; }
  .finder.list-only .finder-map, .finder.no-map .finder-map { display: none; }
  .finder.no-map .finder-meta .view-toggle { display: none; }
  .finder.map-only .finder-panel { display: none; }
  .finder.map-only .finder-map { height: calc(100dvh - var(--header-h) - 60px); }
  .finder-panel { border-right: 0; }
  .station-list { overflow: visible; padding-bottom: 120px; }
  .fab-report { left: 16px; right: 16px; bottom: 14px; width: auto; }
  .finder-meta .view-toggle { display: inline-flex; }
}

/* ---------- Painel / sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(14,27,23,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 80; }
.sheet { position: fixed; z-index: 90; left: 50%; bottom: 0; transform: translate(-50%, 105%); width: min(560px, 100%); max-height: 92dvh; overflow: auto; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-3); transition: transform .28s var(--ease); padding: 8px 20px 24px; }
.sheet.open { transform: translate(-50%, 0); }
.sheet.open + .sheet-backdrop, .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 6px auto 14px; }
.sheet h2 { font-size: 1.35rem; }
@media (min-width: 901px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -40%) scale(.98); opacity: 0; pointer-events: none; border-radius: var(--r-xl); transition: transform .22s var(--ease), opacity .2s; } .sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.quick-opt { min-height: 74px; border-radius: var(--r-lg); border: 2px solid var(--line); background: #fff; font: 800 .98rem/1.2 var(--display); letter-spacing: .01em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; text-align: center; color: var(--ink); }
.quick-opt.pos { border-color: #BFE3CB; background: var(--ok-bg); color: var(--ok); }
.quick-opt.neg { border-color: #F6C7C7; background: var(--no-bg); color: var(--no); }
.quick-opt[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg button { min-height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; font: 700 .82rem var(--font); cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { margin: 14px 0; }
.field > label, .label { display: block; font-weight: 750; font-size: .88rem; margin-bottom: 6px; }
.hint { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.alert { padding: 12px 14px; border-radius: var(--r); font-weight: 600; font-size: .92rem; margin: 10px 0; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #BFE3CB; }
.alert-error { background: var(--no-bg); color: var(--no); border-color: #F6C7C7; }
.alert-info { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #F7D8A8; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; z-index: 120; left: 50%; bottom: 90px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); box-shadow: var(--sh-3); font-weight: 650; font-size: .92rem; animation: toast-in .25s var(--ease); }
.toast.ok { background: var(--ok); } .toast.err { background: var(--no); }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

/* ---------- Páginas de conteúdo ---------- */
.page-hero { background: var(--brand); color: #E6F2EE; padding: 54px 0 40px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { max-width: 680px; font-size: 1.08rem; color: #CFE5DD; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border-radius: 50%; border: 48px solid rgba(242,183,5,.14); }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: #A9CFC2; }
.crumbs a { color: #D9EEE7; }
.section { padding: 44px 0; }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; } .prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin: .3em 0; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, transform .15s var(--ease); }
.card-link:hover { box-shadow: var(--sh-2); transform: translateY(-2px); color: inherit; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.kpi b { display: block; font: 800 1.7rem/1 var(--display); margin-bottom: 4px; }
.kpi span { font-size: .82rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* ---------- Página do posto ---------- */
.station-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.station-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; padding: 26px 0 60px; }
@media (max-width: 900px) { .station-layout { grid-template-columns: 1fr; } }
.fuel-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.fuel-row:last-child { border-bottom: 0; }
.fuel-name { font: 800 1.1rem var(--display); min-width: 96px; }
.fuel-row .meta { margin-left: auto; text-align: right; font-size: .82rem; color: var(--ink-3); }
.fuel-row .price { font: 800 1rem var(--display); color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; align-items: center; }
.timeline time { color: var(--ink-3); font-size: .8rem; margin-left: auto; white-space: nowrap; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button { flex: 1 1 auto; }
.station-aside { display: grid; gap: 16px; align-content: start; }
.station-aside .card { margin: 0 !important; }
.station-aside .status { align-self: center; }
.static-map { width: 100%; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: #DDE6E1; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C4C0; padding: 44px 0 30px; font-size: .92rem; }
.site-footer a { color: #E2EAE7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-bottom { border-top: 1px solid #24332E; margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Tour ---------- */
.tour { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(14,27,23,.55); padding: 16px; }
.tour.open { display: grid; }
.tour-card { width: min(420px, 100%); background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.tour-art { height: 210px; background: var(--brand-50); display: grid; place-items: center; position: relative; overflow: hidden; }
.tour-art svg { width: 150px; height: 150px; animation: float 3.6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.tour-body { padding: 22px 22px 18px; }
.tour-body h3 { font-size: 1.35rem; }
.tour-dots { display: flex; gap: 6px; margin: 4px 0 16px; }
.tour-dots i { height: 6px; flex: 1; border-radius: 3px; background: var(--line); transition: background .2s; }
.tour-dots i.on { background: var(--brand); }
.tour-actions { display: flex; gap: 8px; align-items: center; }
.tour-actions .skip { margin-right: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Formulários / auth ---------- */
.auth-wrap { min-height: calc(100dvh - var(--header-h)); display: grid; place-items: center; padding: 30px 16px; }
.auth-card { width: min(440px, 100%); background: #fff; border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.phone-input { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.phone-input span { padding: 0 12px; display: grid; place-items: center; background: var(--line-2); font-weight: 800; color: var(--ink-2); }
.phone-input input { border: 0; flex: 1; height: 52px; font: 700 1.15rem var(--font); padding: 0 12px; letter-spacing: .04em; min-width: 0; }
.phone-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.otp-input { width: 100%; height: 60px; font: 800 1.8rem var(--mono); letter-spacing: .5em; text-align: center; border: 1px solid var(--line); border-radius: var(--r); }
.otp-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }

/* ---------- Skeleton / vazio ---------- */
.skeleton { background: linear-gradient(90deg, #EEF0EC 25%, #F6F7F3 37%, #EEF0EC 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--r-lg); height: 128px; margin: 6px 0; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty { text-align: center; padding: 34px 18px; color: var(--ink-3); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 10px; color: var(--brand-100); }
.offline-bar { display: none; background: var(--warn-bg); color: var(--warn); font-weight: 700; font-size: .85rem; padding: 8px 18px; border-bottom: 1px solid #F7D8A8; }
.offline-bar.show { display: block; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; color: var(--ink-2); }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled { opacity: .4; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--pill); font-size: .74rem; font-weight: 800; background: var(--line-2); color: var(--ink-2); }
.badge-brand { background: var(--brand-50); color: var(--brand); }
.tag-owner { font-size: .78rem; color: var(--ink-3); }
