/* =========================================================================
   Xeh — sistema visual v5 (2026-10-23)
   Direção: mobilidade de cidade, motorista no centro. Identidade quente
   (paper + verde profundo + lima) para destoar do azul/preto frio dos grandes.
   Sistema rigoroso: tokens, tipografia fluida, elevação em camadas, estados
   completos, mobile-first, acessível. Fontes de sistema (rápido + CSP 'self').
   Preserva TODOS os seletores que app.js/journey.js usam.
   ========================================================================= */

:root {
  /* Cores — papéis semânticos */
  --bg: #efe6d4;
  --bg-tint: #f3ecdd;
  --surface: #fffdf8;
  --surface-2: #faf4e8;
  --surface-sunken: #f1e9d9;
  --ink: #14211c;
  --ink-soft: #2c3a33;
  --muted: #5d6b64;
  --line: rgba(20, 33, 28, 0.12);
  --line-soft: rgba(20, 33, 28, 0.07);

  --green: #0c5c49;
  --green-2: #0f6e58;
  --green-ink: #f6f3ea;
  --lime: #e3f56d;
  --lime-deep: #c9e24a;
  --clay: #c4552a;
  --amber: #b8791f;
  --ok: #1d7a4f;

  /* Espaçamento (ritmo de 4) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  /* Raio */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Tipografia — escala fluida */
  --text-xs: 0.75rem;   --text-sm: 0.8125rem; --text-base: 0.9375rem;
  --text-lg: 1.0625rem; --text-xl: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --text-3xl: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);

  /* Elevação em camadas */
  --shadow-sm: 0 1px 2px rgba(20, 33, 28, 0.05), 0 2px 6px rgba(20, 33, 28, 0.05);
  --shadow-md: 0 2px 6px rgba(20, 33, 28, 0.06), 0 12px 28px rgba(20, 33, 28, 0.08);
  --shadow-lg: 0 8px 20px rgba(20, 33, 28, 0.08), 0 28px 60px rgba(20, 33, 28, 0.13);
  --shadow-ring: 0 0 0 4px rgba(15, 110, 88, 0.14);
  --shadow: var(--shadow-md);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Georgia", "Times New Roman", serif;
  --sans: ui-sans-serif, "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(227, 245, 109, 0.22), transparent 55%),
    radial-gradient(1000px 520px at -10% 0%, #fffdf8 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-tint), var(--bg));
  background-attachment: fixed;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); }
h1, h2, h3, h4, p { margin: 0; }
img, svg { max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

/* Acessibilidade: foco e skip-link */
.skip-link {
  position: absolute; left: 12px; top: -200px; z-index: 50;
  background: var(--ink); color: var(--lime);
  padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none; transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--green-2); box-shadow: var(--shadow-ring);
}

/* Tipografia utilitária */
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  letter-spacing: 0.16em; text-transform: uppercase;
  font-size: var(--text-xs); font-weight: 800; color: var(--green);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime-deep); border-radius: 2px; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-soft); }
h3 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; margin: var(--space-5) 0 var(--space-2); }

/* ---------------------------------------------------------------- Gate / hero */
.gate {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7);
  max-width: 1120px; margin: 0 auto;
  padding: max(var(--space-7), env(safe-area-inset-top)) var(--space-5) var(--space-8);
  align-items: center; min-height: 100vh; min-height: 100dvh;
}
.manifesto h1 {
  font-family: var(--serif); font-size: var(--text-3xl); font-weight: 600;
  letter-spacing: -0.03em; line-height: 0.98; margin: var(--space-3) 0 var(--space-4);
  text-wrap: balance;
}
.manifesto .lead { max-width: 44ch; }
#tariff-note {
  font-size: var(--text-sm); line-height: 1.5; color: var(--muted);
  padding-left: var(--space-3); border-left: 3px solid rgba(15, 110, 88, 0.3);
  margin-top: var(--space-4); max-width: 46ch;
}
/* Wordmark de marca — presença no topo da hero */
.wordmark { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-5); }
.wordmark .mark { font-family: var(--serif); font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.wordmark .tag { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.stat {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--space-4); box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block; font-family: var(--serif); font-size: var(--text-2xl);
  letter-spacing: -0.02em; line-height: 1;
}
.stat span { font-size: var(--text-xs); color: var(--muted); }
.fineprint { font-size: var(--text-xs); line-height: 1.5; margin-top: var(--space-4); max-width: 46ch; opacity: 0.85; }

/* Divisor rotulado + botões de conta de demonstração */
.demo-divider { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) 0 var(--space-3); color: var(--muted); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.demo-divider::before, .demo-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.demo .demo-btn { justify-content: flex-start; gap: var(--space-2); padding: 10px 14px; font-weight: 500; }
.demo .demo-btn strong { font-weight: 700; }
.demo .demo-btn::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--lime-deep); flex: 0 0 auto; }

/* Painéis / cartões */
.panel, .sheet {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.panel { padding: var(--space-5); }
.panel h2 { font-family: var(--serif); font-size: var(--text-2xl); letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.demo { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.demo .btn-ghost { font-weight: 600; justify-content: flex-start; }
.field { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.field > span { font-size: var(--text-sm); font-weight: 700; color: var(--ink-soft); }

/* Campos de formulário */
input[type="email"], input[type="password"], input[type="text"], input[type="search"],
input[type="tel"], input[type="number"], input[type="datetime-local"], input[type="time"],
textarea, select, .pricing-rate input, #pricing-form input, #ride-search select, #ride-search input {
  width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: var(--r-sm); padding: 12px 14px; font: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 90%, transparent); }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 36px;
}

/* ---------------------------------------------------------------- Botões */
.btn, .btn-primary, .btn-ghost, .btn-danger, .btn-whats, .suggest {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  border: 1px solid transparent; border-radius: var(--r-md);
  padding: 12px 18px; font-weight: 700; font-size: var(--text-base);
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform 0.08s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-primary, .btn {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 6px 16px rgba(12, 92, 73, 0.24);
}
.btn-primary:hover, .btn:hover { background: var(--green-2); box-shadow: 0 10px 24px rgba(12, 92, 73, 0.3); transform: translateY(-1px); }
.btn-primary:active, .btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(12, 92, 73, 0.24); }
.btn-primary:disabled, .btn:disabled, .btn-ghost:disabled, .btn-danger:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }
button[aria-busy="true"], .btn[data-busy="true"] { cursor: progress; }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--green-2); background: var(--surface-2); transform: translateY(-1px); }
.btn-danger { background: var(--surface); color: var(--clay); border-color: rgba(196, 85, 42, 0.4); }
.btn-danger:hover { background: rgba(196, 85, 42, 0.08); transform: translateY(-1px); }
.wide { width: 100%; }
.btn-whats { background: #25d366; color: #0a2e18; border-color: #1fa855; }
.btn-whats:hover { background: #22c75f; transform: translateY(-1px); }
.btn-whats svg { flex: 0 0 auto; }
.whats-cta { margin-top: var(--space-2); }
.whats-cta .muted { margin-top: var(--space-2); font-size: var(--text-sm); }
.whats-cta-off {
  background: var(--surface-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: var(--space-4);
}
.whats-cta-off strong { display: block; margin-bottom: var(--space-1); }
#wa-preview-title { margin-top: var(--space-5); }

/* Sugestões de autocomplete */
.suggest {
  display: block; width: 100%; text-align: left; justify-content: flex-start;
  border-radius: var(--r-sm); margin-top: var(--space-1);
  background: var(--surface-2); border-color: var(--line-soft); font-weight: 600; box-shadow: none;
}
.suggest:hover { background: var(--surface-sunken); }

/* Segmentos / abas / chips / categorias (nav pills) */
.cat, .seg button, .seg-btn, .tab, .chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; font: inherit; transition: all 0.18s var(--ease);
}
.tab, .seg button, .seg-btn {
  border-radius: var(--r-pill); padding: 9px 16px; font-weight: 600; font-size: var(--text-sm);
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.tab:hover, .seg button:hover, .seg-btn:hover, .cat:hover:not(.off) { border-color: var(--green-2); }
.cat[aria-pressed="true"], .seg button[aria-pressed="true"], .seg-btn[aria-pressed="true"], .tab[aria-selected="true"] {
  background: var(--ink); color: var(--lime); border-color: var(--ink); box-shadow: var(--shadow-sm);
}
.cat.off { opacity: 0.5; cursor: not-allowed; }
.chip { border-radius: var(--r-pill); padding: 8px 14px; min-height: 36px; display: inline-flex; align-items: center; background: var(--surface-2); font-size: var(--text-sm); }
.chips { display: flex; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-2) 0; }

/* ---------------------------------------------------------------- App shell */
.shell { max-width: 1200px; margin: 0 auto; padding: max(var(--space-4), env(safe-area-inset-top)) var(--space-4) var(--space-7); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.row, .offer-top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }
.row { flex-wrap: wrap; }
/* Inputs dividem a linha com o botão (em vez de empurrá-lo p/ baixo com width:100%). */
.row > input, .row > select, .row > textarea { flex: 1 1 auto; width: auto; min-width: 0; }
.brand { font-family: var(--serif); font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.brand small { display: block; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 2px; }

.stage { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: var(--space-4); }
.ops-stage { grid-template-columns: minmax(0, 1fr); }
.map-wrap {
  background: linear-gradient(160deg, #dbe7d7, #cfe0cd); border-radius: var(--r-xl);
  height: clamp(280px, 40vh, 480px); position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
}
.map-wrap svg { width: 100%; height: 100%; display: block; }
.map-note {
  position: absolute; left: var(--space-3); bottom: var(--space-3); margin: 0;
  background: rgba(255, 253, 248, 0.97);
  border-radius: var(--r-pill); padding: 7px 13px; font-size: var(--text-xs);
  box-shadow: var(--shadow-sm);
}
.sheet { padding: var(--space-4); max-height: calc(100dvh - 120px); overflow: auto; }
.tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-3); }
.cat { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); padding: var(--space-3); border-radius: var(--r-md); text-align: left; }
.cat strong, .offer strong { display: block; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-2); }
.mt { margin-top: var(--space-3); }
.mt-lg { margin-top: var(--space-4); }
.price { font-family: var(--serif); font-size: var(--text-xl); letter-spacing: -0.01em; }

/* Bilhete de tarifa / PIN */
.ticket {
  background: linear-gradient(135deg, var(--lime), var(--lime-deep)); color: var(--ink);
  border-radius: var(--r-md); padding: var(--space-3) var(--space-4); margin: var(--space-3) 0;
  box-shadow: var(--shadow-sm);
}
.pin { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 3vw, 3.4rem); letter-spacing: 0.16em; line-height: 1; }
.pin-hero {
  background: linear-gradient(145deg, var(--green), #0a4b3c); color: var(--green-ink);
  border-radius: var(--r-lg); padding: var(--space-5); margin: var(--space-3) 0;
  box-shadow: 0 14px 34px rgba(12, 92, 73, 0.32);
}
.pin-hero .pin { color: var(--lime); }
.pin-hint { margin-top: var(--space-2); font-size: var(--text-sm); opacity: 0.92; }

/* Stepper de fase da corrida */
.stepper { list-style: none; display: flex; gap: var(--space-1); padding: 0; margin: var(--space-4) 0 var(--space-2); }
.step-dot { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); position: relative; }
.step-dot .dot { width: 15px; height: 15px; border-radius: var(--r-pill); background: var(--line); border: 2px solid transparent; z-index: 1; transition: all 0.25s var(--ease); }
.step-dot::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 3px; background: var(--line); border-radius: 2px; }
.step-dot:first-child::before { display: none; }
.step-dot.done .dot { background: var(--green); }
.step-dot.done::before { background: var(--green); }
.step-dot.current .dot { background: var(--green); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(15, 110, 88, 0.16); }
.step-label { font-size: 0.6875rem; color: var(--muted); text-align: center; line-height: 1.15; }
.step-dot.current .step-label { color: var(--ink); font-weight: 700; }

/* Linha do tempo / chat / passos */
.timeline { list-style: none; padding: 0; margin: var(--space-3) 0; }
.timeline li { padding: 6px 0 6px var(--space-4); border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--green); }
.thread { min-height: 220px; max-height: 360px; overflow: auto; padding-right: var(--space-1); }
.bubble { border-radius: var(--r-md); padding: 10px 14px; margin: var(--space-2) 0; max-width: 92%; white-space: pre-wrap; line-height: 1.45; box-shadow: var(--shadow-sm); }
.bubble.in, .bubble.assistant, .bubble.operator { background: var(--surface-2); }
.bubble.out, .bubble.user { background: linear-gradient(135deg, #e5f3ec, #d9eee1); margin-left: auto; }
.steps { list-style: none; padding: 0; margin: var(--space-2) 0 var(--space-4); }
.step { padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: var(--space-2); }
.step.done { color: var(--green); font-weight: 600; }
.step.done::before { content: "✓"; color: var(--green); font-weight: 800; }

/* Listas: ofertas, histórico, stat */
.offer, .history-item { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--space-4); margin-top: var(--space-2); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow 0.18s var(--ease), transform 0.18s var(--ease); }
.offer:hover, .history-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Central (ops) */
.ops-ride-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr); gap: var(--space-5); margin-top: var(--space-4); align-items: start; }
.permission-card { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--space-4); background: var(--surface); box-shadow: var(--shadow-sm); }
#ops-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); margin: var(--space-4) 0 var(--space-5); }
.permission-card ul { padding-left: 18px; margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.permission-card li { margin: 4px 0; }
.ops-ride-button { display: block; width: 100%; text-align: left; color: inherit; cursor: pointer; background: none; border: 0; }
#ops-ride-detail { border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--space-4); background: var(--surface); min-width: 0; box-shadow: var(--shadow-sm); }
#ops-ride-detail ol { padding-left: 22px; }
#ops-ride-detail li { margin: var(--space-2) 0; }
#ride-action-form { border-top: 1px solid var(--line); margin-top: var(--space-4); padding-top: var(--space-3); }
.incident-action { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.pricing-meta { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-3); }
.pricing-rate { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--space-2) var(--space-4) var(--space-4); margin: var(--space-3) 0; }
.pricing-rate legend { padding: 0 6px; font-weight: 700; }
.pricing-rate .field { margin-top: var(--space-1); }
/* fieldset genérico (ex.: quiz do cadastro) — exceto o de preços, que tem o seu. */
fieldset:not(.pricing-rate) { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--space-3) var(--space-4) var(--space-4); margin: var(--space-3) 0; }
fieldset:not(.pricing-rate) legend { padding: 0 var(--space-2); font-weight: 700; font-size: var(--text-sm); }
/* opções de rádio (label.field) ficam em linha, não empilhadas. */
fieldset:not(.pricing-rate) .field { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--space-2); }
#ride-search { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: stretch; }
#ride-search input { flex: 1 1 240px; min-width: 0; }
#ride-search select { flex: 1 1 170px; min-width: 0; }
#ride-search button { flex: 0 0 auto; }

/* Tabelas */
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
thead th { text-align: left; padding: 10px 8px; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 2px solid var(--line); }
tbody td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr { transition: background 0.12s var(--ease); }
tbody tr:nth-child(even) { background: rgba(20, 33, 28, 0.02); }
tbody tr:hover { background: var(--surface-2); }

/* Toasts */
.toast-region { position: fixed; bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); z-index: 60; pointer-events: none; width: min(92vw, 460px); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-md); pointer-events: auto; text-align: center; box-shadow: var(--shadow-lg); animation: toast-in 0.26s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Estrelas de avaliação */
.stars { display: flex; gap: var(--space-2); }
.stars .btn-ghost { min-width: 44px; }
.stars .star { font-size: 1.4rem; line-height: 1; color: var(--amber); padding: 8px 12px; }
.stars .star:hover, .stars .star:focus-visible { color: #d99a2b; background: var(--surface-2); }

/* Seções opcionais do pedido (dividir, recorrente, divisões) */
.extra { margin-top: var(--space-3); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--space-2) var(--space-4); background: var(--surface-2); }
.extra summary { cursor: pointer; font-weight: 700; padding: var(--space-2) 0; }
.extra[open] summary { margin-bottom: var(--space-2); border-bottom: 1px solid var(--line-soft); }

/* Página de acompanhamento pública */
.share-page { max-width: 720px; margin: 0 auto; padding: var(--space-6) var(--space-4) var(--space-7); }
.share-page h1 { font-family: var(--serif); font-size: var(--text-3xl); letter-spacing: -0.03em; margin: var(--space-2) 0 var(--space-3); }
.share-page .map-wrap, .share-page .muted { margin-top: var(--space-4); }

/* ---------------------------------------------------------------- Responsivo */
@media (max-width: 1080px) {
  .gate { grid-template-columns: 1fr; gap: var(--space-5); padding-top: var(--space-6); min-height: auto; }
  .manifesto { order: 1; }
  .panel { order: 2; }
  .stage { grid-template-columns: 1fr; }
  .ops-ride-layout { grid-template-columns: 1fr; }
  .sheet { max-height: none; }
  .map-wrap { height: clamp(220px, 32vh, 320px); }
}
@media (max-width: 760px) {
  :root { font-size: 15px; }
  body { background-attachment: scroll; }
  .shell { padding-left: var(--space-3); padding-right: var(--space-3); }
  .cards { grid-template-columns: 1fr 1fr; }
  .pricing-meta, .pricing-rate { grid-template-columns: 1fr 1fr; }
  .stats { gap: var(--space-2); }
  .panel, .sheet { padding: var(--space-4); border-radius: var(--r-lg); }
}
@media (max-width: 440px) {
  .cards { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .tabs { gap: 6px; }
  .tab, .seg button, .seg-btn { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
