@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 {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
              url("../images/img31.png") center center / cover no-repeat;
}

.container {
  /* display: flex;
    flex-direction: column;
    justify-content: center; */
  min-height: 100vh;
  max-width: 95em;
  margin: 0 auto;
}

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: 30px;
  width: 150px;
}

.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; /* the thickness of the line */
  --c: #ffe800; /* the color */

  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;
  width: 100%;
}

.logo-embu {
  width: 225px;
}

.logo-ilumina {
  width: 100%;
  max-width: 800px;
  height: auto;
  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: 300px;
  font-size: 16px;
  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);
}

/* Mostra desktop, esconde mobile por padrão */
.btn-mobile {
  display: none !important;
}

.btn-desktop {
  display: inline-block !important;
}

/* MAIN */

/* RESPONSIVIDADE */
@media (max-width: 1550px) {
  .nav-list a {
    font-size: 10px;
    font-weight: 900;
  }

  .container {
    max-width: 90em;
  }
}

@media (max-width: 1120px) {
  /* Inverte botões em mobile */
  .btn-mobile {
    display: inline-block !important;
  }
  
  .btn-desktop {
    display: none !important;
  }

  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("../images/img31.png") center center / cover no-repeat;
  }

  .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;
  }

  /* Logo central visível em mobile */
  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: 360px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  }

  .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);
  }

  .buttons {
    width: 100%;
  }

  /* Botão mobile maior e mais visível */
  .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;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .options .home-cta-primary {
    background: var(--yellow);
    color: #101010;
    border-color: var(--yellow);
    box-shadow: 0 14px 30px rgba(249, 216, 33, 0.28);
  }

  .options .home-cta-primary::before {
    background: rgba(255, 255, 255, 0.18);
  }

  .options .home-cta-primary:hover {
    color: #101010;
  }

  .options .home-cta-secondary {
    background: rgba(13, 18, 27, 0.58);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.26);
  }

  .options .home-cta-secondary::before {
    background: rgba(255, 255, 255, 0.12);
  }

  .options .home-cta-secondary:hover {
    color: #ffffff;
  }
  /* ÍCONES */
  .sm-icons {
    position: absolute;
    left: 40%;
    bottom: 10px;
    z-index: -1;
  }

  .sm-icons i {
    color: #b3b3b3;
    font-size: 25px;
  }
  /* ÍCONES */

  /* MOBILE / HEADER */
  header .logo {
    width: 120px;
    margin-top: 0;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    max-height: 100dvh;
    overflow-y: auto;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 16px 20px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(10, 14, 22, 0.98) 0%, rgba(13, 18, 27, 0.96) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -14px 0 32px rgba(0, 0, 0, 0.28);
    pointer-events: none;
  }

  .submenu-mobile {
    display: block;
  }

  .nav-list > li:not(.submenu-mobile) {
    display: none;
  }

  .nav-list li:hover > .sub-nav {
    display: none;
  }

  .nav-list li {
    margin: 0;
    opacity: 0;
    width: 100%;
    padding: 0;
  }

  .nav-list a {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    padding: 14px 16px;
    display: block;
    border-radius: 14px;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
  }

  .nav-list a:hover,
  .nav-list a:active {
    background: rgba(249, 216, 33, 0.15);
    color: var(--yellow);
    transform: translateX(4px);
  }

  .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;
  }
  /* MOBILE / HEADER */
}

@media (max-width: 500px) {
  .nav-list > li:not(.submenu-mobile) {
    display: none;
  }

  .nav-list li.submenu-mobile {
    display: block;
  }

  header .logo {
    width: 110px;
  }

  nav {
    padding: 16px 16px 0;
    min-height: 78px;
  }

  body {
    background-position: 58% center;
  }

  main {
    min-height: calc(100vh - 78px);
    padding: 18px 16px 34px;
  }

  main .container-img {
    margin-top: 12px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .logo-ilumina {
    max-width: 280px;
  }

  .nav-list a {
    font-size: 12px;
    padding: 12px 16px;
  }

  .options a {
    font-size: 13px;
    padding: 15px 16px;
    max-width: 100%;
  }

  .texts-home h2 {
    font-size: clamp(1em, 5vw, 1.2em);
  }

  .texts-home h3 {
    font-size: clamp(0.78em, 3.8vw, 0.92em);
  }

  .sub-nav {
    display: none;
  }
}

/* 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 */
