:root {
  --paper: #f8faf7;
  --surface: #fff;
  --ink: #142b29;
  --muted: #4e6460;
  --rule: #d7e0da;
  --pine: #103b35;
  --link: #155b4b;
  --lime: #d4f58d;
  --radius: 1.25rem;
  --space: clamp(1rem, 4vw, 3rem);
  color-scheme: light;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--link); text-underline-offset: .22em; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #197bb3; outline-offset: 4px;
}
button, input { font: inherit; }
h1, h2, strong, p, ul { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { line-height: 1.045; letter-spacing: -.055em; }
h2 { line-height: 1.15; letter-spacing: -.035em; }
p { line-height: 1.65; }
.wrap { width: min(100% - 2 * var(--space), 74rem); margin-inline: auto; }
.header { background: var(--surface); border-bottom: 1px solid var(--rule); }
.header-inner, .header .brand, .main-nav, .footer-inner {
  display: flex; align-items: center;
}
.header-inner { min-height: 5rem; justify-content: space-between; gap: 1rem; }
.brand, .main-nav a, .profile, .topic, .results a, .featured a,
.crumbs a, .filters a, .back { color: inherit; text-decoration: none; }
.brand { gap: 1.15rem; }
.wordmark, .footer-brand b { font-family: "Archivo Black", "Inter", system-ui, sans-serif; font-weight: 950; font-style: italic; }
.wordmark { font-size: 2rem; line-height: 1; letter-spacing: -.095em; }
.brand-name { padding-left: 1.15rem; border-left: 1px solid #bccbc2; font-size: .97rem; font-weight: 650; }
.main-nav { gap: 1.5rem; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .94rem; font-weight: 600; }
.main-nav a.active, .main-nav a:hover { color: var(--link); text-decoration: underline; }
.nav-search { justify-content: center; width: 44px; border-radius: 50%; background: #eff3ee; }
.lens { display: inline-block; width: 1.12rem; height: 1.12rem; border: 2px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.lens::after { content: ""; position: absolute; width: .53rem; height: 2px; background: currentColor; right: -.36rem; bottom: -.16rem; transform: rotate(45deg); }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { top: 8px; left: 8px; padding: .65rem 1rem; background: white; width: auto; height: auto; clip-path: none; z-index: 5; }
.main { flex: 1 0 auto; padding-block: clamp(1.2rem, 3.3vw, 2.8rem) clamp(3rem, 7vw, 6rem); }
.main:focus { outline: none; }

.hero {
  isolation: isolate; position: relative; overflow: hidden; background: var(--pine);
  color: white; border-radius: clamp(1.1rem, 2.6vw, 2rem);
}
.hero-copy { position: relative; padding: clamp(2.2rem, 5.4vw, 4.6rem); z-index: 1; }
.hero h1 { font-size: clamp(3.25rem, 6.3vw, 5.65rem); font-weight: 720; }
.hero .search { margin-top: 2.1rem; border-color: transparent; }
.city-map {
  position: absolute; inset: 0 0 0 43%; overflow: hidden;
  background: #285c4d; mask-image: linear-gradient(90deg, transparent, #000 32%);
}
.map-grid {
  position: absolute; inset: -58% -32%;
  transform: rotate(-22deg);
  background-color: #245747;
  background-image:
    linear-gradient(57deg, transparent 55%, #477461 55.2% 56.4%, transparent 56.6%),
    repeating-linear-gradient(90deg, transparent 0 24px, #346453 25px 27px, transparent 28px 61px),
    repeating-linear-gradient(0deg, transparent 0 30px, #3b6b57 31px 34px, transparent 35px 61px),
    repeating-linear-gradient(90deg, transparent 0 124px, #477762 125px 131px),
    repeating-linear-gradient(0deg, transparent 0 85px, #46765e 86px 91px);
}
.park { position: absolute; background: #376c4b; border: 4px solid #48785a; transform: rotate(-22deg); }
.park-one { right: -1.5rem; top: -2rem; width: 29%; height: 46%; border-radius: 1rem 1rem 3rem 1rem; }
.park-two { left: 42%; bottom: -9%; width: 18%; height: 30%; border-radius: 2.5rem .7rem .7rem .7rem; }
.trip {
  position: absolute; left: 23%; top: 38%; width: 45%; height: 32%;
  transform: rotate(-22deg); color: var(--lime);
  border-bottom: .43rem solid; border-right: .43rem solid; border-bottom-right-radius: 1.6rem;
}
.turn { position: absolute; width: 26%; left: 100%; top: -.4rem; border-bottom: .43rem solid; }
.origin, .destination { position: absolute; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--pine); border: .28rem solid var(--lime); box-shadow: 0 0 0 .42rem #d4f58d29; }
.origin { left: -.3rem; bottom: -.82rem; }
.destination { left: 124%; top: -.86rem; background: var(--lime); box-shadow: 0 0 0 .45rem #d4f58d42, 0 0 0 1rem #d4f58d12; }

.search {
  display: flex; align-items: center; gap: .85rem; width: min(100%, 39rem);
  min-height: 4rem; padding: .42rem .44rem .42rem 1.2rem;
  color: var(--muted); background: white; border: 1px solid #b6c8bd; border-radius: .9rem;
}
.search:focus-within { box-shadow: 0 0 0 3px #75aebb; }
.search input { min-width: 0; flex: 1; border: 0; color: var(--ink); background: transparent; height: 2.8rem; font-size: 1rem; }
.search input::placeholder { color: #546761; opacity: 1; }
.search input:focus-visible { outline: none; }
.search button {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3rem; padding: .4rem 1.1rem; border: 0; border-radius: .58rem;
  background: var(--lime); color: #153227; font-weight: 720; cursor: pointer;
}
.search button:hover { background: #c3eb74; }
.button-arrow, .arrow, .round-arrow { line-height: 1; font-size: 1.35rem; }

.section { margin-top: clamp(2rem, 4.5vw, 3.5rem); }
.section > h2, .review h2, .empty h2 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
.section > h2 { margin-bottom: 1.15rem; }
.profile-grid, .topic-grid { display: grid; gap: 1rem; }
.profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile, .topic {
  border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.profile:hover, .topic:hover { border-color: #8ca89b; box-shadow: 0 4px 14px #173d2510; }
.profile { display: flex; align-items: center; gap: 1.15rem; padding: clamp(1.2rem, 2.35vw, 2rem); }
.card-text { display: grid; gap: .4rem; flex: 1; }
.card-text strong, .topic strong { font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.18; letter-spacing: -.032em; }
.card-text > span, .topic-meta, .text-head p, .page-head p, .empty p, .search-hint { color: var(--muted); }
.card-text > span { font-size: .97rem; line-height: 1.45; }
.round-arrow { flex: none; width: 2.15rem; height: 2.15rem; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; }
.icon-tile { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; flex: none; border-radius: .95rem; background: #e5f1d4; color: #254f36; }
.profile-passageiros .icon-tile { background: #dceeea; color: #225c58; }
.glyph { display: inline-block; width: 1.65rem; height: 1.65rem; position: relative; font-style: normal; }
.glyph-motoristas { border: 2px solid; border-radius: 50%; }
.glyph-motoristas::before { content: ""; position: absolute; left: 10%; top: 43%; width: 80%; height: .45rem; border-top: 2px solid; border-radius: 50%; }
.glyph-motoristas i { position: absolute; left: 47%; top: 53%; bottom: 0; border-left: 2px solid; }
.glyph-passageiros::before, .glyph-passageiros::after { content: ""; position: absolute; border: 2px solid; }
.glyph-passageiros::before { width: .59rem; height: .59rem; border-radius: 50%; left: .45rem; }
.glyph-passageiros::after { width: 1.4rem; height: .52rem; bottom: 0; border-radius: .8rem .8rem .25rem .25rem; }
.glyph-corridas { border: 2px solid; width: 1.25rem; height: 1.25rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.glyph-corridas::after { content: ""; position: absolute; inset: 26%; border: 2px solid; border-radius: 50%; }
.glyph-pagamentos, .glyph-ganhos-e-pagamentos { height: 1.16rem; border: 2px solid; border-radius: .22rem; }
.glyph-pagamentos::after, .glyph-ganhos-e-pagamentos::after { content: ""; position: absolute; top: .21rem; left: 0; right: 0; border-top: 2px solid; }
.glyph-suporte { border: 2px solid; height: 1.3rem; border-radius: .42rem .42rem .42rem 0; }
.glyph-suporte::before { content: "···"; font: bold 1rem/1 system-ui, sans-serif; display: block; text-align: center; }

.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); font-size: .91rem; margin-bottom: 1.2rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.6rem; }
.crumbs a:hover, .back:hover, .featured a:hover { text-decoration: underline; }
.slash { color: #8a9e93; }
.page-head { padding: clamp(1.6rem, 3.5vw, 3rem); background: #e9f1e5; border: 1px solid #d6e3d4; border-radius: var(--radius); }
.page-head h1, .text-head h1, .error h1 { font-size: clamp(2.25rem, 5vw, 4.05rem); }
.page-head p, .text-head p { margin-top: .7rem; font-size: 1.08rem; }
.page-head .search { margin-top: 1.4rem; }
.topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic { display: flex; flex-flow: column; align-items: flex-start; gap: 1.1rem; padding: 1.45rem; }
.topic .icon-tile { width: 2.7rem; height: 2.7rem; background: #eef3eb; border-radius: .75rem; }
.topic-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: .92rem; }
.featured { margin-top: 1.35rem; display: flex; align-items: center; gap: .9rem; }
.feature-rule { width: 1.5rem; border-top: 3px solid #72a26d; }
.featured a { min-height: 44px; display: inline-flex; gap: .7rem; align-items: center; font-weight: 650; color: var(--link); }
.reading { width: min(100%, 48rem); margin-inline: auto; }
.text-head { margin: 1.4rem 0 1.8rem; }
.results { padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.results li + li { border-top: 1px solid var(--rule); }
.results a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.35rem; }
.results a:focus-visible { outline-offset: -4px; }
.results a:hover { background: #f1f6ed; }
.result-copy { font-weight: 620; line-height: 1.45; }
.result-copy small { font-size: .84rem; display: block; color: var(--muted); font-weight: 500; margin-bottom: .25rem; }
.back { margin-top: 1.7rem; display: inline-flex; min-height: 44px; align-items: center; font-weight: 640; color: var(--link); }
.status, .preview-label { font-size: .82rem; line-height: 1.3; font-weight: 650; }
.status { display: inline-block; margin-bottom: 1rem; padding: .32rem .65rem; border-radius: .4rem; color: #714c1a; background: #fcf0cf; }
.review, .empty { padding: 1.6rem; border: 1px solid var(--rule); border-radius: var(--radius); }
.review { background: #f3f3e9; border-left: 4px solid #83985d; }
.review h2 { font-size: 1.22rem; margin-bottom: .5rem; }
.article-body p { font-size: 1.1rem; white-space: pre-line; margin-bottom: 1em; overflow-wrap: anywhere; }
.related > h2 { font-size: 1.35rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.7rem; }
.filters a { min-height: 44px; align-items: center; display: inline-flex; padding: .42rem .9rem; border: 1px solid var(--rule); border-radius: 1.5rem; background: white; font-size: .94rem; }
.filters a[aria-current] { background: var(--pine); color: white; border-color: var(--pine); }
.result-count { font-size: 1.22rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.empty { background: white; }
.empty h2 { font-size: 1.25rem; overflow-wrap: anywhere; }
.empty p { margin-top: .45rem; }
.empty a { display: inline-block; margin-top: .65rem; }
.error { padding-top: 2rem; }
.error p { margin-top: 1rem; }
.footer { border-top: 1px solid var(--rule); background: #eff3ed; }
.footer-inner { padding-block: 1.3rem; justify-content: space-between; gap: .75rem; flex-wrap: wrap; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: baseline; gap: .65rem; font-size: .9rem; }
.footer-brand b { font-size: 1.17rem; letter-spacing: -.08em; color: var(--pine); }

@media (max-width: 52rem) {
  .profile-grid { gap: .75rem; }
  .profile { gap: .8rem; }
  .profile .round-arrow { border: 0; width: 1.2rem; }
  .profile .icon-tile { width: 2.7rem; height: 2.7rem; }
  .hero-copy { padding: 2.5rem; }
  .city-map { left: 40%; }
}
@media (max-width: 42rem) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: .75rem; padding-bottom: .25rem; }
  .brand { gap: .72rem; }
  .brand-name { padding-left: .72rem; font-size: .9rem; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: .2rem .85rem; justify-content: flex-start; margin-top: .25rem; }
  .main-nav .nav-search { margin-left: auto; background: transparent; }
  .hero-copy { padding: 2rem 1.25rem 1.35rem; }
  .hero h1 { font-size: clamp(2.85rem, 11vw, 4.2rem); }
  .hero .search { margin-top: 1.7rem; }
  .city-map { left: 44%; opacity: .68; }
  .search { gap: .62rem; padding-left: .8rem; min-height: 3.5rem; }
  .search button { min-height: 2.75rem; padding-inline: .75rem; }
  .button-arrow { display: none; }
  .profile-grid, .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .profile { padding: 1.1rem; min-height: 6rem; }
  .topic { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: 1rem; }
  .topic strong { font-size: 1.12rem; }
  .topic-meta { width: auto; gap: .55rem; margin: 0; }
  .topic-meta .arrow { display: none; }
  .crumbs { margin-bottom: .9rem; }
  .results a { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
