/* assets/css/gest-theme.css - Tema GestClub */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
    background-color: #0B1221;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* Header & Barra Superior */
.app-shell { 
    background: #0B1221; 
}
.app-header {
    background: #0B1221 !important;
    color: #E3D1C3 !important;
    border-bottom: 2px solid #C89E53 !important;
}
.app-header span, .app-header strong, .app-header label, .app-header div {
    color: #E3D1C3 !important;
}

/* Menu Lateral / Sidebar */
.app-sidebar {
    background: #404F63 !important;
    border-right: 1px solid #C89E53 !important;
}
.menu-header {
    background: #0B1221 !important;
    color: #C89E53 !important;
    border-bottom: 1px solid #404F63 !important;
}
.menu-item {
    color: #E3D1C3 !important;
    border-bottom: 1px solid #0B1221 !important;
}
.menu-item:hover {
    background: #C89E53 !important;
    color: #0B1221 !important;
}

/* Abas */
.app-tab-strip { 
    background: #0B1221 !important; 
    border-bottom: 1px solid #C89E53 !important; 
}
.win-tab-item { 
    background: #404F63 !important; 
    color: #E3D1C3 !important; 
    border: 1px solid #C89E53 !important; 
}
.win-tab-item.active { 
    background: #ffffff !important; 
    color: #0B1221 !important; 
    border-color: #C89E53 !important; 
    border-bottom-color: #ffffff !important; 
}

/* REGRAS DE CONTEÚDO PADRÃO PARA ÁREAS CLARAS */
.embed-container, form, fieldset, table {
    color: #000000;
}

label, .win-label, span.win-label {
    color: #000000 !important;
    font-weight: 600 !important;
}

legend {
    color: #0a246a !important;
    font-weight: 700 !important;
}

/* CORREÇÃO CRÍTICA: FORÇAR TEXTO BRANCO EM PAINÉIS/BANNERS COM FUNDO ESCURO */
div[style*="background: #0a246a"],
div[style*="background:#0a246a"],
div[style*="background: #0B1221"],
div[style*="background:#0B1221"],
div[style*="background: #000080"],
div[style*="background:#000080"],
div[style*="background:#1e293b"],
div[style*="background: #1e293b"],
.win-titlebar,
.win-toolbar {
    color: #ffffff !important;
}

div[style*="background: #0a246a"] *,
div[style*="background:#0a246a"] *,
div[style*="background: #0B1221"] *,
div[style*="background:#0B1221"] *,
div[style*="background: #000080"] *,
div[style*="background:#000080"] *,
div[style*="background:#1e293b"] *,
div[style*="background: #1e293b"] *,
.win-titlebar *,
.win-toolbar * {
    color: #ffffff !important;
}

/* TABELAS */
table {
    border-collapse: collapse !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #716f64 !important;
}

table th {
    background-color: #e0e8f5 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: 1px solid #716f64 !important;
}

table td {
    color: #000000 !important;
    border: 1px solid #716f64 !important;
}

/* CAMPOS DE FORMULÁRIO */
.win-input, .win-select, input, select, textarea {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #404F63 !important;
    border-radius: 3px;
    padding: 6px 8px !important;
}

/* BOTÕES GLOBAIS */
.win-btn {
    background: #C89E53 !important;
    color: #0B1221 !important;
    border: 1px solid #0B1221 !important;
    font-weight: 700 !important;
    border-radius: 3px;
}
.win-btn:hover {
    background: #E3D1C3 !important;
    color: #0B1221 !important;
}

/*site*/

        body {
            background-color: #0B1221;
            color: #E3D1C3;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .luxury-wrapper {
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
        }

        header.luxury-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid rgba(200, 158, 83, 0.25);
            margin-bottom: 40px;
        }

        .btn-login-discrete {
            color: #C89E53;
            text-decoration: none;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 6px 14px;
            border: 1px solid rgba(200, 158, 83, 0.3);
            border-radius: 4px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(200, 158, 83, 0.05);
        }

        .btn-login-discrete:hover {
            background: #C89E53;
            color: #0B1221;
            border-color: #C89E53;
            box-shadow: 0 0 12px rgba(200, 158, 83, 0.4);
        }

        .hero-section {
            text-align: center;
            padding: 10px 10px 40px 10px;
        }

        .hero-logo-container {
            margin-bottom: 25px;
        }

        .hero-logo-img {
            max-width: 280px;
            height: auto;
            border-radius: 8px;
            border: 1px solid rgba(200, 158, 83, 0.4);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        }

        .luxury-title {
            font-size: 28px;
            font-weight: 300;
            color: #ffffff;
            margin: 0 0 15px 0;
            letter-spacing: 1px;
            line-height: 1.3;
        }

        .luxury-title strong {
            font-weight: 700;
            color: #C89E53;
        }

        .luxury-subtitle {
            font-size: 14px;
            color: #A3B1C6;
            max-width: 680px;
            margin: 0 auto 30px auto;
            line-height: 1.6;
        }

        .gold-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, #C89E53 50%, transparent 100%);
            margin: 30px auto;
            max-width: 400px;
        }

        .pillars-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .pillar-card {
            background: rgba(16, 25, 44, 0.7);
            border: 1px solid rgba(200, 158, 83, 0.2);
            border-radius: 6px;
            padding: 25px 20px;
            text-align: center;
            backdrop-filter: blur(5px);
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .pillar-card:hover {
            transform: translateY(-3px);
            border-color: rgba(200, 158, 83, 0.6);
        }

        .pillar-icon {
            color: #C89E53;
            margin-bottom: 12px;
            display: inline-block;
        }

        .pillar-card h3 {
            font-size: 14px;
            color: #ffffff;
            margin: 0 0 10px 0;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .pillar-card p {
            font-size: 11px;
            color: #8A99AD;
            margin: 0;
            line-height: 1.5;
        }

        /* Card da Lusofonia */
        .lusofonia-card {
            background: linear-gradient(180deg, rgba(200, 158, 83, 0.08) 0%, rgba(11, 18, 33, 0.6) 100%);
            border: 1px solid rgba(200, 158, 83, 0.3);
            border-radius: 8px;
            padding: 30px 20px;
            margin-top: 40px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .lusofonia-flags-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        /* Estilos dos Crachás de Bandeira */
        .flag-badge {
            background: rgba(10, 24, 44, 0.85);
            border: 1px solid rgba(200, 158, 83, 0.35);
            border-radius: 6px;
            padding: 6px 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            position: relative;
        }

        .flag-badge img {
            border-radius: 2px;
            display: block;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
            transition: filter 0.3s ease, opacity 0.3s ease;
        }

        /* Ativo: Destaque com efeito Hover */
        .flag-badge.flag-active:hover {
            border-color: #C89E53;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(200, 158, 83, 0.35);
        }

        /* Inativo: Escala de Cinzas + Opacidade Baixa */
        .flag-badge.flag-inactive {
            border-color: rgba(255, 255, 255, 0.1);
            background: rgba(15, 20, 30, 0.5);
            opacity: 0.4;
        }

        .flag-badge.flag-inactive img {
            filter: grayscale(100%);
        }

        .flag-badge.flag-inactive:hover {
            opacity: 0.7;
            border-color: rgba(200, 158, 83, 0.25);
        }

        .lusofonia-card h2 {
            font-size: 15px;
            color: #C89E53;
            margin: 0 0 10px 0;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .lusofonia-card p {
            font-size: 12px;
            color: #A3B1C6;
            margin: 0 auto;
            line-height: 1.6;
            max-width: 720px;
        }

        footer.luxury-footer {
            border-top: 1px solid rgba(200, 158, 83, 0.2);
            padding: 20px;
            text-align: center;
            font-size: 11px;
            color: #718096;
            background: #070C16;
            width: 100%;
            box-sizing: border-box;
        }

        footer.luxury-footer a {
            color: #C89E53;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        footer.luxury-footer a:hover {
            color: #E3D1C3;
            text-decoration: underline;
        }
        
        .brand-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.brand-icon {
    width: 18px;
    height: 18px;
    color: #C89E53;
}

.brand-title,
a.brand-title,
a.brand-title:visited,
a.brand-title:hover {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #E3D1C3 !important;
    text-decoration: none !important;
}