/* Rota da Democracia. First-pass poster, owner palette. */

:root {
  --bg: #f3f0e8;
  --paper: #fffdf8;
  --paper-2: #e7e1d4;
  --ink: #142026;
  --muted: #3e525a;
  --red: #fd0200;
  --red-ink: #c80000;
  --blue: #0034d2;
  --yellow: #ffe403;
  --green: #02ab20;
  --green-ink: #017016;
  --field: #c80000;
  --on-field: #ffffff;
  --on-field-muted: #ffe4e1;
  --accent: #ffe403;
  --link: #c80000;
  --brand: #c80000;
  --blue-text: #0034d2;
  --green-text: #017016;
  --line: #142026;
  --focus: #142026;
  --ink-fixed: #142026;
  --shadow-size: 7px;
  --radius: 8px;
  --radius-sm: 4px;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", "Nimbus Sans Narrow", "Liberation Sans Narrow", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: min(72rem, calc(100% - 2.5rem));
  --header-pad: 1rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--field);
  color: var(--on-field);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--line);
  padding: 0.7rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--paper-2);
  border-bottom: 3px solid var(--line);
}

[hidden] {
  display: none !important;
}

/* Header and footer frames */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding: 0.75rem var(--header-pad);
  background: var(--bg);
  box-shadow: inset 0 0 0 3px var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--brand);
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  background: currentColor;
  -webkit-mask: url("mark.svg") center / contain no-repeat;
  mask: url("mark.svg") center / contain no-repeat;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.nav {
  position: relative;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 0.9rem;
  cursor: pointer;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.nav-toggle::before {
  content: "";
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px currentColor, 0 -6px currentColor;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 50;
  display: none;
  gap: 0.75rem;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.85rem;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--line);
}

.nav-links {
  display: grid;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.35rem;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--link);
  text-underline-offset: 0.35em;
}

.nav-links a:hover {
  color: var(--link);
}

.nav-check:checked ~ .nav-panel {
  display: grid;
}

.site-footer {
  margin-top: auto;
  padding: 0 0 0;
  background: var(--bg);
  box-shadow: inset 0 0 0 3px var(--line);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--link);
}

.fine {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fine a {
  color: var(--link);
}

/* Type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: currentColor;
}

.lede {
  max-width: 38rem;
  margin: 0.9rem 0 0;
  font-size: 1.125rem;
}

/* Home */

.hero {
  --focus: #f4f1ea;
  background: var(--field);
  color: var(--on-field);
  padding: 2.25rem 0 2.75rem;
}

.hero h1 {
  max-width: 16ch;
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 18vw, 8.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .lede {
  max-width: 34rem;
  color: var(--on-field);
  font-size: 1.2rem;
}

.actions {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 13.5rem;
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--line);
  text-decoration: none;
}

.action:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--line);
}

.action:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
}

.icon {
  width: 1.85rem;
  height: 1.85rem;
  background: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

.icon-car { --glyph: url("icons/car.svg"); }
.icon-key { --glyph: url("icons/key.svg"); }
.icon-bus { --glyph: url("icons/bus.svg"); }
.icon-whatsapp { --glyph: url("icons/whatsapp.svg"); }

.btn .icon {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
}

.action-kicker {
  margin: 0;
  color: var(--blue-text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action:nth-child(2) .action-kicker {
  color: var(--brand);
}

.action:nth-child(3) .action-kicker {
  color: var(--green-text);
}

.action h2,
.action h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.action p:last-child {
  margin: 0;
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 0.45rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--on-field-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Inner pages */

.band {
  --focus: #f4f1ea;
  background: var(--field);
  color: var(--on-field);
  padding: 2.75rem 0 3.4rem;
}

.band h1 {
  max-width: 16ch;
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 11vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.88;
  text-transform: uppercase;
}

.band .lede {
  color: var(--on-field-muted);
}

.stack {
  display: grid;
  gap: 1.35rem;
  margin-top: -1.7rem;
  padding-bottom: 3rem;
}

.panel {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--line);
  padding: 1.15rem;
}

.panel h2,
.place h2,
.prose h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.legal {
  background: var(--paper-2);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
}

.legal .eyebrow {
  color: var(--link);
}

.legal p,
.prose p {
  margin: 0.65rem 0 0;
}

.legal a,
.prose a,
.place a:not(.btn) {
  color: var(--link);
}

.prose {
  display: grid;
  gap: 0.15rem;
  max-width: 40rem;
}

.prose h2 {
  margin-top: 1.6rem;
}

.prose h2:first-child,
.prose > p:first-child {
  margin-top: 0;
}

.stack-narrow > * {
  max-width: 40rem;
}

@media (min-width: 60rem) {
  .faq-list {
    display: block;
    columns: 2;
    column-gap: 1.75rem;
  }

  .faq-list > * {
    break-inside: avoid;
    margin-bottom: 1.75rem;
  }
}

/* Controls */

.form,
.fields,
fieldset {
  display: grid;
  gap: 1rem;
  min-inline-size: 0;
}

/* Only reset the browser's fieldset box; a .panel.form keeps the panel's border and padding. */
.fields,
fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.panel.form > fieldset:not(:first-child),
.panel.form > .place-picker:not(:first-child) {
  margin-top: 0.75rem;
}

/* The banner's offset shadow eats into the stack gap. */
.stack > .transit-banner + .panel {
  margin-top: 0.45rem;
}

legend + * {
  margin-top: 0.4rem;
}

legend {
  margin-bottom: 0.6rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field > span,
.field > label,
.check span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.row-2 {
  display: grid;
  gap: 1rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  cursor: pointer;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: #c80000;
  flex: none;
}

.check span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.btn {
  --btn-line: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 3px solid var(--btn-line);
  border-radius: var(--radius-sm);
  box-shadow: 7px 7px 0 var(--btn-line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--field);
  color: var(--on-field);
}

.btn-paper {
  --btn-line: #142026;
  background: #fffdf8;
  color: #142026;
}

.btn-header {
  width: 100%;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--btn-line);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--btn-line);
}

.form-actions,
.offer-actions,
.place-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-actions .btn,
.place-actions .btn,
.offer-actions .btn,
.dialog-actions .btn {
  flex: 1 1 100%;
}

.chosen {
  margin: 0;
  font-weight: 700;
}

.form-error {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-weight: 700;
}

.status {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.listbox {
  list-style: none;
  max-height: 16rem;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.listbox button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0.45rem 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.listbox button:hover,
.listbox button[aria-selected="true"] {
  background: var(--paper-2);
}

.turnstile {
  min-height: 0;
}

.turnstile:empty {
  display: none;
}

/* Offers */

.offer-list {
  display: grid;
  gap: 1rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.offer {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 1.1rem 1.2rem;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--line);
}

.offer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.offer-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.offer-time time {
  font: inherit;
}

.offer-seats,
.offer-access {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.offer-place,
.offer-meet,
.offer-note {
  margin: 0;
}

.offer-place {
  font-weight: 700;
}

.offer-meet {
  color: var(--muted);
}

.offer-actions .btn {
  flex: 1 1 10rem;
}

/* Manage */

.resumo {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.4rem;
}

.resumo div {
  display: grid;
  gap: 0.1rem;
}

.resumo dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.resumo dd {
  margin: 0;
  font-weight: 700;
}

/* Place and fares */

.place {
  display: grid;
  gap: 0.45rem;
}

.place-address,
.place-meta {
  margin: 0;
}

.place-meta {
  color: var(--muted);
}

.fare-list {
  display: grid;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.fare {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0;
  border-top: 3px solid var(--line);
}

.fare-place {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.fare-note {
  margin: 0;
}

.fare-source {
  color: var(--link);
  font-weight: 700;
}

.copy-block {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.link-break {
  color: var(--link);
  font-weight: 700;
  overflow-wrap: anywhere;
}

#oferta-criada .form-actions + .offer-name {
  margin-top: 1.4rem;
}

dialog {
  width: min(28rem, calc(100% - 2rem));
  padding: 1.15rem;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--line);
}

dialog::backdrop {
  background: rgba(12, 20, 22, 0.72);
}

dialog h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

dialog p {
  margin: 0 0 0.8rem;
}

@media (min-width: 40rem) {
  .row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }
}

@media (min-width: 60rem) {
  :root {
    --wrap: min(76rem, calc(100% - 8rem));
    --header-pad: 2.5rem;
  }

  .site-header {
    min-height: 6.25rem;
    padding-inline: 2.5rem;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand-text {
    font-size: 1.7rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem 1.15rem;
  }

  .nav-links a {
    padding: 0;
    white-space: nowrap;
  }

  .btn-header {
    width: auto;
    white-space: nowrap;
  }

  .hero {
    padding: 3.5rem 0 3.75rem;
  }

  .actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .panel {
    padding: 1.5rem 1.6rem 1.65rem;
  }

  .form-actions .btn,
  .place-actions .btn,
  .offer-actions .btn,
  .dialog-actions .btn {
    flex: 0 1 auto;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 2rem;
  }

  .fine {
    grid-column: 1 / -1;
  }
}

@media (max-width: 22.5rem) {
  .brand-text {
    font-size: 1.12rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }
}

/* Affiliation, palette bar, transit, declarations */

.affiliation-top {
  margin: 0;
  padding: 0.8rem 1.25rem;
  background: #ffe403;
  color: #142026;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

.color-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 0.7rem;
  background: #142026;
  border-block: 3px solid #142026;
}

.color-bar span:nth-child(1) { background: #0034d2; }
.color-bar span:nth-child(2) { background: #ffe403; }
.color-bar span:nth-child(3) { background: #fd0200; }
.color-bar span:nth-child(4) { background: #02ab20; }

.transit-hero {
  --focus: #142026;
  background: #ffe403;
  color: #142026;
  padding: 2rem 0 2.25rem;
}

.transit-hero .eyebrow {
  color: #142026;
}

.transit-hero h2 {
  max-width: 16ch;
  margin: 0.55rem 0 0;
  color: #142026;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.86;
  text-transform: uppercase;
}

.transit-hero p {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: #142026;
  font-size: 1.125rem;
}

.transit-hero .btn {
  margin-top: 1.15rem;
}

.justice-hero {
  --focus: #ffe403;
  background: #0034d2;
  color: #ffffff;
}

.justice-hero .eyebrow,
.justice-hero h2,
.justice-hero li {
  color: #ffffff;
}

.justice-hero .eyebrow {
  color: #ffe403;
}

.who-list {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.15rem;
}

.who-list li + li {
  margin-top: 0.5rem;
}

.justice-hero .who-list {
  max-width: 40rem;
  font-size: 1.125rem;
}

.justice-hero .btn,
#transporte-justica-eleitoral .btn {
  max-width: 100%;
  white-space: normal;
}

.panel .eyebrow {
  color: var(--brand);
}

.transit-banner {
  margin: 0;
  padding: 0.95rem 1rem;
  background: #ffe403;
  color: #142026;
  border: 3px solid #142026;
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 #142026;
  font-weight: 700;
}

.transit-banner p {
  margin: 0;
}

.transit-banner a {
  color: #142026;
}

.deadline-banner {
  background: #142026;
  color: #ffffff;
  border-color: #142026;
  box-shadow: 7px 7px 0 #fd0200;
  font-size: 1.0625rem;
}

.deadline-top {
  padding-block: 1.25rem 1.6rem;
}

.guarantee {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--line);
  border-left: 0.7rem solid #fd0200;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.declarations {
  display: grid;
  gap: 0.85rem;
  margin: 0.4rem 0 0;
  padding: 0.95rem 0.95rem 1rem;
  border: 3px solid var(--line);
  border-radius: var(--radius);
}

.declarations .check span {
  font-size: 1rem;
}

.secao-ajuda {
  display: grid;
  gap: 0.85rem;
}

.secao-ajuda h2 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.nearby-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nearby-list button {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 3px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .action:hover,
  .action:active,
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

/* The route result groups several panels; give them the same rhythm as .stack. */
#resultado-local:not([hidden]) {
  display: grid;
  gap: 1.35rem;
}

.hero .deadline-banner {
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-whatsapp {
  background: #017016;
  color: #ffffff;
}

.hero .route-note {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 6px solid var(--accent);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 500;
}

.rides-hero {
  --focus: #ffe403;
  background: #017016;
  color: #ffffff;
}

.rides-hero .eyebrow {
  color: #ffe403;
}

.hero-title {
  max-width: 16ch;
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-title .accent {
  color: var(--accent);
}

.route-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#tarifa-zero-outras summary {
  cursor: pointer;
}

/* Seven nav links need the hamburger, or tighter spacing, below wide desktop. */
@media (min-width: 60rem) and (max-width: 79.99rem) {
  .nav-panel {
    gap: 0.75rem;
  }

  .nav-links {
    gap: 0.2rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Room for the button's offset shadow above and below the justice block. */
.justice-hero {
  padding-bottom: 3rem;
}

.justice-hero .btn,
.panel#transporte-justica-eleitoral .btn {
  margin-top: 1.5rem;
}

.panel#transporte-justica-eleitoral .btn {
  margin-bottom: 0.5rem;
}

/* The stack normally overlaps the band above; the legal notice should not. */
.justice-hero + .stack {
  margin-top: 0;
  padding-top: 2rem;
}
