:root {
  --hw-navy-950: #050b24;
  --hw-navy-900: #081435;
  --hw-navy-800: #102454;
  --hw-blue-500: #5d8dff;
  --hw-blue-100: #e8efff;
  --hw-ink: #162033;
  --hw-muted: #637083;
  --hw-surface: #ffffff;
  --hw-surface-soft: #f4f7fb;
  --hw-line: #dce3ef;
  --hw-shadow: 0 18px 48px rgba(5, 11, 36, 0.13);
  --hw-radius: 8px;
  --bs-primary: var(--hw-navy-800);
  --bs-primary-rgb: 16, 36, 84;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--hw-ink);
  --bs-body-bg: var(--hw-surface);
  --bs-border-radius: var(--hw-radius);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--hw-ink);
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

section {
  scroll-margin-top: 92px;
}

.site-header {
  background: rgba(5, 11, 36, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header .navbar {
  min-height: 76px;
  background: transparent;
}

.brand-logo {
  width: 164px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--hw-radius);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: var(--hw-radius);
}

.hero-section {
  position: relative;
  min-height: min(760px, calc(88svh - 76px));
  overflow: hidden;
  isolation: isolate;
  background: var(--hw-navy-950);
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel {
  z-index: -2;
}

.hero-carousel .carousel-item {
  transition: opacity 1.4s ease-in-out;
}

.hero-carousel img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-carousel .carousel-item.active img {
  animation: heroImageDrift 5.6s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 11, 36, 0.96) 0%, rgba(8, 20, 53, 0.84) 50%, rgba(8, 20, 53, 0.52) 100%),
    linear-gradient(0deg, rgba(5, 11, 36, 0.62), rgba(5, 11, 36, 0.1) 42%, rgba(5, 11, 36, 0.34));
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(5, 11, 36, 0.72), rgba(5, 11, 36, 0));
}

.hero-logo {
  width: min(320px, 72vw);
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--hw-radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.section-padding {
  padding: 96px 0;
}

.section-soft {
  background: var(--hw-surface-soft);
}

.section-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(93, 141, 255, 0.18), transparent 34%),
    var(--hw-navy-950);
}

.section-kicker {
  color: var(--hw-blue-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-dark .section-kicker,
.contact-section .section-kicker {
  color: #b9cfff;
}

.section-title {
  line-height: 1.06;
}

#hero-title {
  font-size: 4.6rem;
}

h2.section-title {
  font-size: 3rem;
}

.section-copy {
  color: var(--hw-muted);
  font-size: 1.03rem;
}

.hero-indicators {
  position: relative;
  z-index: 5;
  margin-top: -38px;
}

.indicator {
  min-height: 118px;
  background: #ffffff;
  border-bottom: 1px solid var(--hw-line);
}

.indicator span {
  display: block;
  color: var(--hw-navy-800);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.indicator strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--hw-ink);
  font-size: 1.05rem;
  line-height: 1.28;
}

.image-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--hw-radius);
  box-shadow: var(--hw-shadow);
  background: var(--hw-line);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  color: #ffffff;
  background: rgba(5, 11, 36, 0.78);
  border-radius: var(--hw-radius);
  backdrop-filter: blur(16px);
}

.image-caption span {
  color: #c9d8ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card {
  border-color: var(--hw-line);
  border-radius: var(--hw-radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  border-color: rgba(93, 141, 255, 0.38);
  box-shadow: var(--hw-shadow);
  transform: translateY(-4px);
}

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.4rem;
  color: var(--hw-navy-800);
  background: var(--hw-blue-100);
  border-radius: var(--hw-radius);
  place-items: center;
}

.icon-box i {
  font-size: 1.35rem;
}

.logo-slot {
  display: grid;
  min-height: 112px;
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff, var(--hw-surface-soft));
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  place-items: center;
}

.logo-slot img {
  max-width: 150px;
  max-height: 72px;
  object-fit: contain;
}

.logo-slot .logo-fmg {
  max-width: 128px;
}

.logo-slot .logo-lca {
  max-width: 170px;
}

.card-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--hw-navy-800);
  font-weight: 800;
}

.card-link:hover,
.card-link:focus {
  color: var(--hw-blue-500);
}

.product-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--hw-line);
  border-radius: var(--hw-radius);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.card:hover .product-visual img {
  transform: scale(1.04);
}

.differentials-media {
  min-height: 600px;
  border-radius: var(--hw-radius);
  background:
    linear-gradient(180deg, rgba(5, 11, 36, 0), rgba(5, 11, 36, 0.46)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.differential-item {
  min-height: 150px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--hw-radius);
}

.differential-item i {
  display: inline-block;
  margin-bottom: 1rem;
  color: #b9cfff;
  font-size: 1.45rem;
}

.differential-item p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 11, 36, 0.96), rgba(8, 20, 53, 0.82)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #03071a;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0 0.75rem;
    background: rgba(5, 11, 36, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--hw-radius);
  }

  .hero-section {
    min-height: min(720px, calc(84svh - 76px));
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 11, 36, 0.96) 0%, rgba(8, 20, 53, 0.86) 58%, rgba(8, 20, 53, 0.66) 100%),
      linear-gradient(0deg, rgba(5, 11, 36, 0.58), rgba(5, 11, 36, 0.18));
  }

  .section-padding {
    padding: 76px 0;
  }

  #hero-title {
    font-size: 3.35rem;
  }

  h2.section-title {
    font-size: 2.45rem;
  }

  .differentials-media {
    min-height: 360px;
  }
}

@media (min-width: 768px) {
  .hero-indicators .col-md-6:nth-child(odd) .indicator {
    border-right: 1px solid var(--hw-line);
  }
}

@media (min-width: 1200px) {
  .hero-indicators .indicator {
    border-right: 1px solid var(--hw-line);
    border-bottom: 0;
  }

  .hero-indicators .col-xl-3:last-child .indicator {
    border-right: 0;
  }
}

@media (max-width: 575.98px) {
  section {
    scroll-margin-top: 84px;
  }

  .brand-logo {
    width: 136px;
    height: 40px;
  }

  .hero-logo {
    height: 78px;
  }

  #hero-title {
    font-size: 2.45rem;
  }

  h2.section-title {
    font-size: 2rem;
  }

  .hero-indicators {
    margin-top: -22px;
  }

  .image-panel,
  .image-panel img {
    min-height: 380px;
  }
}

@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;
  }

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

@keyframes heroImageDrift {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.09);
  }
}

/* Leadership section */
.leadership-section {
    background: linear-gradient(135deg, #050b2c 0%, #0b163f 55%, #101a3d 100%);
    color: #fff;
    padding: 88px 0;
    overflow: hidden;
}

.leadership-section .section-eyebrow {
    display: inline-block;
    color: #7da7ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.leadership-section .section-title {
    max-width: 760px;
}

.leadership-section .section-description {
    max-width: 720px;
}

.leadership-card {
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.leadership-photo-wrap {
    height: 360px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.leadership-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s ease;
}

.leadership-card:hover .leadership-photo {
    transform: scale(1.04);
}

.leadership-content {
    padding: 28px;
}

.leadership-role {
    display: inline-block;
    color: #7da7ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.leadership-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.leadership-content p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0;
}

/* movimento sutil ao carregar/aparecer */
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(28px);
    animation: leadershipFadeUp 0.9s ease forwards;
}

.reveal-right {
    animation-delay: 0.18s;
}

@keyframes leadershipFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .leadership-section {
        padding: 64px 0;
    }

    .leadership-photo-wrap {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .leadership-photo-wrap {
        height: 260px;
    }

    .leadership-content {
        padding: 22px;
    }
}

.card-text-limit {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* quantidade de linhas visíveis */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-text-limit.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    border: none;
    background: transparent;
    color: #0046ff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0;
    margin-top: 4px;
    cursor: pointer;
    line-height: 1;
}

.read-more-btn:hover {
    color: #001b66;
}


.contact-info-section {
    background: #ffffff;
    color: #061033;
    padding: 34px 0;
    border-bottom: 1px solid rgba(6, 16, 51, 0.08);
}

.contact-info-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-info-item i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: #061033;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-info-item strong {
    display: block;
    color: #061033;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.contact-info-item p {
    color: #5b6477;
    margin: 0;
    line-height: 1.35;
}

.contact-info-item a {
    color: #061033;
    font-weight: 700;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #2f6bff;
}

@media (max-width: 991px) {
    .contact-info-inline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-section {
        padding: 28px 0;
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    letter-spacing: 0.015em;
    max-width: 880px;
}
