@charset "UTF-8";

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

:root {
  --rose-red: #bb2548;
  --primary-200: #f35d74;
  --primary-300: #ffc3d4;
  --accent-100: #00bfff;
  --accent-200: #00619a;
  --text-100: #333333;
  --text-200: #5c5c5c;
  --bg-100: #f5f5f5;
  --bg-200: #ebebeb;
  --bg-300: #c2c2c2;
  --black: #08090a;
  --rose-quarts: #a7a2a9;
}

.link:link,
.link:visited,
.link:active,
.link:hover {
  color: var(--black);
  text-decoration: none;
  text-transform: capitalize;
}

/* --------------------------------- HEADER, NAV --------------------------------- */
header {
  align-items: center;
  background-color: white;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  height: 120px;
  justify-content: space-between;
  padding: 0 64px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

.main_logo {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: 500ms ease-in;
  user-select: none;
  width: 200px;
}

.main_logo img {
  width: 320px;
}
.nav-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background-color: var(--ifsp-green);
  color: white !important;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-btn:hover {
  background-color: var(--ifsp-green-dark);
}

.nav-list {
  align-items: center;
  display: flex;
  font-weight: bold;
  gap: 2rem;
  justify-content: space-between;
  list-style-type: none;
}

.nav-list li {
  margin-left: 32px;
  position: relative;
  font-size: 20px;
}

.nav-list .link::after {
  background-color: var(--rose-red);
  content: "";
  height: 4px;
  bottom: -8px;
  left: 0;
  position: absolute;
  transition: all 0.3s ease;
  width: 0%;
}

.nav-list .link:hover::after {
  opacity: 1;
  width: 100%;
}

.btn {
  background-color: var(--ifsp-green); /* Verde IFSP */
  border: solid 3px var(--ifsp-green);
  /* restante das propriedades mantidas */
  color: white;
  display: block;
  font-size: 24px;
  font-weight: bold;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.btn:hover {
  cursor: pointer;
  border: solid 3px var(--ifsp-green);
  background-color: transparent;
  color: var(--ifsp-green);
}

.mobile-menu {
  cursor: pointer;
  display: none;
}

.mobile-menu div {
  background: #2b2b2b;
  height: 2px;
  margin: 8px;
  width: 32px;
}

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

  .main_logo {
    flex: 1;
    margin-right: 20px;
  }

  .nav-list li {
    font-size: 18px;
  }

  .btn {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    align-items: center;
    background: #ffffff;
    flex-direction: column;
    height: 100vh;
    justify-content: start;
    position: absolute;
    right: 0;
    text-align: center;
    top: 120px;
    transform: translateX(100%);
    transition: 0.5s ease-in-out;
    width: 50vw;
    z-index: 9;
  }

  .active-nav {
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    transform: translateX(0);
  }

  .nav-list li {
    gap: 0;
    margin-top: 40px;
    margin-left: 0;
  }

  .mobile-menu {
    display: block;
  }

  .line1,
  .line2,
  .line3 {
    transition: 0.5s ease-in-out;
  }

  .active-menu .line1 {
    transition: 0.5s ease-in-out;
    rotate: 45deg;
    transform: translateY(14px);
  }

  .active-menu .line2 {
    transition: 0.5s ease-in-out;
    opacity: 0;
  }

  .active-menu .line3 {
    transition: 0.5s ease-in-out;
    rotate: -45deg;
    transform: translateY(-15px);
  }
}
