:root {
  --bg: #050505;
  --bg-soft: #0b0d0c;
  --panel: #0f1513;
  --panel-strong: #121c19;
  --text: #fffdf7;
  --muted: #b9c8c4;
  --subtle: #7c8c88;
  --line: rgba(255, 253, 247, 0.13);
  --line-strong: rgba(189, 249, 2, 0.36);
  --lime: #bdf902;
  --green: #00c482;
  --cyan: #35e3ff;
  --amber: #ffc51b;
  --danger: #ff8a1f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.82), var(--bg) 520px),
    radial-gradient(circle at 18% 20%, rgba(0, 196, 130, 0.16), transparent 320px),
    linear-gradient(135deg, #050505, #08110f 48%, #050505);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: rgba(189, 249, 2, 0.22);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(189, 249, 2, 0.08), transparent 26%, rgba(53, 227, 255, 0.06));
  opacity: 0.65;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  font: inherit;
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--lime);
  color: #050505;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 72px 0 72px;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.82) 37%, rgba(5, 5, 5, 0.42) 68%, rgba(5, 5, 5, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.02) 42%, rgba(5, 5, 5, 0.34)),
    url("assets/darlan-hero.png");
  background-repeat: no-repeat;
  background-size: cover, cover, auto 132%;
  background-position: center, center, right 8% center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(189, 249, 2, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 227, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(189, 249, 2, 0.05) 52%, transparent 53%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  opacity: 0.32;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker,
.intro-kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.intro-layout h2,
.section-head h2,
.about-copy h2,
.final-layout h2 {
  margin: 0;
  max-width: 820px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

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

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #e9f4f0;
  font-size: 1.15rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 650px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  width: 100%;
  background: var(--lime);
  color: #050505;
  box-shadow: 0 18px 60px rgba(189, 249, 2, 0.18);
}

.btn-primary:hover {
  background: var(--amber);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(53, 227, 255, 0.48);
  background: rgba(53, 227, 255, 0.1);
}

.profile-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.profile-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.42);
  color: var(--muted);
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07100e;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
}

.intro-layout h2 {
  font-size: 2rem;
}

.intro-layout p {
  margin: 0;
  color: var(--muted);
}

.intro-layout .intro-kicker {
  color: var(--cyan);
}

.section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

#topo,
#produtos,
#sobre,
#rotas {
  scroll-margin-top: 110px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2,
.about-copy h2,
.final-layout h2 {
  font-size: 3rem;
}

.section-head p,
.about-copy p,
.final-layout p {
  margin: 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 0 15px;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter:hover,
.filter.is-active {
  border-color: var(--line-strong);
  background: rgba(189, 249, 2, 0.12);
  color: var(--text);
}

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

.product-card {
  min-height: 338px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  padding: 22px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 249, 2, 0.42);
  background:
    linear-gradient(180deg, rgba(189, 249, 2, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.product-featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(189, 249, 2, 0.15), rgba(0, 196, 130, 0.06) 42%, rgba(255, 255, 255, 0.04)),
    #0c120d;
  border-color: var(--line-strong);
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.product-icon,
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-icon {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--cyan);
}

.product-badge {
  background: rgba(189, 249, 2, 0.12);
  color: var(--lime);
}

.product-card h3,
.route-item h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.product-card p {
  margin: 14px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #d8e5e1;
}

.product-card li {
  position: relative;
  padding-left: 18px;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--lime);
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  color: var(--text);
  font-weight: 900;
}

.product-link span {
  color: var(--lime);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.product-link:hover span {
  transform: translateX(4px);
}

.product-card.is-hidden {
  display: none;
}

.about-section {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 196, 130, 0.08), transparent),
    #070b0a;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
  background: #111;
  aspect-ratio: 4 / 5;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 900ms ease, transform 3800ms ease;
}

.about-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.about-copy p + p {
  margin-top: 16px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.about-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.about-metrics strong,
.about-metrics span {
  display: block;
}

.about-metrics strong {
  color: var(--lime);
  font-size: 1.7rem;
  line-height: 1;
}

.about-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.route-item {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0c1110;
  padding: 24px;
}

.route-item span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--lime);
  color: #050505;
  font-size: 0.86rem;
  font-weight: 900;
}

.route-item p {
  margin: 14px 0 28px;
  color: var(--muted);
}

.route-item a {
  margin-top: auto;
  color: var(--lime);
  font-weight: 900;
}

.final-cta {
  padding: 84px 0;
  background:
    linear-gradient(135deg, rgba(189, 249, 2, 0.16), transparent 38%),
    linear-gradient(90deg, #08100e, #050505);
  border-top: 1px solid var(--line);
}

.final-layout {
  max-width: 820px;
}

.final-layout p {
  max-width: 650px;
  margin-top: 18px;
}

.final-layout .btn {
  margin-top: 30px;
}

.footer {
  padding: 28px 0 88px;
  background: #050505;
  color: var(--muted);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer strong {
  color: var(--text);
}

.footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

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

.floating-action {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border-radius: var(--radius);
  background: var(--lime);
  color: #050505;
  padding: 0 18px;
  font-weight: 900;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  transform: translateY(90px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease, background 180ms ease;
}

.floating-action.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-action:hover {
  background: var(--amber);
}

.js .reveal {
  opacity: 1;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: 78vh;
    background-position: center, center, 64% center;
  }

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

  .intro-layout,
  .section-head,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout,
  .section-head {
    gap: 16px;
  }

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

  .product-featured {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 0;
    align-items: end;
    padding: 22px 0 32px;
    background-image:
      linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.94) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.54), rgba(5, 5, 5, 0.2)),
      url("assets/darlan-hero.png");
    background-size: cover, cover, cover;
    background-position: center top;
  }

  .hero-grid {
    opacity: 0.2;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    margin-inline: auto;
    padding-top: 0;
  }

  .hero h1 {
    font-size: 2.02rem;
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
  }

  .intro-layout {
    padding: 26px 0;
  }

  .intro-layout h2 {
    font-size: 1.65rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2,
  .about-copy h2,
  .final-layout h2 {
    font-size: 2.16rem;
    line-height: 1.08;
  }

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

  .filter {
    padding: 0 10px;
  }

  .product-grid,
  .route-grid,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .product-featured {
    grid-column: auto;
  }

  .product-card,
  .route-item {
    min-height: auto;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .about-slide {
    transition: none;
    transform: none;
  }
}
