@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

:root {
  --yellow: #f9d821;
  --gray: #555555;
  --light-gray: #cfcfcf;
  --dark-gray: #757575;
  --strong-yellow: #fbff00;
}

body {
  background-image: url("../assets/palotina_background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.38) 0%, rgba(5, 10, 20, 0.68) 40%, rgba(5, 10, 20, 0.88) 100%);
  z-index: 0;
  pointer-events: none;
}

.container {
  min-height: 100vh;
  max-width: 95em;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

h2 {
  font-size: clamp(0.5em, 0.8em + 2vw, 1.5em);
}

h3 {
  font-size: clamp(0.35em, 0.5em + 2vw, 1.25em);
}

/* HEADER */
header {
  position: relative;
  z-index: 30;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 10vh;
  position: relative;
  z-index: 35;
}

header .logo {
  margin-top: 24px;
  width: auto;
  height: 72px;
  max-width: 186px;
  object-fit: contain;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  position: relative;
  z-index: 40;
}

.nav-list li {
  position: relative;
  letter-spacing: 1.5px;
  margin-left: 20px;
  transition: 0.4s ease;
  margin-top: 10px;
  padding: 11px;
}

.nav-list li:hover > .sub-nav {
  display: block;
  transition: 0.5s ease;
}

.nav-list a {
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.3s ease;
  text-transform: uppercase;
  --b: 0.2em;
  --c: #ffe800;

  color: #0000;
  padding-block: var(--b);
  background: linear-gradient(var(--c) 50%, #cfcfcf 0) 0%
      calc(100% - var(--_p, 0%)) / 100% 200%,
    linear-gradient(var(--c) 0 0) 0% var(--_p, 0%) / var(--_p, 0%) var(--b)
      no-repeat;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  transition: 0.3s var(--_s, 0s) linear,
    background-size 0.3s calc(0.3s - var(--_s, 0s));
}

.nav-list a:hover {
  --_p: 100%;
  --_s: 0.3s;
}

.sub-nav {
  position: absolute;
  list-style: none;
  margin-left: 0;
  width: 200px;
  display: none;
  z-index: 60;
}
.submenu-mobile {
  display: none;
}

.sub-nav li {
  width: 100%;
  left: 0;
  padding: 5px;
  margin: 10px;
}

.sub-nav li a {
  left: 50%;
  transform: translateX(-50%);
}

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

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: #4b4b4b;
  margin: 8px;
  transition: 0.4s;
}

.sm-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.sm-icons i {
  color: var(--light-gray);
  font-size: 22px;
  transition: 0.3s ease;
}

.sm-icons i:hover {
  color: #ffe800;
}
/* HEADER */

/* MAIN */

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 90vh;
  position: relative;
  z-index: 1;
}

main .container-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  min-height: 250px;
  margin: 0 auto;
  border-radius: 15px;
  box-sizing: border-box;
  position: relative;
}

main .container-img .logos-home {
  box-sizing: border-box;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-toledo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.logo-ilumina {
  width: auto;
  max-width: min(600px, 92vw);
  max-height: min(42vh, 340px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.texts-home {
  margin-top: 1.5em;
  text-align: center;
  color: white;
}

.options {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 2.75em;
}

.options a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  color: var(--yellow);
  margin: 0;
  padding: 16px 28px;
  border-radius: 6px;
  border: 2px solid var(--yellow);
  box-shadow: 0 8px 20px rgba(249, 216, 33, 0.25);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.options a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--yellow);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.options a:hover::before {
  width: 100%;
}

.options a:hover {
  color: #0f0f0f;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 216, 33, 0.45);
}

.abrir-chamado {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  padding: 10px;
}

.abrir-chamado h2 {
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.abrir-chamado h3 {
  font-weight: 600;
  color: white;
}

.solicitacao-info {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  vertical-align: middle;
}

.solicitacoes-home {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.solicitacao-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.solicitacao-info i {
  font-size: 24px;
  color: white;
}

.solicitacao-info h3 {
  margin: 0;
  color: white;
  font-weight: 600;
}

/* MAIN */

/* RESPONSIVIDADE */
@media (max-width: 1550px) {
  .nav-list a {
    font-size: 10px;
    font-weight: 900;
  }

  .container {
    max-width: 90em;
  }
}

@media (max-width: 1120px) {
  body {
    background:
      linear-gradient(180deg, rgba(5, 10, 20, 0.38) 0%, rgba(5, 10, 20, 0.72) 36%, rgba(5, 10, 20, 0.92) 100%),
      url("../assets/palotina_background.jpg") center center / cover no-repeat;
  }

  body::before {
    display: none;
  }

  .container {
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
    padding: 0;
  }

  nav {
    height: auto;
    min-height: 88px;
    justify-content: space-between;
    padding: 18px 22px 0;
  }

  main {
    height: auto;
    min-height: calc(100vh - 88px);
    justify-content: flex-start;
    padding: 28px 20px 42px;
  }

  main .container-img {
    display: flex;
    width: 100%;
    max-width: 720px;
    min-height: 0;
    margin: 18px auto 0;
    padding: 22px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(12, 17, 24, 0.55) 0%, rgba(12, 17, 24, 0.28) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .logo-ilumina {
    max-width: 280px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  }

  .logo-toledo {
    width: 100px;
  }

  .texts-home {
    margin-top: 1.8em;
    padding: 0 6px;
    max-width: 760px;
  }

  .texts-home h2 {
    font-size: clamp(1.1em, 3vw, 1.5em);
    margin-bottom: 0.85em;
    line-height: 1.45;
    letter-spacing: 0.03em;
  }

  .texts-home h3 {
    font-size: clamp(0.86em, 2.3vw, 1em);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
  }

  .options {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 2em;
    padding: 0 4px;
  }

  .options a {
    width: 100%;
    max-width: 380px;
    min-width: 0;
    font-size: 13.5px;
    line-height: 1.35;
    text-align: center;
    padding: 16px 18px;
    border-radius: 16px;
    letter-spacing: 0.07em;
  }

  .sm-icons {
    position: absolute;
    left: 40%;
    bottom: 10px;
    z-index: -1;
  }

  .sm-icons i {
    color: #b3b3b3;
    font-size: 25px;
  }

  header .logo {
    width: auto;
    height: 56px;
    max-width: 154px;
    margin-top: 0;
  }

  .mobile-menu {
    display: block;
    z-index: 1010;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-menu div {
    background: rgba(255, 255, 255, 0.9);
    width: 28px;
    height: 3px;
    border-radius: 2px;
  }

  .abrir-chamado {
    margin-top: 20px;
    padding: 10px;
  }

  .abrir-chamado h2 {
    margin-bottom: 16px;
  }

  .solicitacoes-home {
    gap: 12px;
    flex-direction: column;
  }

  .solicitacao-info {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 500px) {
  header .logo {
    width: auto;
    height: 48px;
    max-width: 132px;
  }

  .logo-ilumina {
    max-width: 220px;
  }

  nav {
    padding: 16px 16px 0;
    min-height: 78px;
  }

  main {
    min-height: calc(100vh - 78px);
    padding: 18px 16px 34px;
  }

  main .container-img {
    margin-top: 12px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .options {
    flex-direction: column;
  }

  .options a {
    font-size: 13px;
    max-width: 100%;
  }
}
/* RESPONSIVIDADE */

/* CLASSE ADICIONADA COM JS */
.nav-list.active {
  transform: translateX(0);
  pointer-events: auto;
}

/* ANIMAÇÕES */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

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

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}
/* ANIMAÇÕES */
