/* CSS customizado do tema filho */
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  line-height: 1.2;
}

p,
span,
a,
small,
li {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #111111;
}

/*GLOBAL CONTAINER*/
.custom-container {
  width: 100%;
  max-width: 1440px;
  margin: 0px auto;
  padding: 0px 20px;
}

/*HEADER*/
.custom-header {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 32px 0;
}

.custom-header .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-header .content-header .logo {
  max-width: 110px;
}

.custom-header .content-header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.custom-header .content-header .navigations {
  display: flex;
  align-items: center;
  gap: 24px;
}

.custom-header .content-header .navigations nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.custom-header .content-header .navigations nav::after {
  content: "";
  width: 1px;
  height: 20px;
  background: #ccc;
}

.custom-header .content-header .navigations nav ul:not(.sub-menu) {
  display: flex;
  align-items: center;
  gap: 24px;
}

.custom-header .content-header .navigations nav ul > li.mega-link {
  position: relative;
}

.custom-header .content-header .navigations nav ul > li.mega-link > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  display: none;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
  border-radius: 8px;
  padding: 15px;
}

.custom-header .content-header .navigations nav ul li a {
  transition: all 0.3s ease-in-out;
  font-size: 15px;
  font-weight: 600;
}

.custom-header .content-header .navigations nav ul li a:hover {
  color: #3f5fd8;
}

.custom-header
  .content-header
  .navigations
  nav
  ul
  > li.mega-link:hover
  > .sub-menu,
.custom-header
  .content-header
  .navigations
  nav
  ul
  > li.mega-link:focus-within
  > .sub-menu,
.custom-header
  .content-header
  .navigations
  nav
  ul
  > li.mega-link.is-open
  > .sub-menu {
  display: flex;
}

.submenu ul {
  align-items: flex-start;
}

.custom-header
  .content-header
  .navigations
  nav
  ul
  > li.mega-link
  > .sub-menu
  > li
  > a {
  display: block;
  padding: 12px 16px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social a {
  color: #111111;
  transition: 0.3s;
}

.header-social a:hover {
  color: #3f5fd8;
}

.header-social a .icon {
  min-width: 17px;
  min-height: 17px;
  max-width: 17px;
  max-height: 17px;
}

.header-social a .icon.facebook {
  min-width: 23px;
  min-height: 23px;
  max-width: 23px;
  max-height: 23px;
}

.header-social a .icon.youtube {
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.header-social a .icon.linkedin {
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.header-social a .icon.wa {
  min-width: 23px;
  min-height: 23px;
  max-width: 23px;
  max-height: 23px;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #111111;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 900px) {
  .custom-header {
    padding: 20px 0;
  }

  .custom-header .content-header {
    position: relative;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 40;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .custom-header .content-header .navigations {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 35;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .custom-header .content-header .navigations.is-open {
    display: flex;
  }

  .custom-header .content-header .navigations nav {
    width: 100%;
  }

  .custom-header .content-header .navigations nav::after {
    display: none;
  }

  .custom-header .content-header .navigations nav ul:not(.sub-menu) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .custom-header
    .content-header
    .navigations
    nav
    ul
    > li.mega-link
    > .sub-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 8px;
    padding: 0 0 0 12px;
  }

  .header-social {
    width: 100%;
    border-top: 1px solid #ececec;
    padding-top: 12px;
  }
}
