:root {
  --cor-fundo: linear-gradient(to top right, #0a0b0f 50%, #030b18 85%, #0b213f 100%);
  --cor-primaria: #d4af37;
  --cor-secundaria: #1e293b;
  --cor-texto: #ffffff;
  --cor-destaque: #f0e9cd;
  --font-principal: 'Poppins', sans-serif;
  /* Adicione esta variável para a cor do título no header, se não existir */
  --font-color-titulo-inicio: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-principal);
  background: var(--cor-fundo);
  color: var(--cor-texto);
  overflow-x: hidden; /* Adicionado para evitar rolagem horizontal */
}

main {
  background: var(--bg-topicos); /* Verifique se --bg-topicos está definido ou remova */
}

header {
  padding: 20px 0;
  background-color: transparent;
}

.container-header {
  max-width: 100%;
  margin-left: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 250px;
  filter: drop-shadow(0 0 0.1px #fff);
}

.nav-area {
  display: flex;
  align-items: center;
  margin-right: 110px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: 1px;
  font-size: 14px;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

header nav a {
  color: var(--font-color-titulo-inicio);
  text-decoration: none;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #d4af37;
  filter: drop-shadow(0 0 7px #fff);
}

ul {
  margin: 0;
  padding: 0;
}

nav hr {
  height: 35px;
  border: none;
  border-left: 1px solid #d4af37;
}

.seta-menu {
  font-size: 0.6rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.menu-item:hover>a .seta-menu {
  transform: rotate(180deg);
}

.menu-item {
  position: relative;
  display: inline-block;
}

.menu-item>a {
  display: inline-block;
  position: relative;
  padding: 10px 5px;
}

.submenu {
  position: absolute;
  top: 100%;
  justify-content: center;
  background-color: #111827;
  border: 1px solid #d4af37;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: block;
}

.menu-item:hover .submenu,
.menu-item .submenu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu li {
  list-style: none;
  padding: 8px 15px;
}

.texto-curso h2 {
  text-align: center;
}

.submenu li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 6px 10px;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.submenu li a:hover {
  background-color: #d4af37;
  color: #111827;
  padding-left: 25px;
  cursor: pointer;
}

/* NOVO: Estilos para o botão hambúrguer - escondido por padrão em desktop */
.hamburger-menu {
  display: none;
  /* Esconde o botão hambúrguer em telas grandes */
  background: none;
  border: none;
  right: 0;
  position: fixed;
  font-size: 2rem;
  color: var(--cor-primaria);
  /* Cor do ícone */
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  margin-right: 20px;
}

.section-curso {
  padding: 30px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.section-curso img {
  max-width: 540px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
  animation: slideInLeft 1.3s ease-out;
}

.section-curso .texto-curso {
  flex: 1;
  color: #fffbe9;
  font-family: 'Poppins', sans-serif;
  height: auto; /* Alterado de altura fixa para auto */
  animation: slideInRight 1.3s ease-out;

}

.section-curso .texto-curso h2 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  color: #f0e9cd;
}

.section-curso .texto-curso p {
  font-size: 1.25rem;
  line-height: 1.7;
  padding-bottom: 18px;
}

.section-chamada {
  padding: 40px 80px;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.frase-modernizada {
  flex: 1;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--cor-primaria);
  padding: 30px;
  border-radius: 16px;
  animation: slideInLeft 1s ease forwards;
  opacity: 0;
}

.frase-modernizada h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--cor-primaria);
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}

.frase-modernizada h2 span {
  color: #fff;
}

.frase-modernizada p {
  color: #f1f1f1;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
}

.section-chamada img {
  max-width: 420px;
  border-radius: 14px;
}

.imagem-emerson {
  height: 630px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.imagem-emerson img {
  width: 380px;
  animation: slideInRight 1s ease forwards;
  opacity: 0;
}

.section-video {
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-video .video-container {
  width: 100%;
  max-width: 900px;
  background-color: #111827;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-container.aguardando-video {
  background-color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  max-width: 900px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  border: 2px dashed #d4af37;
}

.texto-em-breve {
  color: var(--cor-primaria);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse 2s infinite;
  text-align: center;
}

.botao-container {
  margin-top: 30px;
  text-align: center;
}

.botao-hotmart {
  background-color: #25d366;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.botao-hotmart:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

footer.rodape {
  background-color: #212d3d;
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}

footer.rodape .redes a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.5rem;
  transition: filter 0.3s;
}

footer.rodape .redes a:hover {
  filter: drop-shadow(0 0 6px #fff);
}

.whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  font-size: 35px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
  text-decoration: none;
  transition: background-color 0.9 ease;
}

.whatsapp:hover {
  background-color: #ffffff;
  color: #25d366;
}

.btn-topo{
  position: fixed;
  bottom: 120px;
  right: 30px;
  background-color: grey;
  color: white;
  font-size: 35px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
}

.btn-topo:hover{
  background-color: #fff;
  color: #010c1b;
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 2.3s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(60px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}