/* IMPORTAÇÃO DE FONTE */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('./typography.css');
/* Fonte Rams W01 para o cabeçalho */
@font-face {
  font-family: 'Rams W01';
  src: url('/font/Rams W01 Regular.woff2') format('woff2'),
       url('/font/Rams W01 Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rams W01';
  src: url('/font/Rams W01 Bold.woff2') format('woff2'),
       url('/font/Rams W01 Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Thin';
  font-style: normal;
  font-weight: 100;
  src: url(/font/Roboto-Thin.woff2) format('woff2'),
       url(/font/Roboto-ThinItalic.woff2) format('woff2');
}

html, body {
  font-family: "Lexend", sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Estilos gerais do cabeçalho */
header {
  top: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  height: 90px; /* Altura fixa */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  z-index: 100;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

/* LOGO */
.logo img {
  max-height: 70px;
  margin-left: 30px;
  padding-top: 5px;
}

/* MENU DESKTOP */
.nav-list {
  list-style: none;
  display: flex;
}

.nav-list li {
  margin-right: 50px;
  position: relative;
}

header .nav-list a {
  text-decoration: none;
  color: black;
  font-weight: 700 !important;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Rams W01", "Lexend", sans-serif !important;
}

/* Indicação da página ativa (exceto logo) */
header .nav-list a.active {
  position: relative;
}
@media (min-width: 1200px) {
  header .nav-list a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 1px;
  }
}

/* Efeito de hover no menu */
@media (min-width: 1200px) {
  .nav-list li:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: black;
    bottom: -10px;
    border-radius: 1px;
  }
}

/* Ocultar o slider em dispositivos móveis */
@media screen and (max-width: 1200px) {
  .slider {
    display: none !important;
  }

  header {
    position: relative;
  }
}

/* MENU HAMBÚRGUER - Ajuste para mobile */
.mobile-menu {
  display: none;
  cursor: pointer;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.mobile-menu div {
  width: 30px;
  height: 3px;
  background: black;
  margin: 6px;
  transition: 0.3s;
}

/* Ativação do menu hambúrguer */
.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* RESPONSIVO: Ajustes para Mobile */
@media screen and (max-width: 1200px) {
  .mobile-menu {
    display: block;
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 200;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centraliza os itens verticalmente */
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    margin: 0;
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .nav-list li {
    margin: 0; /* Remove margens para distribuição uniforme */
    width: 100%;
    text-align: center;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 24px; /* Aumenta o tamanho da fonte */
  }

  .logo-item {
    margin-bottom: 20px; /* Espaçamento abaixo da logotipo */
  }

  .logo-item .logo img {
    max-height: 100px; /* Ajuste o tamanho da logotipo conforme necessário */
    margin: 0;
    padding: 0;
  }

  /* Remover borda arredondada do header em mobile */
  header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

/* Ocultar a logotipo no menu hambúrguer em dispositivos desktop */
@media screen and (min-width: 1200px) {
  .logo-item {
    display: none;
  }
}

