/* ——— Hero ——— */
.hero {
  --hero-inline-pad: max(1.5rem, calc((100% - var(--max)) / 2));
  color: #f4f5f7;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 62vh;
  min-height: 62dvh;
  padding-left: var(--hero-inline-pad);
  padding-right: var(--hero-inline-pad);
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(5, 10, 20, 0.92) 0%,
    rgba(5, 10, 20, 0.72) 38%,
    rgba(1, 49, 107, 0.55) 70%,
    rgba(254, 172, 0, 0.1) 100%
  );
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__content {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0;
  padding: 2.75rem 0 3rem;
  text-align: left;
  align-self: center;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 6.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 15ch;
  color: #ffffff;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 40ch;
  color: rgba(248, 250, 252, 0.88);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ——— Logo marquee (full width, sobre a faixa escura do hero) ——— */
.hero .logos {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  z-index: 2;
  width: calc(100% + 2 * var(--hero-inline-pad));
  max-width: none;
  margin-left: calc(-1 * var(--hero-inline-pad));
  margin-right: calc(-1 * var(--hero-inline-pad));
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.logos__shell {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(1, 25, 55, 0.88) 0%,
    rgba(3, 10, 22, 0.96) 100%
  );
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 0;
  overflow: hidden;
}

.logos__track {
  display: flex;
  width: max-content;
  padding: 0;
  will-change: transform;
}

/* Um grupo = sequência completa; padding-inline-end = gap entre logos (largura medida no JS). */
.logos__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3.5rem;
  padding-inline-end: 3.5rem;
}

.logos__item {
  flex-shrink: 0;
  opacity: 0.82;
  filter: grayscale(0.15) brightness(1.08);
  transition: opacity 0.25s;
}

.logos__item:hover {
  opacity: 1;
}

.logos__item img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* ——— Fleet grid ——— */
.fleet-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fleet-card {
  background: var(--page-bg);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-on-light);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.25s;
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md-light), var(--shadow-accent);
  border-color: rgba(1, 49, 107, 0.25);
}

.fleet-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s var(--ease-out);
}

.fleet-card:hover img {
  transform: scale(1.04);
}

.fleet-card h3 {
  margin: 0;
  padding: 1.15rem 1rem 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fleet-card p {
  margin: 0;
  padding: 0 1rem 1.35rem;
  color: var(--page-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.fleet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}
