:root {
  --bg: #061413;
  --bg-2: #0b1f1d;
  --panel: rgba(9, 24, 23, 0.82);
  --panel-strong: rgba(10, 28, 26, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.07);
  --ink: #f4fbf8;
  --muted: #a9bbb7;
  --accent: #00b87f;
  --accent-dark: #008c64;
  --accent-soft: rgba(0, 184, 127, 0.16);
  --danger: #ff7a66;
  --line: rgba(208, 255, 236, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --font-sans: "Instrument Sans", "Outfit", "Montserrat", "Jura", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
}

:root[data-theme="light"] {
  --bg: #f5faf8;
  --bg-2: #eaf4f1;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(16, 45, 42, 0.06);
  --ink: #102326;
  --muted: #617074;
  --accent: #0fa574;
  --accent-dark: #087a58;
  --accent-soft: rgba(15, 165, 116, 0.14);
  --danger: #b42318;
  --line: rgba(16, 45, 42, 0.14);
  --shadow: 0 24px 70px rgba(19, 35, 38, 0.16);
}

* {
  box-sizing: border-box;
  font-family: var(--font-sans) !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 184, 127, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg), #0e171b 72%);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 165, 116, 0.12), transparent 30%),
    linear-gradient(135deg, #f6fbf9, #edf5f3 72%);
}

button,
input,
select,
textarea,
option,
a {
  font-family: var(--font-sans) !important;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

html:has(.landing-view) {
  scroll-behavior: smooth;
}

.landing-view {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 12%, rgba(0, 184, 127, 0.16), transparent 28%),
    linear-gradient(135deg, var(--bg), #0e171b 72%);
  color: var(--ink);
}

:root[data-theme="light"] .landing-view {
  background: radial-gradient(circle at 70% 12%, rgba(21, 143, 104, 0.12), transparent 28%), #fbfdfc;
}

.landing-main,
.landing-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  background: rgba(6, 20, 19, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

:root[data-theme="light"] .landing-header {
  background: rgba(251, 253, 252, 0.88);
  border-bottom: 1px solid rgba(19, 35, 38, 0.08);
}

.landing-brand,
.landing-nav,
.landing-actions,
.hero-actions,
.landing-cta > div:last-child {
  display: flex;
  align-items: center;
}

.theme-toggle {
  position: relative;
  width: 60px;
  height: 34px;
  flex: 0 0 auto;
}

.theme-toggle input[type="checkbox"] {
  display: none;
}

.theme-toggle label {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(210, 245, 240, 0.18);
  border-radius: 17px;
  cursor: pointer;
  background: #263a3d;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.theme-toggle label::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #071918;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.theme-toggle label::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 4px 0 0 0 #f3fbf8;
  transform: rotate(-25deg);
  transition: transform 0.3s ease, left 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-toggle input:checked + label {
  border-color: rgba(15, 165, 116, 0.34);
  background: #0fa574;
}

.theme-toggle input:checked + label::before {
  background: #fff;
  transform: translateX(26px);
}

.theme-toggle input:checked + label::after {
  left: 38px;
  width: 11px;
  height: 11px;
  background: #f5c94a;
  box-shadow: 0 0 10px rgba(245, 201, 74, 0.8);
  transform: rotate(0);
}

.theme-toggle label:hover {
  background: #344a4d;
}

.theme-toggle input:checked + label:hover {
  background: #0b8d64;
}

.theme-toggle input:focus + label {
  box-shadow: 0 0 0 3px rgba(0, 184, 127, 0.18);
}

.landing-brand {
  gap: 10px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}

.landing-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(15, 111, 82, 0.18);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 8px;
  color: #fff;
  background: linear-gradient(135deg, #17b47f, #0f6f52);
  font-size: 14px;
  transform: rotate(-20deg);
}

.brand-mark svg,
.hero-highlights svg,
.feature-grid svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
  transform: rotate(20deg);
}

.landing-nav {
  gap: 30px;
}

.landing-nav a {
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.landing-nav a:hover {
  color: var(--accent-dark);
}

.landing-actions,
.hero-actions,
.landing-cta > div:last-child {
  gap: 14px;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  cursor: pointer;
}

.landing-button.primary,
.route-summary-card button {
  color: #f4fbf8;
  background: #0d8a63;
  border-color: rgba(244, 251, 248, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px rgba(6, 34, 27, 0.14);
}

.landing-button.secondary {
  color: var(--accent-dark);
  background: var(--panel-strong);
  border-color: rgba(15, 111, 82, 0.28);
}

.landing-button:hover,
.route-summary-card button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 28px rgba(6, 34, 27, 0.18);
}

.landing-button.primary:hover,
.route-summary-card button:hover {
  background: #0b7857;
}

.landing-button.secondary:hover {
  background: var(--panel-soft);
  border-color: rgba(15, 111, 82, 0.4);
}

.landing-button.large {
  min-height: 52px;
  padding: 0 28px;
}

#recursos,
#como-funciona,
#simulacao,
#faq,
#sobre {
  scroll-margin-top: 28px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 76px);
  padding: 36px 0 44px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.08;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 0;
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.hero-highlights div,
.feature-grid article,
.tech-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.hero-highlights span,
.feature-grid span,
.steps-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(15, 111, 82, 0.16);
  border-radius: 14px;
  color: var(--accent-dark);
  background: var(--panel-soft);
  font-weight: 900;
}

.hero-highlights p,
.feature-grid p,
.steps-grid p,
.tech-section p,
.landing-cta p,
.landing-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.route-map-card {
  position: absolute;
  inset: 0 0 0 70px;
  overflow: hidden;
  border: 1px solid rgba(19, 35, 38, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 248, 244, 0.84), rgba(236, 247, 251, 0.9)),
    repeating-linear-gradient(30deg, transparent 0 32px, rgba(15, 111, 82, 0.08) 33px 34px),
    repeating-linear-gradient(120deg, transparent 0 38px, rgba(78, 154, 183, 0.09) 39px 40px);
  box-shadow: 0 24px 60px rgba(19, 35, 38, 0.14);
}

.route-map-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 42%;
  height: 68%;
  border-radius: 60% 0 0 0;
  background: linear-gradient(145deg, rgba(104, 189, 218, 0.45), rgba(192, 231, 241, 0.7));
}

.map-label {
  position: absolute;
  z-index: 2;
  color: #56666a;
  font-weight: 700;
}

.campinas { top: 62px; left: 58%; }
.sao-paulo { top: 116px; right: 120px; color: #163033; font-size: 20px; }
.curitiba { bottom: 92px; right: 200px; color: #163033; font-size: 18px; }

.route-line {
  position: absolute;
  inset: 42px 36px;
  z-index: 3;
  width: calc(100% - 72px);
  height: calc(100% - 84px);
}

.route-line path {
  fill: none;
  stroke: #0d7f5d;
  stroke-width: 7;
  stroke-linecap: round;
}

.route-line circle {
  fill: #0f8c65;
  stroke: #fff;
  stroke-width: 5;
}

.route-line .danger-stop {
  fill: #e25d62;
}

.route-summary-card,
.route-stops-card {
  position: absolute;
  z-index: 5;
  width: 210px;
  border: 1px solid rgba(19, 35, 38, 0.08);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 50px rgba(19, 35, 38, 0.16);
}

.route-summary-card {
  top: 26px;
  left: 0;
}

.route-summary-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.route-summary-card dl,
.route-summary-card dd {
  margin: 0;
}

.route-summary-card dl {
  display: grid;
  gap: 13px;
}

.route-summary-card dt {
  color: #66767a;
  font-size: 12px;
}

.route-summary-card dd {
  color: #122629;
  font-weight: 900;
}

.route-summary-card button {
  width: 100%;
  min-height: 36px;
  margin-top: 16px;
  border-radius: 6px;
}

.route-stops-card {
  left: 0;
  bottom: 12px;
  width: 280px;
}

.stop-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-left: 2px dotted #9fcfbd;
  padding: 0 0 18px 16px;
  color: #26383b;
  font-size: 13px;
}

.stop-line:last-child {
  padding-bottom: 0;
}

.stop-line span {
  color: var(--accent-dark);
  white-space: nowrap;
}

.stop-line.end span {
  color: #dc4f59;
}

.feature-section,
.tech-section {
  border: 1px solid rgba(19, 35, 38, 0.08);
  border-radius: 16px;
  padding: 30px 22px;
  background: linear-gradient(135deg, #f5fbf8, #f8fcfd);
}

.feature-section h2,
.steps-section h2,
.tech-section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 28px;
}

.section-kicker {
  margin: 0 auto 12px;
}

.feature-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.tech-grid article {
  min-height: 160px;
  border: 1px solid rgba(19, 35, 38, 0.1);
  border-radius: 12px;
  padding: 22px 14px;
  background: #fff;
}

.feature-grid h3,
.steps-grid h3 {
  margin: 0;
  font-size: 15px;
}

.steps-section {
  padding: 44px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.steps-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(50% + 66px);
  width: calc(100% - 132px);
  height: 18px;
  background-image: radial-gradient(circle at 10% 50%, rgba(97, 112, 116, 0.34) 0 7px, transparent 7.5px), radial-gradient(circle at 32% 50%, rgba(97, 112, 116, 0.34) 0 5.5px, transparent 6px), radial-gradient(circle at 50% 50%, rgba(97, 112, 116, 0.34) 0 4.5px, transparent 5px), radial-gradient(circle at 68% 50%, rgba(97, 112, 116, 0.34) 0 5.5px, transparent 6px), radial-gradient(circle at 90% 50%, rgba(97, 112, 116, 0.34) 0 7px, transparent 7.5px);
  background-size: 100% 18px;
  background-position: center;
  background-repeat: no-repeat;
}

.steps-grid article {
  position: relative;
}

.steps-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.steps-grid span {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 22px;
}

.tech-section {
  margin-bottom: 26px;
}

.tech-section > p {
  max-width: 540px;
  margin: -10px auto 24px;
  text-align: center;
}

.tech-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tech-grid article {
  min-height: 78px;
  align-content: center;
  gap: 4px;
}

.tech-grid span {
  color: #617074;
  font-size: 12px;
}

.faq-section {
  margin: 34px 0;
  border: 1px solid rgba(19, 35, 38, 0.08);
  border-radius: 16px;
  padding: 34px 22px;
  background: linear-gradient(135deg, #f7fbfa, #ffffff);
}

.faq-section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  border: 1px solid rgba(19, 35, 38, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 16px;
  padding: 34px 52px;
  color: #fff;
  border: 1px solid rgba(244, 251, 248, 0.14);
  background: #087554;
}

.landing-cta .landing-button.secondary {
  color: #dcfff3;
  background: rgba(2, 20, 18, 0.82);
  border-color: rgba(244, 251, 248, 0.12);
}

.landing-cta .landing-button.primary {
  color: #06201b;
  background: #dff9ef;
  border-color: rgba(255, 255, 255, 0.35);
}

.landing-cta .landing-button.secondary:hover {
  background: rgba(2, 20, 18, 0.95);
}

.landing-cta .landing-button.primary:hover {
  background: #c9f3e4;
}

.landing-cta h2 {
  margin: 0 0 8px;
}

.landing-cta p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  margin: 34px 0;
}

.about-copy,
.about-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-copy {
  padding: 34px;
}

.about-copy .section-kicker {
  margin: 0 0 12px;
}

.about-copy h2,
.about-card h3 {
  margin: 0 0 14px;
}

.about-copy h2 {
  font-size: 32px;
}

.about-copy p:not(.section-kicker),
.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background: #087554;
  color: #fff;
}

.about-card p {
  color: rgba(255, 255, 255, 0.88);
}

.about-card .landing-button {
  width: 100%;
}

.landing-footer {
  display: grid;
  gap: 8px;
  padding: 36px 0 42px;
}

.trip-simulation {
  padding: 0 0 34px;
}

.trip-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(19, 35, 38, 0.12);
}

.trip-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.trip-header span {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--accent-dark);
  background: #e5f7ef;
  font-size: 13px;
  font-weight: 800;
}

.trip-header h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.trip-header p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.trip-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-width: 330px;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel-soft);
}

.summary-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.summary-card strong {
  font-size: 20px;
}

.timeline-wrap {
  position: relative;
  padding: 42px 10px 24px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  height: 8px;
  border-radius: 999px;
}

.timeline::before {
  right: 8%;
  background: #dfe7e9;
}

.timeline::after {
  width: 68%;
  background: linear-gradient(90deg, var(--accent), #42c897);
  box-shadow: 0 0 24px rgba(21, 143, 104, 0.35);
}

.trip-stop {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.stop-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 35, 38, 0.12);
  color: var(--accent-dark);
}

.stop-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trip-stop:nth-child(2) .stop-icon svg,
.trip-stop:nth-child(4) .stop-icon svg {
  fill: rgba(21, 143, 104, 0.1);
}

.trip-stop.active .stop-icon {
  transform: translateY(-8px);
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.trip-stop.danger .stop-icon {
  border-color: rgba(217, 75, 75, 0.35);
  color: #d94b4b;
  background: #fff4f2;
}

.stop-info {
  width: min(190px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel-soft);
}

.stop-info h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.stop-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.battery {
  overflow: hidden;
  height: 9px;
  margin-top: 10px;
  border-radius: 999px;
  background: #dfe7e9;
}

.battery div {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.battery.low div {
  background: #d94b4b;
}

.charge-100 { width: 100%; }
.charge-82 { width: 82%; }
.charge-38 { width: 38%; }
.charge-31 { width: 31%; }
.charge-18 { width: 18%; }

.trip-details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 30px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel-soft);
}

.detail-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.station-list {
  display: grid;
  gap: 10px;
}

.station {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.station strong {
  display: block;
  margin-bottom: 3px;
}

.station span {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--accent-dark);
  background: #e5f7ef;
  font-size: 12px;
  font-weight: 800;
}

.recommendation {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.recommendation p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.recommendation-item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.recommendation-item small {
  display: block;
  margin-bottom: 4px;
  opacity: 0.8;
}

.recommendation-item strong {
  font-size: 19px;
}

:root:not([data-theme="light"]) .route-map-card {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(9, 24, 23, 0.9), rgba(13, 34, 35, 0.92)),
    repeating-linear-gradient(30deg, transparent 0 32px, rgba(0, 184, 127, 0.08) 33px 34px),
    repeating-linear-gradient(120deg, transparent 0 38px, rgba(109, 247, 191, 0.06) 39px 40px);
  box-shadow: var(--shadow);
}

:root:not([data-theme="light"]) .route-summary-card,
:root:not([data-theme="light"]) .route-stops-card,
:root:not([data-theme="light"]) .feature-section,
:root:not([data-theme="light"]) .tech-section,
:root:not([data-theme="light"]) .feature-grid article,
:root:not([data-theme="light"]) .tech-grid article,
:root:not([data-theme="light"]) .faq-section,
:root:not([data-theme="light"]) .faq-grid article,
:root:not([data-theme="light"]) .trip-box,
:root:not([data-theme="light"]) .stop-info,
:root:not([data-theme="light"]) .detail-card,
:root:not([data-theme="light"]) .station {
  border-color: var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

:root:not([data-theme="light"]) .feature-section,
:root:not([data-theme="light"]) .tech-section,
:root:not([data-theme="light"]) .faq-section,
:root:not([data-theme="light"]) .trip-box {
  background: var(--panel);
}

:root:not([data-theme="light"]) .map-label,
:root:not([data-theme="light"]) .route-summary-card dt {
  color: var(--muted);
}

:root:not([data-theme="light"]) .sao-paulo,
:root:not([data-theme="light"]) .curitiba,
:root:not([data-theme="light"]) .route-summary-card dd,
:root:not([data-theme="light"]) .stop-line {
  color: var(--ink);
}

:root:not([data-theme="light"]) .timeline::before,
:root:not([data-theme="light"]) .battery {
  background: var(--line);
}

:root:not([data-theme="light"]) .stop-icon {
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

:root:not([data-theme="light"]) .trip-header span,
:root:not([data-theme="light"]) .pill {
  background: var(--accent-soft);
}

:root:not([data-theme="light"]) .landing-cta p {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 980px) {
  .landing-main,
  .landing-footer {
    width: min(100% - 28px, 720px);
  }

  .landing-header {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .landing-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-highlights,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid article:not(:last-child)::after {
    display: none;
  }

  .trip-box {
    padding: 20px;
  }

  .trip-summary,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .station {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 520px;
  }

  .route-map-card {
    left: 34px;
  }

  .feature-grid,
  .tech-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trip-header,
  .trip-details {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trip-header h2 {
    font-size: 32px;
  }

  .trip-summary {
    min-width: 0;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .timeline::before,
  .timeline::after {
    top: 34px;
    bottom: 34px;
    left: 33px;
    right: auto;
    width: 8px;
    height: auto;
  }

  .timeline::after {
    height: 70%;
  }

  .trip-stop {
    grid-template-columns: 68px 1fr;
    text-align: left;
    justify-items: stretch;
  }

  .trip-stop.active .stop-icon {
    transform: none;
  }

  .stop-info {
    width: 100%;
  }

  .landing-cta {
    display: grid;
    padding: 28px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-brand {
    font-size: 24px;
  }

  .landing-actions {
    width: 100%;
  }

  .landing-actions .landing-button,
  .hero-actions .landing-button,
  .landing-cta .landing-button {
    flex: 1;
    padding-inline: 12px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-highlights,
  .feature-grid,
  .steps-grid,
  .tech-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .landing-cta > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-copy,
  .about-card {
    padding: 22px;
  }

  .about-copy h2 {
    font-size: 26px;
  }

  .trip-box {
    padding: 20px;
  }

  .trip-summary,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .station {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 500px;
  }

  .route-map-card {
    inset: 0;
  }

  .route-summary-card,
  .route-stops-card {
    left: 14px;
    width: min(260px, calc(100% - 28px));
  }

  .route-stops-card {
    bottom: 14px;
  }
}
