/* Componentes exclusivos da página inicial. */
.nst-hero .carousel-item {
  height: 760px;
}
.nst-hero .nst-hero-content > * {
  max-width: calc(100% - 590px);
}
.nst-hero-content h1,
.nst-hero-content h2 {
  font-size: clamp(38px, 4.2vw, 60px);
}
.home-hero-quote-wrap {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.home-hero-quote {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 460px;
  padding: 23px 26px;
  transform: translateY(-50%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 26, 47, 0.25);
  pointer-events: auto;
}
.home-hero-quote-kicker {
  color: #254a80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nst-hero .home-hero-quote h2 {
  margin: 4px 0;
  color: #020d22;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.nst-hero .home-hero-quote p {
  margin: 0 0 13px;
  color: #607185;
  font-size: 13px;
  line-height: 1.4;
}
.home-hero-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 19px;
}
.home-hero-field {
  min-width: 0;
}
.home-hero-field-wide {
  grid-column: 1 / -1;
}
.home-hero-field label {
  display: block;
  margin: 0 0 3px;
  color: #29465f;
  font-size: 12px;
  font-weight: 700;
}
.home-hero-field input,
.home-hero-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: 37px;
  padding: 7px 10px;
  border: 1px solid #cbdbe9;
  border-radius: 6px;
  background: #f9fbfd;
  color: #17324c;
  font-size: 13px;
}
.home-hero-field textarea {
  height: 53px;
  resize: vertical;
}
.home-hero-field input:focus,
.home-hero-field textarea:focus {
  outline: 2px solid #78add8;
  outline-offset: 1px;
}
.home-hero-recaptcha {
  margin: 11px 0;
}
.home-hero-quote button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 15px;
  border: 0;
  border-radius: 6px;
  background: #254a80;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.home-hero-quote button:hover {
  background: #18365f;
}
@media (max-width: 991px) {
  .nst-hero .carousel-item {
    height: 480px;
  }
  .nst-hero .nst-hero-content > * {
    max-width: 100%;
  }
  .home-hero-quote-wrap {
    position: relative;
    inset: auto;
    padding: 24px 15px 44px;
  }
  .home-hero-quote {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    transform: none;
  }
  .nst-hero-controls {
    top: 410px;
    bottom: auto;
  }
}
@media (max-width: 575px) {
  .home-hero-quote {
    padding: 22px 18px;
  }
  .home-hero-quote-grid {
    gap: 10px 16px;
  }
  .nst-hero-content h1,
  .nst-hero-content h2 {
    font-size: 38px;
  }
}
@media (max-width: 374px) {
  .home-hero-recaptcha {
    height: 63px;
  }
  .home-hero-recaptcha .g-recaptcha {
    transform: scale(0.8);
    transform-origin: top left;
  }
}
.home-overline {
  display: block;
  color: #254a80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.home-tracking {
  position: relative;
  z-index: 2;
  background: #f3f5f9;
}
.home-tracking-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 32px;
  background: #fff;
  border: 1px solid #dfe9f2;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(16, 45, 77, 0.1);
  transform: translateY(-22px);
}
.home-tracking-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-tracking-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #edf1f7;
  color: #254a80;
  font-size: 24px;
}
.home-tracking h2 {
  margin: 4px 0;
  color: #020d22;
  font-size: 23px;
}
.home-tracking p {
  margin: 0;
  color: #607185;
  font-size: 14px;
}
.home-tracking-form {
  display: flex;
  flex: 1 1 440px;
  max-width: 510px;
  gap: 8px;
}
.home-tracking-form input {
  min-width: 0;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #cbdbe9;
  background: #f7fafc;
  font-size: 14px;
}
.home-tracking-form button {
  flex: 0 0 auto;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #254a80;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.home-tracking-form button:hover {
  background: #18365f;
}
.home-tracking-form button span {
  margin-left: 10px;
}
.home-servicos.bg-gray {
  padding: 72px 0 48px;
  background-color: #fff !important;
}
.home-film {
  padding: 70px 0;
  background: #dce4ef;
}
.home-film-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 9%;
}
.home-film h2,
.home-section-heading h2,
.home-cta h2 {
  margin: 14px 0 18px;
  color: #020d22;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.home-film-copy p,
.home-section-heading p {
  color: #607185;
  font-size: 16px;
  line-height: 1.7;
}
.home-film-text-link {
  display: inline-flex;
  gap: 25px;
  margin-top: 18px;
  padding-bottom: 7px;
  border-bottom: 2px solid #254a80;
  color: #254a80;
  font-weight: 700;
}
.home-film .home-overline {
  color: #254a80;
}
.home-film h2 {
  color: #020d22;
}
.home-film-copy p {
  color: #435f76;
}
.home-film-text-link {
  color: #254a80;
  border-color: #254a80;
}
.home-film-text-link:hover {
  color: #020d22;
}
.home-film-screen {
  position: relative;
  display: flex;
  min-height: 380px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    linear-gradient(0deg, rgba(8, 31, 54, 0.88), rgba(8, 31, 54, 0.13) 75%),
    url("/images/home/background-video.jpg") center/cover;
}
.home-film-screen::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #102442;
  opacity: 0.22;
  transition: opacity 0.3s;
}
.home-film-screen:hover::before {
  opacity: 0.05;
}
.home-film-route {
  position: absolute;
  width: 150%;
  height: 70%;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: rotate(-16deg);
  animation: home-route-drift 12s ease-in-out infinite alternate;
}
.home-film-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #fff;
  color: #254a80;
  font-size: 19px;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.home-film-play i {
  margin-left: 4px;
}
.home-film-screen:hover .home-film-play {
  transform: scale(1.08);
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.16);
}
.home-film-caption {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
}
.home-film-caption > span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.home-film-caption strong {
  font-size: 14px;
}
@keyframes home-route-drift {
  from {
    transform: rotate(-16deg) translateX(-3%);
  }
  to {
    transform: rotate(-10deg) translateX(3%);
  }
}
.home-routes {
  padding: 52px 0 64px;
  background: #e8f1f8;
}
.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.home-section-heading h2 {
  margin-bottom: 0;
}
.home-section-heading p {
  max-width: 400px;
  margin: 0;
}
.home-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-route-card {
  position: relative;
  display: flex;
  min-height: 250px;
  overflow: hidden;
  align-items: end;
  border-radius: 12px;
  background: #102442;
  color: #fff;
}
.home-route-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    0deg,
    rgba(7, 28, 49, 0.95),
    rgba(7, 28, 49, 0.05) 90%
  );
}
.home-route-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.home-route-card:hover img {
  transform: scale(1.06);
}
.home-route-card:hover {
  color: #fff;
}
.home-route-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
}
.home-route-label {
  color: #c7e2f8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-route-label svg {
  margin-right: 5px;
  vertical-align: -2px;
}
.home-route-content strong {
  margin: 8px 0 17px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
}
.home-route-more {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 700;
}
.home-routes-action {
  margin-top: 32px;
  text-align: center;
}
.home-routes-action a {
  display: inline-flex;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid #254a80;
  border-radius: 7px;
  color: #254a80;
  font-weight: 700;
}
.home-routes-action a:hover {
  background: #254a80;
  color: #fff;
}
.home-cta {
  padding: 64px 0 72px;
  background: #fff;
}
.home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 48px 55px;
  border-radius: 16px;
  background: #102442;
}
.home-cta .home-overline {
  color: #a9d1f0;
}
.home-cta h2 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
}
.home-cta p {
  margin: 0;
  color: #d2e2ef;
}
.home-cta-panel > a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 30px;
  padding: 16px 22px;
  border-radius: 7px;
  background: #fff;
  color: #102442;
  font-weight: 700;
}
.home-cta-panel > a:hover {
  background: #e1e8f2;
}
@media (max-width: 991px) {
  .home-tracking-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .home-tracking-form {
    flex-basis: auto;
    max-width: none;
  }
  .home-film-grid {
    gap: 5%;
  }
  .home-routes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .nst-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .nst-hero-actions .nst-button,
  .nst-hero-actions .nst-link-light {
    width: 100%;
    max-width: 280px;
    min-height: 54px;
    justify-content: center;
    padding: 14px 21px;
    border: 1px solid transparent;
    text-align: center;
  }
  .nst-hero-actions .nst-link-light {
    border-color: rgba(255, 255, 255, 0.8);
  }
  .home-servico-categoria .home-servico-link {
    align-self: center;
  }
  .home-servicos .category-btn {
    text-align: center;
  }
  .home-servicos.bg-gray,
  .home-film,
  .home-routes {
    padding: 48px 0;
  }
  .home-film-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-film-screen {
    min-height: 300px;
  }
  .home-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .home-cta {
    padding: 48px 0;
  }
  .home-cta-panel {
    align-items: start;
    flex-direction: column;
    padding: 35px 28px;
  }
}
@media (max-width: 575px) {
  .home-tracking-panel {
    padding: 22px;
  }
  .home-tracking-copy {
    align-items: start;
  }
  .home-tracking-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
  .home-tracking-form {
    flex-direction: column;
  }
  .home-tracking-form button {
    min-height: 50px;
  }
  .home-routes-grid {
    grid-template-columns: 1fr;
  }
  .home-route-card {
    min-height: 230px;
  }
  .home-film-caption {
    flex-direction: column;
    align-items: start;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-film-route {
    animation: none;
  }
  .home-route-card img,
  .home-film-play {
    transition: none;
  }
}

/* Seções claras e escuras alternadas, com cartões claros. */
.home-tracking,
.home-servicos.bg-gray,
.home-cta {
  background: #07152e !important;
}
.home-film,
.home-routes {
  background: #e5eef8;
}
.home-hero-quote,
.home-tracking-panel,
.home-cta-panel {
  background: #fff;
  border-color: #cbd8e7;
}
.home-servico-categoria {
  --nst-group-bg: #fff;
  border-color: #cbd8e7;
}
.home-servico-exemplos a {
  background: #fff;
  color: #193e60;
}
.home-servicos .sec-heading h2 {
  color: #f2f6fc;
}
.home-servicos .sec-heading p {
  color: #c5d4e5;
}
.home-servicos .sec-heading h4 {
  color: #b6d4f5;
}
.home-cta .home-overline {
  color: #254a80;
}
.home-cta h2 {
  color: #102442;
}
.home-cta p {
  color: #485b70;
}
.home-cta-panel > a {
  background: #254a80;
  color: #fff;
}
.home-cta-panel > a:hover {
  background: #18365f;
  color: #fff;
}

/* A partir do vídeo, alterna as seções escuras e claras. */
.home-film,
.home-routes {
  background: #102442;
}
.home-servicos.bg-gray,
.home-cta {
  background: #fff !important;
}
.home-tracking-icon,
.home-servico-icon,
.home-servico-exemplos .home-servico-seta {
  background: #f3f5f8;
}
.home-film h2,
.home-routes .home-section-heading h2 {
  color: #f2f6fc;
}
.home-film-copy p,
.home-routes .home-section-heading p {
  color: #c5d4e5;
}
.home-film .home-overline,
.home-routes .home-overline,
.home-film-text-link,
.home-routes-action a {
  color: #b6d4f5;
}
.home-film-text-link,
.home-routes-action a {
  border-color: #b6d4f5;
}
.home-film-text-link:hover,
.home-routes-action a:hover {
  color: #fff;
}
.home-servicos .sec-heading h2 {
  color: #020d22;
}
.home-servicos .sec-heading p {
  color: #485b70;
}
.home-servicos .sec-heading h4 {
  color: #254a80;
}

/* Alternância dos quatro cartões de categorias. */
.home-servico-aereo,
.home-servico-hidroviario {
  --nst-group-bg: #102442;
  border-color: #294565;
}
.home-servico-aereo h3,
.home-servico-hidroviario h3 {
  color: #f2f6fc;
}
.home-servico-aereo .nst-journey-vehicle,
.home-servico-hidroviario .nst-journey-vehicle {
  color: #b6d4f5;
}
