/* =========================
   Design system (Nu vibes)
   ========================= */
:root {
  /* Core */
  --brand: #067689;
  /* roxinho base */
  --brand-2: #129cb5;
  /* roxinho claro */
  --brand-3: #30c3dc;
  /* roxinho escuro */
  --ink: #3a595f;
  /* slate-900 */
  --muted: #4874c9;
  /* lavanda acinzentada */

  /* Surface */
  --bg: #f7f7fb;
  /* fundo claro */
  --card: #067689;
  ;
  --line: #1c90a4;

  /* Tabs */
  --aba: #067689;
  --abaActive: #ffffff;

  /* color font */
  --text: #129cb5;
  --text-2: #013038;
  --text-3: #fff;


  /* Radii + shadows */
  --r-lg: 16px;
  --r-xl: 22px;
  --elev-1: 0 4px 14px rgba(13, 10, 44, .06);
  --elev-2: 0 10px 28px rgba(13, 10, 44, .10);
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent);
}

/* Reset básico */
* {
  box-sizing: border-box
}


/*

:root{
  --trajeto-line: #0aa3b3;   /* cor do tracejado e bordas *//*
  --trajeto-dot-fill: #ffffff;/* miolo padrão das bolinhas *//*
  --trajeto-bg: #f4fbfd;     /* só se quiser usar no card *//*
}*/

:root{
  --trajeto-line: #0aa3b3;
  --trajeto-dot-fill: #ffffff;
  --trajeto-dot-dark: #075e66;
}

.itinerario {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ebf2f3;
  padding: 12px;
  margin-top: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.itinerario h3 {
  margin: 0;
}

/* linha tracejada */
.itinerario .trajeto {
  list-style: none;
  margin: .5rem 0 0;
  /*padding-left: 2.25rem;*/
  position: relative;
}

/*
.itinerario .trajeto::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: .25rem;
  bottom: .25rem;
  width: 10px;
  background: repeating-linear-gradient(
    to bottom,
    var(--trajeto-line) 0 6px,
    transparent 6px 12px
  );
}
  */

  .itinerario .trajeto::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: .25rem;
  bottom: .25rem;
  width: 11px;
  background: repeating-linear-gradient(
    to bottom,
    var(--trajeto-line) 0 12px,
    transparent 6px 12px
  );
  border-radius: 999px; /* curva top e bottom */
}


/* marcador base: passagem */
.itinerario .trajeto li {
  position: relative;
  padding: .3rem .1rem .1rem
}
.itinerario .trajeto li::before {
  content: "";
  position: absolute;
  left: calc(1.05rem - 47px);
  top: .10rem;
  width: 20px;
  height: 19px;
  border-radius: 50%;
  background: var(--trajeto-dot-fill);
  border: 3px solid var(--trajeto-line);
}


/* integração: bolinha com miolo escuro (alvo) */
.itinerario .trajeto li.mk-integracao::after {
  content: "";
  position: absolute;
  left: calc(1.1rem - 41.3px);
  top: calc(.19rem + 4.5px);
  width: 13px;
  height: 12px;
  border-radius: 50%;
  background: var(--trajeto-dot-dark);
}

/* terminal: bolinha inteira escura */
.itinerario .trajeto li.mk-terminal::before {
  background: var(--trajeto-dot-dark);
  border-color: var(--trajeto-line);
}

/* Cores já usadas no trajeto */
:root{
  --trajeto-line: #0aa3b3;
  --trajeto-dot-fill: #ffffff;
  --trajeto-dot-dark: #075e66;
}

/* Container da legenda */
.trajeto-legend{
  display: block;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding-top: .75rem;
  margin-top: .75rem;
  border-top: 1px dashed rgba(0,0,0,.15);
  font-size: .65rem;
}

.trajeto-legend h3{ 
  margin: 0 0 6px;
  font-size: 0.75rem;

}

/* Item (marcador + texto) */
.trajeto-legend .legend-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trajeto-legend .legend-text {
  display: inline-flex;
  align-items: center; /* garante alinhamento interno também */
  margin-right: 15px;
}

/* Bolinha base (passagem: vazado) */
.trajeto-legend .legend-dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid var(--trajeto-line);
  background: var(--trajeto-dot-fill);
  position: relative;  /* para centralizar o miolo da integração */
  margin-right: -6px;
}

/* Terminal: preenchido escuro */
.trajeto-legend .mk-terminal .legend-dot{
  background: var(--trajeto-dot-dark);
}

.mk-terminal{
  margin-bottom: 15px;
}

/* Integração: alvo com miolo escuro */
.trajeto-legend .mk-integracao .legend-dot::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--trajeto-dot-dark);
}





/*
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial
}
  */

/* ====== Layout ====== */
.wrap {
  max-width: 980px;
  margin: auto;
  padding: 1px
}

/* ====== HERO (capa roxinha) ====== 
.header {
  position: relative;
  overflow: hidden;
  padding: 32px 22px;
  color: #fff;
  background:
    radial-gradient(1200px 400px at 10% -10%, #b892ff33 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 10%, #6e36ff44 0%, transparent 50%),
    linear-gradient(135deg, #5a20ff 0%, #7a3cff 45%, #a12a69 100%);
  box-shadow: var(--elev-2);
  margin: 0px 0 26px;
  text-align: center;
}*/

.header h1 {
  font-size: 0.9;
  line-height: 1.05;
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #fff;
}

.header .logo {
  width: 100%;
  max-width: 512px;
  height: auto;
}

.header p {
  margin: 0;
  opacity: .92;
  font-size: clamp(14px, 1.6vw, 18px);
}

.header .cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: #067689;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: var(--elev-1);
  transition: transform .15s ease, box-shadow .15s ease;
}

.header .cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--elev-2);
}

.header .cta:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}


/* ====== Breadcrumbs ====== */
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 6px 0 14px
}

.crumbs .sep {
  color: var(--muted)
}

.card-lines{
  background-color: #fff;
  border-radius: 8px;
}

.crumbs button {
  min-width: 45px;
  height: 35px;
  border: 1px solid var(--line);
  background:#2391a3;
  color: var(--abaActive);
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--elev-1);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
  font-size: 0.45rem;
}

.crumbs button:hover {
  transform: translateY(-1px);
  box-shadow: var(--elev-2);
}

.crumbs button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.crumbs .current {
  border-style: dashed;
  cursor: default;
  opacity: .8
}

/* ====== Search ====== */
.search {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(var(--bg) 70%, transparent);
  padding: 6px 0 12px;
}

.search input {
  width: 100%;
  height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), var(--elev-1);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search input::placeholder {
  color: #9aa2c0
}

.search input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--ring);
}

.hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 6px;
  margin-left: 10px
}

.text-lines {
  color: var(--text-2);
  background: #eef6ff;
  padding: .8rem 1rem;
  font-size: 0.85rem;
  line-height: 1.8;
  width: 100%;
  height: 110px;
  border-radius: 12px;
}

/* ====== Cards / listas ====== */
.card {
  padding: 5px;
  color: var(--text-2);
}

.list {
  display: grid;
  gap: 12px
}

/* Linha (botão-cartão) */
.line-btn,
.time-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  box-shadow: var(--elev-1);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  background: #e0eef1;
  height: 70px;
  padding: 7px;
  border-radius: var(--r-xl);
  cursor: pointer;
}

.line-btn {
  font-size: 0.75rem;
}

.line-btn:hover,
.time-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--elev-2);
}

.line-btn:focus-visible,
.time-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.line-btn .sub {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px
}

/* Grade de horários */
.time-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr))
}

.time-btn {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  color: var(--text);
}

/* Badges/chips */
.chip-servico {
  display: inline-block;
  margin-left: .35rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  background: #eef5ff;
  color: #173a63;
  border: 1px solid #d8e7ff
}

.chip-servico-escolar {
  background: #fff7e6;
  color: #7a4b00;
  border: 1px solid #f0d9a6
}

/* Legendas/alertas */
.legend {
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--muted)
}

.alert.alert-info {
  margin-top: .75rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  color: var(--ink);
  background: #eef6ff;
  border: 1px solid #cfe5ff
}

/* ====== Itinerário (timeline) ====== */
/*.itinerario {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ebf2f3;
  padding: 12px;
  margin-top: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.trajeto {
  list-style: none;
  margin: 6px 0 0;
  padding: 0
}

.trajeto li {
  position: relative;
  padding: 8px 5px 2px 14px;
  border-left: 3px solid var(--brand)
}

.trajeto li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #067689 0%, var(--brand) 100%);
  box-shadow: 0 2px 8px rgba(12, 109, 142, 0.4)
}*/


/* trilho vertical tracejado */
/*
.itinerario {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ebf2f3;
  padding: 12px;
  margin-top: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.itinerario .trajeto{
  list-style: none;
  margin: .5rem 0 0;
  padding-left: 2.25rem;           /* espaço para trilho/bolinhas *//*
  position: relative;
}/*
.itinerario .trajeto::before{
  content: "";
  position: absolute;
  left: 1.05rem;                    /* centraliza com as bolinhas */ /*
  top: .25rem;
  bottom: .25rem;
  width: 2px;
  /* linha tracejada com gradient repetido */ /*
  background: repeating-linear-gradient(
    to bottom,
    var(--trajeto-line) 0 6px,
    transparent 6px 12px
  );
}

.itinerario .trajeto li{
  position: relative;
  padding: .5rem .5rem .75rem;      /* respiro entre itens *//*
  min-height: 32px;
}

/* bolinha (marcador) *//*
.itinerario .trajeto li::before{
  content: "";
  position: absolute;
  left: calc(1.05rem - 45px);        /* 7px = metade do diâmetro *//*
  top: .69rem;                       /* alinha verticalmente com o texto *//*
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--trajeto-dot-fill);
  border: 3px solid var(--trajeto-line);
  box-shadow: 0 0 0 2px #e6f6f9 inset; /* aro interno claro opcional *//*
}

/* destaque para o primeiro (Saída) e o último (Ponto final) *//*
.itinerario .trajeto li:first-child::before{
  background: var(--trajeto-line);  /* bolinha preenchida *//*
  border-color: var(--trajeto-line);
  box-shadow: none;
}
.itinerario .trajeto li:last-child::before{
  background: var(--trajeto-line);  /* idem para o final *//*
  border-color: var(--trajeto-line);
  box-shadow: none;
}



/* ====== Abas (pílulas) ====== */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 12px
}

.tab {
  border: 1px solid var(--line);
  background: #f0eaff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  color: #026b83;
  box-shadow: var(--elev-1);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}

.tab:hover {
  transform: translateY(-1px);
  box-shadow: var(--elev-2);
}

.tab.active {
  background: #fff;
  color: #066ebd;
  border-color: color-mix(in srgb, var(--aba) 45%, var(--line));
  box-shadow: var(--ring);
}

.tab-panels {
  margin-top: 4px
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block
}

/* ====== FAB (copiar link) ====== */
.fab-copy {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(156px + env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .04);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--elev-2);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.fab-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 38px rgba(13, 10, 44, .18)
}

.fab-copy:active {
  transform: translateY(0)
}

.fab-copy:focus-visible {
  outline: none;
  box-shadow: var(--ring)
}

@media (max-width:420px) {
  .fab-copy .label {
    display: none
  }
}

/* Copiado! */
.copy-hint {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 1000;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  padding: .45rem .6rem;
  border-radius: .6rem;
  font-size: .85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s
}

.copy-hint.show {
  opacity: 1;
  transform: translateY(0)
}

/* ====== Utilidades ====== */
.muted {
  color: var(--muted);
}

.info-details{
  text-align: 0.8rem;
  padding-left: 7px;
  color: var(--brand-3);
}

.time-btn .traj-flag {
  margin-left: .35rem;
  font-weight: 800;
  line-height: 1
}


/* ====== FAB (copiar link) ====== */
.fab-copy {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(156px + env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .04);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--elev-2);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.fab-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 38px rgba(13, 10, 44, .18)
}

.fab-copy:active {
  transform: translateY(0)
}

.fab-copy:focus-visible {
  outline: none;
  box-shadow: var(--ring)
}

@media (max-width:420px) {
  .fab-copy .label {
    display: none
  }
}

/* Copiado! */
.copy-hint {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 1000;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  padding: .45rem .6rem;
  border-radius: .6rem;
  font-size: .85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s
}

.copy-hint.show {
  opacity: 1;
  transform: translateY(0)
}

/* ====== Utilidades ====== */
.muted {
  color: var(--muted)
}

.time-btn .traj-flag {
  margin-left: .35rem;
  font-weight: 800;
  line-height: 1
}

/* ====== Dark mode ====== */
/*
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b1022; --card:#0f1530; --ink:#e7ecff; --line:#1d2340;
    --muted:#a7b0ff; --abaActive:#0f1530;
  }
  .header{
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    background:
      radial-gradient(1100px 420px at -10% 0%, #926aff2b 0%, transparent 55%),
      radial-gradient(700px 420px at 110% 10%, #4f22ff3a 0%, transparent 50%),
      linear-gradient(135deg, #2a0e7d 0%, #4f22ff 40%, ##00AAC7 100%);
  }
  .crumbs button, .card, .line-btn, .time-btn{background:var(--card); border-color:var(--line)}
  .search input{background:var(--card); color:var(--ink); box-shadow: none}
  .tabs .tab{background:#2a2357;color:#cfd4ff}
  .tab.active{background:#1a1f3e;color:#fff}
  .itinerario{background:#13193a;border-color:#222a54}
  .trajeto li{border-left-color:#9b6bff}
}
*/


/* Botão flutuante (Floating Action Button) */
.fab-copy {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(156px + env(safe-area-inset-bottom));
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  gap: .5rem;

  padding: .65rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  color: #0f172a;
  /* slate-900 */
  font-weight: 600;
  line-height: 1;
  cursor: pointer;

  box-shadow:
    0 2px 6px rgba(0, 0, 0, .08),
    0 8px 24px rgba(0, 0, 0, .08);

  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  touch-action: manipulation;
}

/* Efeito hover/focus */
.fab-copy:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .10),
    0 16px 32px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

.fab-copy:active {
  transform: translateY(0);
}

.fab-copy:focus-visible {
  outline: 3px solid #86b7fe;
  /* anel de foco acessível */
  outline-offset: 2px;
}

/* Texto do botão em telas bem pequenas: mostra só o ícone */
@media (max-width: 420px) {
  .fab-copy .label {
    display: none;
  }
}

/* Tema escuro opcional */
@media (prefers-color-scheme: dark) {
  .fab-copy {
    background: #59258c;
    /* quase preto */
    color: #e5eefc;
    border-color: rgba(255, 255, 255, .08);
    box-shadow:
      0 2px 6px rgba(0, 0, 0, .35),
      0 10px 24px rgba(0, 0, 0, .4);
  }

  .fab-copy:hover {
    box-shadow:
      0 6px 14px rgba(0, 0, 0, .45),
      0 14px 36px rgba(0, 0, 0, .5);
  }
}

/* DESIGN FAVORITO */

.n1-tabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}

.n1-tabs .tab {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  background: #ece7ff;
  color: #067689;
  font-weight: 600;
}

.n1-tabs .tab.active {
  background: #067689;
  color: #fff;
}

.n1-search {
  margin-bottom: 10px;
}

.n1-search input[type="search"] {
  width: 100%;
  border: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 8px 24px rgba(122, 60, 255, .07);
}

.n1-list {
  display: grid;
  gap: 10px;
}

.linha-card {
  /* agora é DIV, estilize como botão */
  user-select: none;
  background: #f7f7fb;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 8px 24px rgba(0, 0, 0, .05);
  cursor: pointer;
  outline: none;
	height: 110px;
}

.linha-card:focus {
  box-shadow: 0 0 0 2px #067689, 0 8px 24px rgba(0, 0, 0, .05);
}

.linha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.linha-title {
  font-weight: 800;
  letter-spacing: .3px;
  color: #067689;
}

.linha-sub {
  font-size: .92rem;
  color: #6b7280;
  margin-top: 4px;
}

/* ===== Estilo da estrela (favorito) ===== */
.fav-btn {
  display: inline-block;
  font-size: 1.4rem;
  color: #aaa;               /* cinza claro padrão */
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.fav-btn:hover {
  color: #888;               /* hover mais escuro */
}

.fav-btn.active {
  color: #f5c518;            /* dourado */
  transform: scale(1.1);
}

.fav-btn.active:hover {
  color: #ffcf33;            /* dourado mais claro no hover */
}




.n1-search {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.n1-search input[type="search"] {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 8px 24px rgba(122, 60, 255, .07);
}

.n1-search .btn-search,
.n1-search .btn-clear {
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.6rem;

}

.n1-search .btn-search {
  background: #067689;
  color: #fff;
  font-size: 0.6rem;
  cursor: pointer;
}

.n1-search .btn-clear {
  background: #ece7ff;
  color: #067689;
  font-size: 0.6rem;
  cursor: pointer;
}



/* Container visual do topo (opcional) */
.ctx-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .75rem;
  padding: .25rem .75rem 0;
}

/* Botão Voltar – mais destacado */
.btn-back {
  --btn-back-bg: #004f63;     /* tom mais escuro que a faixa turquesa */
  --btn-back-bg-hover: #00627e;
  --btn-back-fg: #ffffff;

  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 0;
  border-radius: 9px;
  background: var(--btn-back-bg);
  color: var(--btn-back-fg);
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 79, 99, .28);
  cursor: pointer;
  /* toque confortável */
  min-height: 35px;
  -webkit-tap-highlight-color: transparent;
  margin: 6px 0 14px;
}

.btn-back:focus {
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 2px;
}

.btn-back:hover { background: var(--btn-back-bg-hover); }

.btn-back__icon {
  display: inline-grid;
  place-items: center;
}

.btn-back__text {
  font-size: .95rem;
  letter-spacing: .2px;
}

/* Breadcrumbs ao lado (quebra bem em telas menores) */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .35rem;
  min-width: 0; /* evita estourar */
}

/* Se já tiver estilos próprios de crumb, mantenha-os; abaixo é um fallback */
.crumbs .sep { opacity: .6; margin: 0 .15rem; }
.crumbs button.current { opacity: .9; cursor: default; }
