/* ===== 05-trilhas.css ===== */
.ex-home .ex-routes-section {
  overflow: hidden;
  background: linear-gradient(145deg, #061225, #0a1d38 66%, #071427);
}
.ex-home .ex-routes-intro {
  margin-bottom: 44px;
}
.ex-home .ex-trails-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 3px 15px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ex-home .ex-trails-tabs::-webkit-scrollbar {
  display: none;
}
.ex-home .ex-trails-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(165, 188, 221, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #b7c5d8;
  font:
    750 0.86rem/1 "Roboto Flex",
    Arial,
    sans-serif;
  cursor: pointer;
  transition: 180ms ease;
}
.ex-home .ex-trails-tabs button:hover {
  color: #fff;
  border-color: rgba(102, 157, 242, 0.58);
  background: rgba(23, 104, 231, 0.12);
}
.ex-home .ex-trails-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--ex-red);
  background: var(--ex-red);
  box-shadow: 0 10px 30px rgba(230, 56, 61, 0.2);
}
.ex-home .ex-trails-panels {
  display: grid;
  gap: 22px;
}
.ex-home .ex-tabs-ready .ex-trail-panel[hidden] {
  display: none;
}
.ex-home .ex-trail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 6vw, 74px);
  min-height: 470px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(164, 189, 224, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(23, 104, 231, 0.2),
      transparent 34%
    ),
    rgba(4, 15, 32, 0.66);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}
.ex-home .ex-trail-panel--featured {
  border-color: rgba(79, 145, 246, 0.42);
}
.ex-home .ex-trail-kicker {
  display: flex;
  justify-content: space-between;
  margin: 0 0 15px;
  color: #ed7478;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ex-home .ex-trail-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.ex-home .ex-trail-lede {
  max-width: 700px;
  margin: 20px 0 0;
  color: #c2cee0;
  font-size: 1.02rem;
  line-height: 1.7;
}
.ex-home .ex-trail-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 32px 0;
}
.ex-home .ex-trail-details > div {
  padding-top: 18px;
  border-top: 1px solid var(--ex-line);
}
.ex-home .ex-trail-details strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ex-home .ex-trail-details p,
.ex-home .ex-trail-details ul {
  margin: 10px 0 0;
  padding: 0;
  color: #9eafc7;
  font-size: 0.87rem;
  line-height: 1.65;
}
.ex-home .ex-trail-details ul {
  padding-left: 18px;
}
.ex-home .ex-trail-path {
  align-self: center;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(23, 104, 231, 0.13),
    rgba(255, 255, 255, 0.035)
  );
}
.ex-home .ex-trail-path > span {
  color: #93a8c6;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ex-home .ex-trail-path ol {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}
.ex-home .ex-trail-path li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 68px;
  padding: 13px 18px;
  border: 1px solid rgba(149, 183, 230, 0.18);
  border-radius: 14px;
  background: rgba(3, 11, 24, 0.58);
}
.ex-home .ex-trail-path li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -20px;
  z-index: 2;
  color: #5a87c5;
}
.ex-home .ex-trail-path small {
  color: #8fa2bd;
}
.ex-home .ex-trail-path strong {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
}
.ex-home .ex-trail-path .ex-trail-complement {
  border-style: dashed;
}
.ex-home .ex-orientation-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--ex-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.ex-home .ex-orientation-band > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ex-home .ex-orientation-band > div > span {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(23, 104, 231, 0.18);
  color: #8eb9ff;
  font-weight: 900;
}
.ex-home .ex-orientation-band p {
  margin: 0;
  color: #aab8cc;
}
.ex-home .ex-orientation-band strong {
  color: #fff;
}
.ex-home .ex-orientation-band .ex-button {
  width: max-content;
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .ex-home .ex-trail-panel {
    grid-template-columns: 1fr;
  }
  .ex-home .ex-trail-path {
    width: min(100%, 520px);
  }
}
@media (max-width: 768px) {
  .ex-home .ex-routes-intro {
    text-align: left;
  }
  .ex-home .ex-trail-panel {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 20px;
  }
  .ex-home .ex-trail-details {
    grid-template-columns: 1fr;
  }
  .ex-home .ex-orientation-band {
    align-items: stretch;
    flex-direction: column;
  }
  .ex-home .ex-orientation-band .ex-button {
    width: 100%;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .ex-home .ex-trails-tabs {
    width: calc(100vw - 15px);
  }
  .ex-home .ex-trail-path {
    padding: 20px 16px;
  }
}
