:root {
  --bg: #0a0c10;
  --surface: #12161d;
  --surface-2: #191c24;
  --border: rgba(0, 230, 255, 0.14);
  --border-solid: #232a35;
  --accent: #00e6ff;
  --accent-soft: rgba(0, 230, 255, 0.1);
  --gold: #ffcc00;
  --text: #dddfe3;
  --text-muted: #b7beca;
  --text-hint: #87909f;
  --green: #34d399;
  --red: #f87171;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 50px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.display {
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
}

#cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/hero-bg.jpg") center 35% / cover no-repeat;
  opacity: 0.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 230, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 16, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  color: var(--accent);
}

.nav-menu-toggle {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: rgba(5, 12, 19, 0.58);
  color: var(--accent);
  cursor: pointer;
}

.nav-menu-toggle span,
.nav-menu-toggle::before,
.nav-menu-toggle::after {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-menu-toggle span {
  margin: 5px 0;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  background: var(--gold);
  color: #0a0c10;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.nav-share {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: rgba(5, 12, 19, 0.58);
  color: var(--accent);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.nav-share:hover,
.nav-share:focus-visible,
.nav-share.is-copied {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff;
  outline: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero-frame {
  position: relative;
  max-width: 1100px;
  margin: 28px auto 20px;
  border: 1px solid var(--border);
}

.hud-corner {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.hud-corner::before,
.hud-corner::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.hud-corner::before {
  width: 100%;
  height: 2px;
  top: 0;
}

.hud-corner::after {
  width: 2px;
  height: 100%;
  left: 0;
}

.hud-corner.tl {
  top: -1px;
  left: -1px;
}

.hud-corner.tr {
  top: -1px;
  right: -1px;
}

.hud-corner.bl {
  bottom: -1px;
  left: -1px;
}

.hud-corner.br {
  right: -1px;
  bottom: -1px;
}

.hud-corner.tr::before,
.hud-corner.br::before {
  right: 0;
}

.hud-corner.tr::after,
.hud-corner.br::after {
  right: 0;
  left: auto;
}

.hud-corner.bl::before,
.hud-corner.br::before {
  top: auto;
  bottom: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: end;
  padding: 60px 24px;
}

.hero__content {
  max-width: 720px;
}

.hub-hero {
  padding-top: 72px;
  padding-bottom: 30px;
}

.hub-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}

.hub-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  margin-bottom: 72px;
  background: var(--border-solid);
}

.hub-card {
  display: grid;
  min-height: 260px;
  padding: 24px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: background .15s, transform .15s;
}

.hub-card:hover,
.hub-card:focus-visible {
  background: rgba(0, 230, 255, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.hub-card--primary {
  background: linear-gradient(180deg, rgba(0, 230, 255, 0.12), rgba(18, 24, 33, 0.92));
}

.hub-card__index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.hub-card h2 {
  margin-bottom: 10px;
  color: #fff;
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hub-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hub-card strong {
  align-self: end;
  margin-top: 26px;
  color: var(--gold);
  font-size: 14px;
}

.hero__side {
  display: grid;
  gap: 16px;
  align-self: end;
}

.hero__image {
  margin: 0;
  justify-self: center;
  overflow: visible;
  background: rgba(5, 12, 19, 0.68);
}

.hero__image img {
  display: block;
  width: min(100%, 220px);
  height: auto;
  max-height: 360px;
  border: 1px solid rgba(0, 230, 255, 0.34);
  box-shadow: 0 0 22px rgba(0, 230, 255, 0.12);
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .l1 {
  color: #fff;
}

.hero h1 .l2 {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0, 230, 255, 0.35);
}

.hero h1 .l3 {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  opacity: 0.55;
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.hero__panel,
.metric,
.form-section,
.insights,
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: 20px;
  border-top: 2px solid var(--accent);
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-hint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.hero__panel small {
  color: var(--text-muted);
}

.summary-grid,
.tools-panel {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 16px;
  background: var(--border-solid);
}

.metric {
  min-height: 126px;
  padding: 18px;
  box-shadow: none;
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-hint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(22px, 2.6vw, 30px);
}

.metric small {
  color: var(--text-muted);
  font-size: 12px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.explainer {
  margin-bottom: 16px;
}

.vmo-box {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1px;
  background: var(--border-solid);
  border: 1px solid var(--border-solid);
}

.vmo-current {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
  background: var(--surface);
}

.vmo-current span {
  margin-bottom: 12px;
  color: var(--text-hint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vmo-current strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.vmo-current small {
  color: var(--text-muted);
  line-height: 1.45;
}

.vmo-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-solid);
}

.vmo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
}

.vmo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #fff;
}

.vmo-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.vmo-card strong {
  color: var(--grade-color);
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.vmo-card span {
  margin-top: 4px;
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
}

.vmo-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.vmo-card--bad {
  --grade-color: #ef4444;
}

.vmo-card--slow {
  --grade-color: #f97316;
}

.vmo-card--medium {
  --grade-color: #facc15;
}

.vmo-card--good {
  --grade-color: #22c55e;
}

.tool-form {
  display: grid;
  gap: 16px;
}

.quick-tools {
  margin-top: 16px;
}

.quick-tabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.quick-tab-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  border: 1px solid var(--border-solid);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font: 700 14px 'Inter', sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.quick-tab-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.quick-tab-content {
  display: none;
}

.quick-tab-content.active {
  display: block;
}

.quick-tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border-solid);
  border-bottom: none;
  background: var(--surface);
}

.quick-tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.quick-tool-head h3 {
  color: #fff;
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.quick-tool-sub,
.quick-tool-hint {
  color: var(--text-hint);
  font-size: 13px;
  line-height: 1.5;
}

.fuel-grid,
.fuel-tanks,
.fuel-gnv-investment,
.fuel-results {
  display: grid;
  gap: 1px;
  background: var(--border-solid);
}

.fuel-grid,
.fuel-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fuel-results--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fuel-results--four,
.fuel-gnv-investment {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fuel-tanks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fuel-col,
.quick-field,
.fuel-result-col,
.quick-tool-hint {
  background: var(--surface);
}

.fuel-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.fuel-col-title {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.quick-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
}

.fuel-col .quick-field {
  padding: 0;
}

.quick-field label {
  color: var(--text-hint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-field .unit {
  margin-left: 3px;
  color: var(--accent);
}

.quick-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-solid);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
}

.quick-field input:focus {
  border-color: var(--accent);
  outline: none;
}

.quick-field input.money {
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  text-align: right;
}

.fuel-result-col {
  padding: 18px;
  text-align: center;
}

.fuel-result-col.winner {
  background: var(--accent-soft);
}

.fuel-result-name {
  margin-bottom: 10px;
  color: var(--text-hint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fuel-result-km {
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.fuel-result-km .v {
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}

.fuel-result-col.winner .fuel-result-km .v {
  color: var(--green);
}

.fuel-result-km .u {
  margin-left: 3px;
  color: var(--text-hint);
  font-size: 13px;
}

.fuel-result-tank {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fuel-result-tank .k {
  color: var(--text-hint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fuel-result-tank .v {
  color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  font-weight: 700;
}

.quick-tool-hint {
  margin: 0;
  padding: 16px 20px 22px;
  border: 1px solid var(--border-solid);
  border-top: none;
}

.fuel-verdict {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.fuel-disclaimer {
  margin: 16px 0 72px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 204, 0, 0.42);
  background: rgba(8, 11, 16, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 204, 0, 0.06), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.fuel-disclaimer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 9px 18px 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #b85f1c 0%, #d79035 50%, #b86521 100%);
  color: #fff8e6;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.fuel-disclaimer p {
  margin: 0;
  color: #d5d9e1;
  font-size: 13.5px;
  line-height: 1.6;
}

.fuel-disclaimer p + p {
  margin-top: 10px;
}

.form-section,
.insights,
.chart-card {
  padding: 22px;
}

.section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-title > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}

.section-title h2,
.insights h2,
.chart-card h3 {
  margin-bottom: 4px;
  color: #fff;
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.section-title p {
  color: var(--text-muted);
  font-size: 14px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-solid);
}

#perfil .fields-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--border-solid);
}

.panel-results--single {
  grid-template-columns: 1fr;
}

.panel-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--border-solid);
  background: rgba(0, 230, 255, 0.06);
}

.panel-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.panel-result p {
  margin: 0;
}

.panel-result b {
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 22px;
  line-height: 1.2;
}

.panel-result small {
  display: block;
  margin-top: 3px;
  color: var(--text-hint);
  font-size: 11px;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  background: var(--surface-2);
}

label span {
  color: var(--text-muted);
  font-size: 13px;
}

label small {
  min-height: 18px;
  color: var(--text-hint);
  font-size: 12px;
  line-height: 1.35;
}

label small b {
  color: var(--accent);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border-solid);
  border-radius: 8px;
  padding: 9px 11px;
  color: #fff;
  background: var(--bg);
  font: 600 15px 'JetBrains Mono', ui-monospace, monospace;
}

input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 230, 255, 0.08);
}

.insights {
  position: sticky;
  top: 86px;
}

.diagnostic {
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid var(--border-solid);
  border-left: 3px solid var(--accent);
  background: rgba(0, 230, 255, 0.05);
}

.diagnostic.good {
  border-left-color: var(--green);
}

.diagnostic.warning {
  border-left-color: var(--gold);
}

.diagnostic.bad {
  border-left-color: var(--red);
}

.diagnostic strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.diagnostic p {
  color: var(--text-muted);
  font-size: 14px;
}

.numbers-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--border-solid);
}

.numbers-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface-2);
}

.numbers-list dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.calc-key {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(0, 230, 255, 0.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.numbers-list dd {
  display: grid;
  gap: 3px;
  margin: 0;
}

.numbers-list dd strong {
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.numbers-list dd small {
  color: var(--text-hint);
  font-size: 11px;
  line-height: 1.35;
}

.ghost-button {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 1px solid var(--border-solid);
  border-radius: 9px;
  color: var(--text);
  background: transparent;
  font: 700 14px 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.charts {
  margin-top: 16px;
  padding-bottom: 80px;
}

.section-title--wide {
  margin-bottom: 16px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chart-card canvas {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand span {
  color: #fff;
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.footer-brand span b {
  color: var(--accent);
  font-weight: 800;
}

.footer-desc {
  max-width: 300px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-solid);
  color: var(--accent);
  text-decoration: none;
}

.footer-social a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--text-hint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-col li a:hover {
  color: var(--accent);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin-top: 10px;
  color: var(--text-hint);
  font-size: 12px;
  line-height: 1.6;
}

.footer-strip {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-solid);
}

.footer-strip-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text-hint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer-signal {
  display: block;
  width: 100%;
  height: 36px;
}

.footer-signal .trace {
  stroke-dasharray: 140 1000;
  animation: signalRun 4s linear infinite;
}

@keyframes signalRun {
  to {
    stroke-dashoffset: -1140;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--text-hint);
  font-size: 11.5px;
}

.footer-bottom .device {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-hint);
  font-family: 'JetBrains Mono', monospace;
}

.footer-bottom .device svg {
  color: var(--accent);
}

.footer-dev {
  color: var(--text-hint);
  text-decoration: none;
}

.footer-dev:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .footer-signal .trace {
    animation: none;
    stroke-dasharray: none;
  }
}

@media (hover: none) {
  #cursor-trail {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .workspace,
  .chart-grid,
  .vmo-box,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights {
    position: static;
  }

  .vmo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
}

@media (max-width: 720px) {
  .nav {
    gap: 6px;
    padding: 8px 10px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand {
    min-width: 0;
    gap: 7px;
    font-size: 14px;
  }

  .nav-menu-toggle {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    z-index: 60;
    padding: 12px;
    border: 1px solid var(--border);
    background: rgba(9, 13, 16, 0.96);
    backdrop-filter: blur(12px);
  }

  .nav-links.is-open {
    display: grid;
    gap: 10px;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--border-solid);
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-cta {
    max-width: 112px;
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .nav-share,
  .nav-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .vmo-card-grid {
    grid-template-columns: 1fr;
  }

  .vmo-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .vmo-card img {
    height: 100%;
    min-height: 190px;
  }

  .hero-frame {
    margin: 16px 24px 20px;
  }

  .hero {
    padding: 42px 20px;
  }
}

@media (max-width: 560px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuel-grid,
  .fuel-tanks,
  .fuel-gnv-investment,
  .fuel-results,
  .fuel-results--four,
  .fuel-results--two {
    grid-template-columns: 1fr;
  }

  .panel-results {
    grid-template-columns: 1fr;
  }

  #perfil .fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .fields-grid {
    grid-template-columns: 1fr;
  }

  #perfil .fields-grid {
    grid-template-columns: 1fr;
  }

}
