.hero {
  position: relative;
  width: 100%;
  color: #ffffff;
  background-color: #0b111b;
  --nav-height: 116px;
}




.hero--sticky {
  --nav-height: 112px;
}

.hero *,
.hero *::before,
.hero *::after {
  box-sizing: border-box;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/Illustrations/HeroBackground15.00d4e576bf4f.png");
  background-image: image-set(url("../images/Illustrations/HeroBackground15.00d4e576bf4f.png") 1x, url("../images/Illustrations/HeroBackground.2x.4140fce32d4c.png") 2x);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero--cms-image .hero__backdrop::before {
  background-image: var(--hero-image);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8, 13, 22, 0.78) 0%, rgba(8, 13, 22, 0.66) 32%, rgba(8, 13, 22, 0.48) 62%, rgba(8, 13, 22, 0.25) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 32px 80px 380px;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 8px;
  width: 100%;
  color: #ffffff;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    padding 0.25s ease;
}

.hero__navSpacer {
  height: var(--nav-height);
  display: none;
}

.hero--sticky .hero__navSpacer {
  display: block;
}

.hero__logo {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.hero__logo img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.25s ease, transform 0.25s ease;
}

.hero__nav--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 80px;
  background: #ffffff;
  color: #0b4d98;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid #0b4d98;
  z-index: 12;
}

.hero__nav--sticky .hero__logo img {
  height: 76px;
}


.hero__nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 48px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 600;
  font-size: 13px;
  align-self: stretch;
}

.hero__nav-link {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
}

.hero__nav-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.hero__nav-link--active {
  font-weight: 700;
}

.hero__caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  margin-top: 3px;
  transition: transform 0.2s ease;
}

.hero__caret--open {
  transform: rotate(180deg);
}

.hero__navItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__navExpand {
  position: absolute;
  top: 100%;
  width: 300px;
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  color: #0b4d98;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.25s ease, max-width 0.25s ease, opacity 0.2s ease, padding 0.2s ease;
}

.hero__navItem--expandable:hover .hero__navExpand,
.hero__navExpand--open {
  position: absolute !important;
  top: 100% !important;
  z-index: 100 !important;
  max-width: 300px;
  max-height: 420px;
  padding: 10px 6px;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  background: #ffffff;
}

.hero__navItem--expandable:hover .hero__navTrigger {
  font-weight: 700;
}

.hero__navItem--expandable:hover .hero__caret {
  transform: rotate(180deg);
}

.hero__dropdownItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.hero__dropdownItem:hover {
  background: #e9f1fb;
  transform: translateX(4px);
}

.hero__dropdownArrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #0b4d98;
  border-right: 2px solid #0b4d98;
  transform: rotate(45deg);
}

.hero__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.hero__search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
}

.hero__search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: currentColor;
  top: 12px;
  left: 12px;
  transform: rotate(45deg);
}

.hero__menuToggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  color: #ffffff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.hero__menuToggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s ease, width 0.18s ease;
}

.hero__menuToggle:hover {
  transform: translateY(-1px);
}

.hero__menuToggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hero__menuToggle--open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hero__menuToggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero__mobileMenu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.95) 0%, rgba(8, 13, 22, 0.9) 38%, rgba(8, 13, 22, 0.86) 100%);
  color: #ffffff;
  padding: 18px 20px 26px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 11;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero__mobileBackdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 10;
}

.hero__mobileBackdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

.hero__mobileNav {
  width: 100%;
}

.hero__mobileList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__mobileLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.hero__mobileLink:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.hero__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 160px;
}

.hero__text {
  max-width: 920px;
  padding-left: 140px;
}


/* ---------- TEXT ---------- */

.hero__title {
  margin: 0;
  font-size: 64px;
  line-height: 76px;
  font-weight: 900;
  color: #ffffff;
}

.hero__description {
  margin: 24px 0 36px;
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #ffffff;
  max-width: 620px;
}

/* ---------- CTA ---------- */

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero__cta-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0056b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

/* ---------- FEATURES FIXED ---------- */

.hero__features {
  position: absolute;
  bottom: 0;
  left: 1px;
  /* <-- encosta mais à esquerda */
  width: calc(100% - 110px);
  max-width: 1221px;
  background: #f6f7fa;
  color: #1f2933;
  border-radius: 0 70px 0 0;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  z-index: 2;
  height: auto;
}

.hero__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: center;
}

.hero__feature-icon {
  width: 72px;
  height: 72px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__feature-icon img {
  width: 44px;
  height: 44px;
  display: block;
}

.hero__feature-title {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.hero__feature-description {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #6b7280;
}

/* MEDIA QUERIES */

@media (max-width: 1200px) {
  .hero__inner {
    padding: 28px 60px 340px;
  }

  .hero__nav--sticky {
    padding: 18px 60px;
  }

  .hero__navExpand {
    position: absolute;
    top: 100%;
    width: 320px;
  }

  .hero__navItem--expandable:hover .hero__navExpand {
    position: absolute;
    top: 100%;
    max-width: 320px;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    padding: 24px 48px 320px;
  }

  .hero__nav--sticky {
    padding: 16px 48px;
  }

  .hero__navExpand {
    position: absolute;
    top: 100%;
    width: 300px;
    font-size: 16px;
  }

  .hero__navItem--expandable:hover .hero__navExpand {
    position: absolute;
    top: 100%;
    max-width: 300px;
  }

  .hero__content {
    padding-top: 150px;
  }

  .hero__text {
    padding-left: 60px;
  }

  .hero__title {
    font-size: 56px;
    line-height: 68px;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    padding: 22px 28px 300px;
  }

  .hero__nav {
    gap: 18px;
  }

  .hero__nav-links {
    display: none;
  }

  .hero__search {
    display: none;
  }

  .hero__menuToggle {
    display: inline-flex;
  }

  .hero__mobileMenu,
  .hero__mobileBackdrop {
    display: block;
  }

  .hero__content {
    padding-top: 140px;
  }

  .hero__text {
    padding-left: 20px;
  }

  .hero__features {
    width: calc(100% - 56px);
    left: 28px;
  }
}

@media (max-width: 900px) {
  .hero__features {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    --nav-height: 92px;
  }

  .hero--sticky {
    --nav-height: 92px;
  }

  .hero__inner {
    padding: 20px 20px 260px;
  }

  .hero__logo img {
    height: 64px;
  }

  .hero__nav--sticky {
    padding: 14px 20px;
  }

  .hero__features {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .hero__text {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    --nav-height: 82px;
  }

  .hero--sticky {
    --nav-height: 82px;
  }

  .hero__inner {
    padding: 18px 16px 200px;
  }

  .hero__nav--sticky {
    padding: 12px 16px;
  }

  .hero__content {
    padding-top: 120px;
  }

  .hero__title {
    font-size: 42px;
    line-height: 52px;
  }

  .hero__description {
    font-size: 16px;
    margin: 18px 0 28px;
  }

  .hero__cta-circle {
    width: 52px;
    height: 52px;
  }

  .hero__features {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 28px;
    padding: 20px 18px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    left: 0;
  }

  .hero__feature {
    align-items: flex-start;
  }

  .hero__feature-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .hero__description {
    font-size: 15px;
  }

  .hero__cta {
    font-size: 12px;
    gap: 12px;
  }

  .hero__menuToggle {
    width: 40px;
    height: 40px;
  }
}
