* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.headerMenu {
  width: 100%;
  background-color: #ffffff;
}

.header {
  max-width: 1200px;
  margin: 0 auto;
  height: 125px;
  display: flex;
  align-items: center;       
  justify-content: center;   
  gap: 60px;
}

.linkLogo {
  display: flex;
  align-items: center;
}

.logoCatarinense {
  height: 46px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-navigation a {
  font-family: "Lato", sans-serif;
  position: relative;
  text-decoration: none;
  color: #242424;
  font-weight: 550;
  font-size: 14px;
  padding: 0 0 10px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.main-navigation a::before,
.main-navigation a::after {
  content: "";
  position: absolute;
  height: 2.3px;
  width: 0;
  background-color: #EAEAEA;
  bottom: 0;
  transition: width 0.4s ease;
}

.main-navigation a::before {
  left: 50%;
}

.main-navigation a::after {
  right: 50%;
}

.main-navigation a:hover {
  color: #d3ba73;
}

.main-navigation a:hover::before,
.main-navigation a:hover::after {
  width: 50%;
}

/* ========================= */
/* BOTÃO HAMBURGUER */
/* ========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #242424;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ========================= */
/* MENU MOBILE */
/* ========================= */

@media (max-width: 900px) {
  .menu-space{
    height: 125px;
  }
  
  .header{
    position: fixed;
    z-index: 10000;
    background-color: #fff;
    width: 100%;
  }

.main-navigation a::before,
.main-navigation a::after {
  display: none;
}

.main-navigation a:hover {
  color: #d3ba73;
}
  .header {
    justify-content: space-between;
    padding: 0 ;
    padding-right: 25px;
  }

.menu-toggle {
  display: flex;
  position: fixed;
  top: 45px;
  right: 20px;
  z-index: 1100; /* maior que o menu */
}

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background:  #242424;
    padding: 110px 0px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.08);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .main-navigation ul {
    flex-direction: column;
    background-color: #272727;
    padding: 20px;
    width: 100%;
    gap: 25px;
    align-items: flex-start;
  }

  .main-navigation ul li a{
    color:#fff;
  }

  .main-navigation.active {
    right: 0;
  }

  /* Overlay */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ========================= */
/* ANIMAÇÃO DO HAMBURGUER */
/* ========================= */

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #fff;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  position: static;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: #fff;
}