/* ==========================================================================
   AutoGuia Morrinhos — folha de estilos única
   Organização: tokens · base · layout · cabeçalho · botões · páginas · catálogo · mapa · rodapé
   ========================================================================== */

/* ---------- Tokens de design ---------- */
:root {
  --petrol-950: #082630;
  --petrol-900: #0B2E3A;
  --petrol-800: #0F3D4C;
  --petrol-700: #14526A;
  --petrol-100: #DCEBF0;
  --orange-500: #F07F1E;
  --orange-600: #D96A0B;
  --orange-700: #A94F05;   /* laranja para texto sobre branco (contraste AA) */
  --orange-100: #FDEBD9;
  --white: #FFFFFF;
  --gray-50: #F4F6F7;
  --gray-100: #E7EBED;
  --gray-200: #D5DCE0;
  --gray-500: #6B767C;
  --gray-600: #525D63;
  --graphite: #23292D;
  --green-700: #1F6B3A;
  --green-100: #DFF2E5;
  --amber-800: #7A4B00;
  --amber-100: #FFF1D1;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 46, 58, .08);
  --shadow: 0 4px 16px rgba(11, 46, 58, .10);
  --container: 1180px;
  --gutter: 16px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--gray-50);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--petrol-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--petrol-700); text-underline-offset: 2px; }
a:hover { color: var(--orange-700); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  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: var(--gutter); top: -60px; z-index: 2000;
  background: var(--orange-500); color: var(--graphite); padding: .6rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
.section { padding: 56px 0; }
.section--white { background: var(--white); }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-700); margin-bottom: .75rem;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--petrol-900); }
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--orange-700); }
.site-footer .brand-name span { color: var(--orange-500); }
.brand-sub { font-size: .72rem; font-weight: 600; color: var(--gray-600); letter-spacing: .06em; text-transform: uppercase; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--petrol-900); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--white); border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav a {
  display: block; padding: .8rem .5rem; font-weight: 600; text-decoration: none; color: var(--graphite);
  border-bottom: 1px solid var(--gray-100);
}
.site-nav a[aria-current="page"] { color: var(--orange-700); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .9rem; border-radius: var(--radius-sm); }
  .site-nav a:hover { background: var(--gray-50); color: var(--petrol-900); }
  .site-nav a[aria-current="page"] { color: var(--petrol-900); box-shadow: inset 0 -3px 0 var(--orange-500); border-radius: 0; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.1rem; border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--orange-500); color: var(--graphite); }
.btn-primary:hover { background: var(--orange-600); color: var(--graphite); }
.btn-secondary { background: var(--petrol-800); color: var(--white); }
.btn-secondary:hover { background: var(--petrol-700); color: var(--white); }
.btn-outline { background: var(--white); color: var(--petrol-800); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--petrol-700); color: var(--petrol-900); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn-sm { min-height: 38px; padding: .4rem .8rem; font-size: .88rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- Início: herói ---------- */
.hero { background: var(--petrol-900); color: var(--white); position: relative; overflow: hidden; }
.hero::after { /* faixa de estrada discreta na base */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--orange-500) 0 40px, transparent 40px 64px);
  opacity: .9;
}
.hero .container { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.1fr .9fr; padding-top: 72px; padding-bottom: 88px; } }
.hero h1 { color: var(--white); max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero-lead { font-size: 1.1rem; color: #C9DCE2; max-width: 36em; }
.hero .eyebrow { color: #FFB877; }

.search-form { margin: 28px 0 18px; max-width: 560px; }
.search-form label { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--white); }
.search-row { display: flex; gap: 8px; background: var(--white); padding: 6px; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.search-row .field-icon { display: flex; align-items: center; padding-left: 8px; color: var(--gray-500); }
.search-row input {
  flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; padding: .6rem .4rem; color: var(--graphite); background: transparent;
}
.search-row input:focus { outline: none; }
.search-row:focus-within { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-art { display: none; }
@media (min-width: 960px) { .hero-art { display: block; } }
.hero-art svg { width: 100%; height: auto; }

/* ---------- Aviso de independência ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--orange-500);
  border-radius: var(--radius); padding: 16px 18px; color: var(--graphite);
}
.notice .icon { color: var(--orange-700); width: 1.4em; height: 1.4em; margin-top: .1em; }
.notice p { margin: 0; }
.notice strong { color: var(--petrol-900); }
.notice-band { padding: 24px 0; background: var(--gray-50); }

/* ---------- Passos (como usar) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { position: relative; padding-top: 4px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--petrol-100); color: var(--petrol-800); margin-bottom: 14px;
}
.step-num .icon { width: 22px; height: 22px; }
.steps h3 { display: flex; gap: .4rem; align-items: baseline; }
.steps h3 span { color: var(--orange-700); font-variant-numeric: tabular-nums; }
.steps p { color: var(--gray-600); margin: 0; }

/* ---------- Categorias (início) ---------- */
.category-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-link {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-200); text-decoration: none; color: var(--graphite);
  transition: border-color .15s, box-shadow .15s;
}
.category-link:hover { border-color: var(--petrol-700); box-shadow: var(--shadow); color: var(--graphite); }
.category-link .cat-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--petrol-800); color: var(--orange-500); }
.category-link .cat-icon .icon { width: 28px; height: 28px; }
.category-link h3 { margin: 6px 0 0; }
.category-link p { margin: 0; color: var(--gray-600); }
.category-link .more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--petrol-700); }

/* ---------- Bloco de transparência ---------- */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.legend-list li { display: flex; gap: 12px; align-items: flex-start; }
.legend-list p { margin: 0; color: var(--gray-600); }

/* ---------- Selos de verificação ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-size: .75rem; font-weight: 700; line-height: 1; padding: .35rem .55rem; border-radius: 999px;
}
.badge .icon { width: 1em; height: 1em; }
.badge-ok { background: var(--green-100); color: var(--green-700); }
.badge-source { background: var(--petrol-100); color: var(--petrol-800); }
.badge-pending { background: var(--amber-100); color: var(--amber-800); }
.badge-cat { background: var(--gray-100); color: var(--petrol-900); }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-head { background: var(--petrol-900); color: var(--white); padding: 36px 0 32px; }
.page-head h1 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .35em; }
.page-head p { color: #C9DCE2; max-width: 46em; margin: 0; }

/* ---------- Catálogo: barra de ferramentas ---------- */
.toolbar { background: var(--white); border-bottom: 1px solid var(--gray-200); }
/* Fixa só em telas grandes; no celular ela ocuparia metade da tela */
@media (min-width: 1024px) { .toolbar { position: sticky; top: var(--header-h); z-index: 900; } }
@media (max-width: 1023.98px) {
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: thin; }
  .toolbar .chip { flex: none; }
  .toolbar .container > * { min-width: 0; }
}
.toolbar .container { display: grid; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
@media (min-width: 1024px) {
  .toolbar .container {
    grid-template-columns: minmax(280px, 1fr) auto;
    grid-template-areas: "busca acoes" "categorias categorias";
    align-items: end; column-gap: 16px;
  }
  .toolbar .field-busca { grid-area: busca; }
  .toolbar .field-categorias { grid-area: categorias; }
  .toolbar .toolbar-row { grid-area: acoes; }
}
.field label, .field .field-label { display: block; font-size: .8rem; font-weight: 700; color: var(--gray-600); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .04em; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none; }
.input, .select {
  width: 100%; min-height: 44px; font: inherit; font-size: 1rem; color: var(--graphite);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: .55rem .75rem;
}
.input-wrap .input { padding-left: 40px; }
.input:focus, .select:focus { outline: none; border-color: var(--petrol-700); box-shadow: 0 0 0 3px rgba(20, 82, 106, .2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem;
  border-radius: 999px; border: 1px solid var(--gray-200); background: var(--white); color: var(--graphite);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--petrol-700); }
.chip[aria-pressed="true"] { background: var(--petrol-800); border-color: var(--petrol-800); color: var(--white); }
.chip .count { font-size: .78rem; opacity: .8; font-variant-numeric: tabular-nums; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.toolbar-row .field { min-width: 150px; }

.view-toggle { display: inline-flex; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 42px; padding: .4rem .85rem;
  border: 0; background: var(--white); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--graphite);
}
.view-toggle button[aria-pressed="true"] { background: var(--petrol-800); color: var(--white); }
@media (min-width: 1024px) { .view-toggle { display: none; } }

/* ---------- Catálogo: área de resultados ---------- */
.results-area { padding: 24px 0 56px; }
.results-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .results-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.results-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.results-meta p { margin: 0; color: var(--gray-600); font-size: .95rem; }
.results-meta strong { color: var(--petrol-900); }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

/* Em celulares/tablets, a alternância esconde um dos painéis */
@media (max-width: 1023.98px) {
  .results-layout[data-view="lista"] .map-panel { display: none; }
  .results-layout[data-view="mapa"] .list-panel { display: none; }
}

/* ---------- Cartão de estabelecimento ---------- */
.place-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 20px; display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px);
  transition: border-color .2s, box-shadow .2s;
}
@media (min-width: 1024px) { .place-card { scroll-margin-top: calc(var(--header-h) + 170px); } }
.place-card.is-highlighted { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
.card-top { display: flex; gap: 14px; align-items: flex-start; }
.card-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--petrol-800); color: var(--orange-500);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-title h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.card-title .tipo { margin: 0; color: var(--gray-600); font-size: .92rem; }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: .82rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--radius-sm); background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--petrol-900); }
.info-list { margin: 0; display: grid; gap: 10px; }
.info-row { position: relative; padding-left: 32px; }
.info-row .icon { position: absolute; left: 0; top: .2em; color: var(--petrol-700); width: 20px; height: 20px; }
.info-row dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-600); }
.info-row dd { margin: 0; }
.info-row .missing { color: var(--gray-500); font-style: italic; }
.info-row .note { display: block; font-size: .8rem; color: var(--gray-600); }
.distance { font-weight: 700; color: var(--orange-700); }
.note-status { font-weight: 700; padding: 0 .3rem; border-radius: 4px; }
.note-status.badge-ok { background: var(--green-100); color: var(--green-700); }
.note-status.badge-source { background: var(--petrol-100); color: var(--petrol-800); }
.note-status.badge-pending { background: var(--amber-100); color: var(--amber-800); }
.disclaimer-inline { font-size: .85rem; color: var(--gray-600); margin: 0 0 14px; display: flex; gap: 8px; align-items: flex-start; }
.disclaimer-inline .icon { color: var(--petrol-700); margin-top: .15em; }
.card-alert {
  display: flex; gap: 8px; align-items: flex-start; margin: 0;
  background: var(--amber-100); color: var(--amber-800); border-radius: var(--radius);
  padding: 10px 12px; font-size: .875rem; line-height: 1.45;
}
.card-alert .icon { flex: none; margin-top: .15em; }
.card-origin { font-style: italic; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card-foot {
  border-top: 1px dashed var(--gray-200); padding-top: 12px; font-size: .8rem; color: var(--gray-600);
  display: grid; gap: 4px;
}
.card-foot a { color: var(--petrol-700); }

/* ---------- Estados (vazio, erro, carregando) ---------- */
.state {
  background: var(--white); border: 1px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center; color: var(--gray-600);
}
.state .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--petrol-700); }
.state h2, .state h3 { font-size: 1.2rem; }
.state p { margin: 0 auto 1rem; max-width: 34em; }
.state code { background: var(--gray-100); padding: .1rem .35rem; border-radius: 4px; }

/* ---------- Mapa ---------- */
.map-panel { position: relative; }
@media (min-width: 1024px) { .map-panel { position: sticky; top: calc(var(--header-h) + 100px); } }
.map {
  width: 100%; height: 62vh; min-height: 360px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); background: var(--gray-100); overflow: hidden; z-index: 1;
}
@media (min-width: 1024px) { .map { height: calc(100vh - var(--header-h) - 200px); min-height: 480px; } }
.map-note { margin-top: 10px; font-size: .85rem; color: var(--gray-600); display: flex; gap: 8px; align-items: flex-start; }
.map-note .icon { margin-top: .15em; color: var(--petrol-700); }
.map-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: .85rem; color: var(--gray-600); list-style: none; padding: 0; }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--gray-200); }

/* Marcador próprio (L.divIcon) */
.ag-marker { background: none; border: 0; }
.ag-marker .pin {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: grid; place-items: center; border: 2px solid var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.ag-marker .pin svg { transform: rotate(45deg); width: 18px; height: 18px; color: var(--white); }
.pin--borracharia { background: var(--orange-600); }
.pin--oficina { background: var(--petrol-800); }
.pin--outros { background: #5B4A8B; }
.pin--user { background: #1F6FD1; border-radius: 50%; transform: none; width: 20px; height: 20px; }
.legend-dot.pin--borracharia, .legend-dot.pin--oficina, .legend-dot.pin--outros { transform: none; }

.leaflet-popup-content { font-family: var(--font); margin: 14px 16px; }
.popup h3 { font-size: 1rem; margin: 0 0 .2rem; }
.popup p { margin: 0 0 .6rem; color: var(--gray-600); font-size: .85rem; }
.popup .popup-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.popup .btn { min-height: 34px; padding: .3rem .65rem; font-size: .82rem; }
.leaflet-container a.btn-primary { color: var(--graphite); }
.leaflet-container a.btn-outline { color: var(--petrol-800); }

/* ---------- Mensagem de geolocalização ---------- */
.geo-status { font-size: .88rem; margin: 0; color: var(--gray-600); }
.geo-status.is-error { color: #A12A1A; }

/* ---------- Página Sobre ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.about-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.toc { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); order: 2; } }
.toc h2 { font-size: 1rem; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .3rem; }
.people { display: grid; gap: 16px; margin: 1rem 0; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
.person { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; }
.person h3 { margin-bottom: .1rem; }
.person .role { color: var(--orange-700); font-weight: 700; font-size: .88rem; margin-bottom: .6rem; }
.person ul { margin: 0; padding-left: 1.1rem; color: var(--gray-600); font-size: .93rem; }
.refs li { word-break: break-word; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--petrol-950); color: #B7CBD2; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #FFB877; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer .brand { color: var(--white); margin-bottom: .8rem; }
.site-footer .brand-sub { color: #9FB6BE; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom p { margin: 0 0 .3rem; }
