.menu-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  z-index: 9999;
  overflow-y: auto;
  padding-top: 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  animation: slideInLeft 0.3s ease-out;
}

.menu-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  cursor: pointer;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.state--menu-mobile .menu-mobile-overlay {
  display: block;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (min-width: 1025px) {
  .menu-mobile {
    display: none !important;
  }
}

.menu-mobile nav .menu-mobile-item {
  border-bottom: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.menu-mobile nav .menu-mobile-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #00675d 0%, #004d47 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  z-index: 1;
}

.menu-mobile nav .menu-mobile-item:hover::before,
.menu-mobile nav .menu-mobile-item.active::before {
  transform: scaleY(1);
}

.menu-mobile nav .menu-mobile-item a {
  display: flex;
  color: #2c3e50;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 500;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

.menu-mobile nav .menu-mobile-item a:hover {
  background: linear-gradient(90deg, rgba(0, 103, 93, 0.08) 0%, rgba(0, 103, 93, 0.03) 100%);
  color: #00675d;
  padding-left: 1.75rem;
  transform: translateX(4px);
}

/* Links com submenu (que têm SVG de seta) mantêm espaço entre elementos */
.menu-mobile nav .menu-mobile-item > a[href="#"] {
  justify-content: space-between;
}

.menu-mobile nav .menu-mobile-item a i {
  font-size: 1.2rem;
  margin-right: 14px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  color: #00675d;
  transition: all 0.3s ease;
}

.menu-mobile nav .menu-mobile-item a:hover i {
  color: #00675d;
  transform: scale(1.1);
}

.menu-mobile nav .menu-mobile-item a span {
  flex: 1;
}
.menu-mobile nav .menu-mobile-item a svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.menu-mobile nav .menu-mobile-item.active > a svg {
  transform: rotate(90deg);
}

.menu-mobile nav .menu-mobile-item.active .list-dropdown,
.menu-mobile nav .menu-mobile-item.active > .list-dropdown-menu {
  display: block;
}

.menu-mobile nav .menu-mobile-item .list-dropdown {
  display: none;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a {
  display: flex;
  align-self: stretch;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(90deg, rgba(0, 103, 93, 0.05) 0%, rgba(0, 103, 93, 0.02) 100%);
  flex: 1;
  text-decoration: none;
  height: 5rem;
  position: relative;
  padding: 1rem 2rem;
  color: #495057;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a:hover {
  background: linear-gradient(90deg, rgba(0, 103, 93, 0.12) 0%, rgba(0, 103, 93, 0.05) 100%);
  color: #00675d;
  border-left-color: #00675d;
  padding-left: 2.25rem;
}

@media (max-width: 1024px) {
  .menu-mobile nav .menu-mobile-item .list-dropdown li a {
    justify-content: space-between;
  }
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a .menu-icon {
  width: 4rem;
  text-align: center;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a .menu-icon svg {
  max-height: 3rem;
  max-width: 3.5rem;
  height: auto;
  width: auto;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a .menu-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li a .menu-label span {
  font-size: 1.1rem;
  line-height: 1.3rem;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  color: #000;
}

.menu-mobile
  nav
  .menu-mobile-item
  .list-dropdown
  li.active
  .list-dropdown-menu {
  display: block;
}

.menu-mobile nav .menu-mobile-item .list-dropdown li .list-dropdown-menu a {
  padding: 0 75px;
  height: 35px;
}

.menu-mobile
  nav
  .menu-mobile-item
  .list-dropdown
  li
  .list-dropdown-menu
  a.item-segmento {
  padding: 0 20px;
  height: 65px;
  background: #f1f1f1;
}

.menu-mobile nav .menu-mobile-item .list-dropdown-menu {
  display: none;
}

.menu-mobile nav .menu-mobile-item .list-dropdown-menu a {
  text-transform: none;
  font-weight: 400;
  padding: 0.75rem 2.5rem;
  min-height: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(248, 249, 250, 0.8);
  color: #495057;
  transition: all 0.3s ease;
}

.menu-mobile nav .menu-mobile-item .list-dropdown-menu a:hover {
  background: rgba(0, 103, 93, 0.08);
  color: #00675d;
  padding-left: 3rem;
}

.menu-mobile
  nav
  .menu-mobile-item
  .list-dropdown-menu
  a
  .list-dropdown-menu-thumb {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 30px;
}

.menu-mobile
  nav
  .menu-mobile-item
  .list-dropdown-menu
  a
  .list-dropdown-menu-thumb
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.state--menu-mobile .menu-mobile {
  display: block;
}

/* Estilizar header do menu mobile */
.menu-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #00675d 0%, #004d47 100%);
  padding: 1.25rem 1.5rem;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.menu-mobile-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-mobile-header .close-menu-mobile {
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
  font-weight: 300;
}

.menu-mobile-header .close-menu-mobile:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Scrollbar customizada para o menu mobile */
.menu-mobile::-webkit-scrollbar {
  width: 6px;
}

.menu-mobile::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.menu-mobile::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00675d 0%, #004d47 100%);
  border-radius: 3px;
}

.menu-mobile::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #004d47 0%, #00675d 100%);
}
