/* Variáveis de cores - Cópia das variáveis principais */
:root {
    --purple: #9271FF; /* Roxo do topo do logo */
    --light-purple: #BCA8FF; /* Versão clara do roxo */
    --blue: #38B6FF; /* Azul da parte inferior do logo */
    --light-blue: #99DAFF; /* Versão clara do azul */
    --green: #FF6EB5; /* Mantendo o verde original para detalhes */
    --dark: #333333; /* Mantendo o dark original */
    --light: #f5f5f5; /* Mantendo o light original */
}

/* Header animado */
header {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(56, 182, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--green);
    transition: width 0.3s ease;
}

.logo:hover:after {
    width: 100%;
}

.logo span {
    color: var(--green);
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--green);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    z-index: 1001;
}

/* Botão flutuante do menu - posicionado no topo direito */
.floating-menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;          /* Alterado para a direita */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.floating-menu-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.4);
}

/* Efeito de pulsar para chamar atenção */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 182, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(56, 182, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(56, 182, 255, 0);
    }
}

.floating-menu-btn.visible {
    animation: pulse 2s infinite;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.partner-logo img {
    max-height: 100%;
    width: auto;
}

/* Responsividade para menu mobile */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;       /* Alterado de right para left */
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, var(--blue), var(--purple));
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);  /* Alterado para sombra à direita */
    }
    
    nav.active {
        left: 0;          /* Alterado de right para left */
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .partner-logo {
        height: 30px;
    }
    
    .floating-menu-btn {
        width: 50px;
        height: 50px;
        right: 20px;      /* Alterado para a direita */
        top: 20px;
        font-size: 20px;
    }
}