:root {
    --bg-color: #0a0b0f;
    --text-color: #f0e9cd;
    --highlight: #d4af37;
    --cinza-caixa: rgba(255, 255, 255, 0.07);
    --vermelho: #ff5555;
    --font-color-titulo-inicio: #fff; /* Adicione esta variável se ainda não tiver */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to top right, #0a0b0f, #030b18, #0b213f);
    color: var(--text-color);
    overflow-x: hidden;
}

header {
    padding: 20px 0;
}

.container-header {
    max-width: 100%;
    margin-left: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative; /* Adicionado para posicionar o hamburger e nav */
}

.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: var(--highlight);
    filter: drop-shadow(0 0 7px #fff);
}

ul {
    margin: 0;
    padding: 0;
}

nav hr {
    height: 35px;
    border: none;
    border-left: 1px solid var(--highlight);
}

.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 var(--highlight); /* Usando variável */
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; /* Adicionado transform */
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: block;
    transform: translateY(10px); /* Para a animação de deslizar */
}

.menu-item:hover .submenu,
.menu-item .submenu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0); /* Volta à posição original */
}

.submenu li {
    list-style: none;
    padding: 8px 15px;
}

.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-left 0.3s ease; /* Adicionado padding-left */
    padding: 6px 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.submenu li a:hover {
    background-color: var(--highlight); /* Usando variável */
    color: #111827;
    padding-left: 25px;
    cursor: pointer;
}

/* ESTILOS DO BOTÃO HAMBÚRGUER (INICIALMENTE ESCONDIDO NO DESKTOP) */
.hamburger-menu {
    display: none; /* ISTO É CRUCIAL: Esconde o botão hambúrguer em telas grandes */
    background: none;
    border: none;
    font-size: 2rem;
    right: 0;
    position: fixed;
    color: var(--highlight);
    cursor: pointer;
    z-index: 1001; /* Garante que ele fique por cima de outros elementos */
    padding: 10px;
    margin-right: 20px;
}

/* HERO PALESTRA */
.hero-palestra {
    display: flex;
    align-items: center;
    max-width: 1290px;
    padding: 40px 0;
    text-align: center;
    gap: 40px;
    margin: 0 auto; /* Centraliza no desktop */
}

.hero-conteudo {
    max-width: 800px;
    margin-left: 30px; /* Isso pode ser ajustado para margin: 0 auto; em mobile */
    color: var(--text-color);
    height: 490px; /* Ajustado para auto */
    animation: slideInLeft 1.3s ease-out;
    flex: 1; /* Permite que ele cresça */
    padding: 0 20px; /* Adicionado padding para margens em telas menores */
    box-sizing: border-box; /* Garante que padding não adicione largura */
}

.hero-conteudo h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--highlight);
    line-height: 1.3;
}

.hero-conteudo h1 span {
    color: #fff;
}

.hero-conteudo p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ccc;
    text-align: center;
}

.btn-destaque {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1rem;
    background: var(--highlight);
    color: #000;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: 0.3s ease;
}

.btn-destaque:hover {
    transform: scale(1.05);
    background-color: #e0be4d;
}

.hero-imagem {
    flex: 1; /* Permite que a imagem cresça */
    text-align: center;
    padding: 0 20px;
}

.hero-imagem img {
    max-width: 100%; /* Garante que a imagem não ultrapasse o container */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.conteudo-palestra {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.linha {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Importante para mobile */
}

.linha.reverse {
    flex-direction: row-reverse;
}

.foto {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
}

.foto img {
    max-width: 280px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    transition: transform 0.4s ease;
    cursor: default;
}

.foto img:hover {
    transform: scale(1.05);
}

.texto {
    flex: 2 1 400px;
    max-width: 600px;
}

.texto h2 {
    font-size: 2.2rem;
    color: var(--highlight);
    margin-bottom: 15px;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
    text-align: center; /* Manter centralizado */
}

.texto p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ccc;
    text-align: center; /* Manter centralizado */
}

.bloco-texto.central {
    text-align: center;
    margin: 80px auto 40px;
    max-width: 700px;
}

.bloco-texto.central h2 {
    font-size: 2.2rem;
    color: var(--highlight);
}

.bloco-texto.central p {
    font-size: 1.3rem;
    margin-top: 12px;
    color: #ccc;
}

.caixa-em-breve {
    background: linear-gradient(to right, #1f2937, #111827);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px; /* largura fixa, tipo quadrada */
    height: 400px; /* mesma altura = formato quadrado */
    margin: 80px auto;
    padding: 20px;
    border-radius: 8px; /* pode até colocar 0 se quiser bem quadrado */
    border: 2px solid var(--highlight);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    transition: transform 0.3s ease;
}

.caixa-em-breve span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--vermelho);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: block; /* Para que <br> funcione */
}

.caixa-em-breve:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Variar levemente cada caixa */
.caixa-em-breve.em-cima {
    background: linear-gradient(to right, #1f2937, #0b0f19);
}

.caixa-em-breve.em-meio {
    background: linear-gradient(to right, #1a1d24, #111827);
    border-style: dotted;
}

.caixa-em-breve.em-baixo {
    background: linear-gradient(to right, #111827, #1f2937);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

@keyframes brilho {
    0% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    }
    100% {
        box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
    }
}

footer {
    text-align: center;
}

.rodape {
    background-color: #212d3d;
    color: white;
    padding: 20px 20px;
}

.rodape .redes a {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5rem;
}

.redes a:hover {
  filter: drop-shadow(0 0 8px #fff);
}

.rodape p {
    margin-bottom: 15px;
}

.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;
    text-decoration: none;
    transition: background-color 0.9 ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    z-index: 1000;
}

.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;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}