/* CSS Customizado exclusivo para index.html */
/* Remove a barra fixa azul escura e o logotipo do header, mantendo apenas o menu flutuante */

/* Oculta o header fixo completamente no index */
.header {
    display: none !important;
}

/* Garante que o body comece do topo sem espaço para o header */
body {
    padding-top: 0 !important;
}

/* Menu flutuante - visível desde o topo em desktop */
.floating-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    pointer-events: all;
}

/* Classe visible não é mais necessária mas mantida para compatibilidade */
.floating-nav.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.floating-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.floating-nav a:hover {
    color: #0DA7D9;
}

.floating-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #443E84 0%, #0DA7D9 100%);
    transition: width 0.3s ease;
}

.floating-nav a:hover::after {
    width: 100%;
}

/* Menu hamburguer para mobile no menu flutuante */
.floating-nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.floating-nav .hamburger .bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Logo mobile no menu flutuante - REMOVIDO */
.floating-nav .nav-logo-mobile {
    display: none !important;
}

/* Responsividade do menu flutuante */
@media (max-width: 768px) {
    .floating-nav {
        top: 15px;
        right: 15px;
        left: auto;
        width: auto;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        /* Menu sempre visível em mobile como botão pequeno */
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: all !important;
    }
    
    .floating-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 0;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 15px;
        min-width: 200px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        gap: 15px;
    }
    
    .floating-nav ul.active {
        display: flex;
    }
    
    .floating-nav .hamburger {
        display: flex;
    }
    
    .floating-nav .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .floating-nav .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .floating-nav .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    .floating-nav {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    
    .floating-nav a {
        font-size: 0.9rem;
    }
}

/* Ajuste da seção hero para começar do topo */
#home.hero {
    margin-top: 0;
    padding-top: 0;
}

/* Garante que as estrelas e o fundo azul permaneçam */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.stars,
.constellation {
    position: absolute;
    /* As propriedades de width e height para .constellation serão definidas em style.css */
}



/* Correção do logo na seção hero para mobile */
.hero-title img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-title img {
        max-width: 280px;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-title img {
        max-width: 240px;
        width: 85%;
    }
}

