/* ##########################################################################
   1. CONFIGURAÇÕES GLOBAIS, VARIÁVEIS E RESET
   ########################################################################## */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Plus+Jakarta+Sans:wght@200;400;700&display=swap');

:root {
    --accent: #00f2ff;
    --accent-2: #ff0054;
    --bg-dark: #121212;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --primary-glow: #00f2ff;
    --secondary-glow: #7000ff;
    --text-muted: rgba(255, 255, 255, 0.6);
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: move 25s infinite alternate;
}

.orb-1 { width: 300px; height: 400px; background: var(--accent); top: -10%; left: -10%; }
.orb-2 { width: 300px; height: 300px; background: var(--accent-2); bottom: -10%; right: -5%; }

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

html {
    /* Diminui a escala global sem quebrar cliques ou nitidez */
    /* 13px é aprox. 80% do padrão (16px) */
    font-size: 13px; 
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    margin: 0 auto;
}

/* ##########################################################################
   2. BACKGROUND ANIMADO E CURSOR (EFEITOS VISUAIS)
   ########################################################################## */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
}


@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(150px, 100px) scale(1.3); }
}

#cursor-aura {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

/* ##########################################################################
   3. NAVEGAÇÃO PADRONIZADA (IGUAL AO STYLE.CSS)
   ########################################################################## */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Altura fixa para garantir que o height: 100% do logo funcione */
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Ou use var(--nav-bg) se preferir */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

/* O seletor abaixo agora é idêntico ao seu style.css */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    text-decoration: none;
    color: white;
}

/* O seletor abaixo agora é idêntico ao seu style.css */
.logo-img {
    height: 100%;
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Suporte para caso você use texto com span dentro do logo */
.logo span { 
    color: var(--accent); 
}

/* 1. CONTAINER: Alinhamento e espaçamento idênticos */
.menu-links {
    display: flex;
    list-style: none;
    gap: 20px; /* Espaçamento entre os botões conforme sua regra */
    align-items: center;
}

.menu-links li {
    display: inline-block;
}

/* 2. REGRAS PARA LINKS COMUNS (Estilo btn-nav-flat) */
/* Blindagem contra cor roxa em todos os estados do link */
.menu-links a:link, 
.menu-links a:visited {
    color: #ffffff !important;   /* Força o branco total */
    padding: 8px 15px;           /* Espaçamento do btn-nav-flat */
    border-radius: 10px;         /* Arredondamento do btn-nav-flat */
    text-decoration: none !important;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    opacity: 1;
}

/* Hover para links comuns */
.menu-links a:not(.btn-plasma-small):not(.btn-user-status):hover {
    background: var(--accent);
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
}

/* 3. REGRAS PARA BOTÕES ESPECIAIS (Estilo pílula 50px) */
/* Aplicando as regras de 10px 22px de padding e border-radius 50px */
.menu-links a.btn-user-status,
.menu-links a.btn-plasma-small,
.menu-links a.btn-logout {
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-size: 0.7rem; /* Tamanho levemente menor conforme sua regra */
}

/* Estilo específico: STATUS */
.menu-links a.btn-user-status:link,
.menu-links a.btn-user-status:visited {
    background: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Estilo específico: PLASMA (Membro) */
.menu-links a.btn-plasma-small:link,
.menu-links a.btn-plasma-small:visited {
    background: white !important;
    color: black !important; /* Texto preto no fundo branco */
}

/* Hovers específicos para os botões pílula */
.menu-links a.btn-plasma-small:hover {
    background: var(--accent) !important;
    color: rgb(0, 0, 0) !important;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5);
}

.menu-links a.btn-user-status:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* 1. CONTAINER: Alinhamento e espaçamento idênticos ao .menu-links */
.nav-actions {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

/* 2. REGRAS DE OURO: Mesma tipografia, padding e transição de todos os botões */
.nav-actions a, 
.nav-actions a:link, 
.nav-actions a:visited {
    text-decoration: none !important;
    font-family: ''Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif';
    font-size: 0.75rem;      /* Como definido no btn-nav-flat */
    font-weight: 800;        /* Peso extra bold solicitado */
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 15px;       /* Padding do btn-nav-flat */
    border-radius: 6px;     /* Bordas do btn-nav-flat */
    display: inline-block;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: #ffffff !important; /* Mantendo o branco blindado */
    border: none;
}

/* 3. HOVER PARA OS LINKS COMUNS (HOME, DJS, ETC) */
.nav-actions a:not(.btn-plasma-small):not(.btn-logout-index):hover {
    background: var(--accent);
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
}

/* 4. REGRAS ESPECÍFICAS PARA O BOTÃO PLASMA (MEMBRO) */
/* Aqui aplicamos as regras de pílula (50px) e cores invertidas */
.nav-actions a.btn-plasma-small,
.nav-actions a.btn-plasma-small:link,
.nav-actions a.btn-plasma-small:visited {
    
    color: rgb(255, 255, 255) !important;
    padding: 10px 22px;      /* Padding maior como no seu btn-plasma-small */
    border-radius: 6px;     /* Formato pílula */
}

.nav-actions a.btn-plasma-small:hover {
    background: var(--accent) !important;
    color: rgb(0, 0, 0) !important;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5);
}

/* 5. BOTÃO LOGOUT (SAIR) - Se ele estiver dentro de nav-actions */
.btn-logout-index {
    border: 1px solid var(--accent-2) !important;
    color: var(--accent-2) !important;
    background: transparent !important;
}

.btn-logout-index:hover {
    background: var(--accent);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}
/* ##########################################################################
   4. CONTEÚDO PRINCIPAL E DASHBOARD
   ########################################################################## */
.profile-container { 
    max-width: 1200px; 
    margin: 120px auto 50px; 
    padding: 0 20px; 
}

.dash-intro { 
    text-align: left; 
    margin-bottom: 40px; 
}

.dash-intro h1 { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    font-size: clamp(2rem, 8vw, 3.5rem); 
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.dash-intro p {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 600px;
}

/* ##########################################################################
   5. GRID E CARDS DE ESTABELECIMENTO (DESKTOP PERFEITO)
   ########################################################################## */
.estab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 20px;
}

.estab-card {
    text-decoration: none;
    color: inherit;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    /* REMOVE A MÃOZINHA DE CLIQUE */
    cursor: default;
}

.estab-card:hover {
    /* REMOVE O EFEITO DE SUBIR */
    transform: none; 
    /* MANTÉM APENAS UMA MUDANÇA LEVE DE COR PARA NÃO FICAR MORTO */
    border-color: var(--border);
    background: var(--glass);
    box-shadow: none;
}

.card-image { 
    position: relative; 
    height: 140px; 
    width: 100%;
} 

.card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.card-body { 
    padding: 15px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
    text-transform: uppercase;
    color: #fff;
}

/* Footer do Card */
.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.location-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-name { font-size: 0.9rem; font-weight: 700; color: #eee; }
.uf-name { font-size: 0.9rem; text-transform: uppercase; color: var(--accent); font-weight: 800; letter-spacing: 0.5px; }

.social-mini { 
    display: flex; 
    gap: 10px; 
    font-size: 1.2rem; 
    color: var(--accent); 
    opacity: 0.8;
}

/* ##########################################################################
   7. FOOTER (RODAPÉ - VERSÃO UNIFICADA)
   ########################################################################## */
.main-footer {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 5% 15px;
    margin-top: 50px;
    width: 100%
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr; 
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-brand .logo { 
    display: flex;
    align-items: center;
    font-size: 1.3rem; 
    margin-bottom: 8px; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    text-decoration: none;
}

.footer-brand p { 
    opacity: 0.6; 
    font-size: 14px; 
    line-height: 1.4; 
}

.footer-links h4, 
.footer-social h4 {
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.5;
    font-size: 13.5px;
    transition: 0.3s ease;
}

.footer-links a:hover { opacity: 1; padding-left: 3px; color: var(--accent); }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* ##########################################################################
   6. RESPONSIVIDADE (MOBILE QUADRADO E MENOR)
   ########################################################################## */
@media (max-width: 768px) {
    nav { padding: 15px 20px; }
    .profile-container { margin-top: 130px; padding: 0 15px; }
    
    /* Grid Mobile */
    .estab-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    /* CARD MOBILE: Fica Quadrado (1:1) e Menor */
    .card-image { 
        height: auto; 
        aspect-ratio: 1 / 1; /* Força o quadrado perfeito */
    }

    .card-body { padding: 10px; }
    
    .card-body h3 { 
        font-size: 0.85rem; 
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-footer { padding-top: 8px; }
    .city-name { font-size: 0.75rem; }
    .uf-name { font-size: 0.55rem; }
    .social-mini { font-size: 0.85rem; gap: 6px; }

    /* Footer Mobile Ajustado */
    
.main-footer {
    padding: 40px 20px !important;
    text-align: left !important; /* Alinha o texto para a esquerda para ficar mais limpo */
}

.footer-content {
    display: grid !important;
    /* 1fr para a marca (topo) e depois duas colunas iguais para os links */
    grid-template-columns: 1fr 1fr !important; 
    gap: 20px !important;
}

/* Faz a parte da Marca (Logo e texto) ocupar as duas colunas inteiras no topo */
.footer-brand {
    grid-column: 1 / -1; 
    text-align: center; /* Centraliza a logo e o texto principal */
    margin-bottom: 20px;
}

.footer-brand p {
    margin: 10px auto !important;
    max-width: 100% !important;
}

/* Garante que os títulos dos links fiquem bem posicionados */
.footer-links h4 {
    font-size: 0.8rem !important;
    margin-bottom: 12px !important;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
}
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

}

@media (max-width: 400px) {
    /* Em telas muito pequenas ele mantém 2 colunas para não ficar gigante */
    .estab-grid { gap: 8px; }
}



/* --- Menu Hamburguer --- */
.mobile-menu-icon {
    display: none; /* Escondido no Desktop */
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-icon div {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 968px) {
    .mobile-menu-icon { display: block; }

    /* Alterado de .menu-links para .nav-actions conforme solicitado */
    .nav-actions {
        position: fixed;
        right: 0; 
        top: 0;
        height: 100vh;
        width: 75%; 
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px !important;
        transform: translateX(100%); 
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        display: flex;
    }

    .nav-actions.nav-active { 
        transform: translateX(0); 
    }

    .mobile-menu-icon.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .mobile-menu-icon.toggle .line2 { opacity: 0; }
    .mobile-menu-icon.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

/* Ajuste preventivo para Desktop (para o menu não sumir no PC) */
@media screen and (min-width: 969px) {
    .nav-actions {
        display: flex !important;
        transform: translateX(0) !important;
        position: static !important;
        height: auto !important;
        width: auto !important;
        background: transparent !important;
        flex-direction: row !important;
    }
}