/* Folha de Estilo: Hub DAXV - www.daxv.apmbb.com.br */
/* Estilo Moderno: Barra Superior Horizontal, Laranja Neon, Glassmorphism, Foco Desktop */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(18, 18, 18, 0.65);
    --bg-card-hover: rgba(26, 26, 26, 0.85);
    --accent-orange: #ff8c00;
    --accent-orange-glow: rgba(255, 140, 0, 0.35);
    --accent-orange-dim: #d35400;
    --text-main: #ffffff;
    --text-muted: #a5a5a5;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 140, 0, 0.15);
    --shadow-main: 0 15px 50px rgba(0, 0, 0, 0.8);
    --font-heading: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* ========================================== */
/* HEADER / BARRA DE FERRAMENTAS HORIZONTAL (TOPO) */
/* ========================================== */
.navbar {
    width: 100%;
    height: 90px;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.navbar .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar .logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--accent-orange-glow));
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
}

.navbar .logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.navbar .logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Menu horizontal */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

/* Widget Relógio no Header */
.clock-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 1px;
}

.clock-widget i {
    color: var(--accent-orange);
}

/* Botão Admin */
.btn-nav-admin {
    border: 1px solid var(--accent-orange);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: transparent;
    color: var(--accent-orange) !important;
    transition: all 0.3s ease !important;
}

.btn-nav-admin:hover,
.btn-nav-admin.active {
    background: var(--accent-orange) !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

/* Wrapper principal para compensar o header fixo */
.main-wrapper {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
}

/* Transições SPA */
.page-view {
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
}

.page-view.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(15px);
}

/* ========================================== */
/* CONTEÚDO PÚBLICO (SEÇÕES DO FEED VERTICAL) */
/* ========================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* Welcome Panel (Nova Hero) */
.welcome-panel {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-orange);
    border-radius: 16px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.welcome-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-orange-glow);
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: var(--accent-orange);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.welcome-panel h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.welcome-panel h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.25);
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--accent-orange);
    border: none;
    border-radius: 2px;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px var(--accent-orange-glow);
}

.welcome-panel p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Cabeçalho de Seção */
.section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-left: 1.2rem;
    border-left: 4px solid var(--accent-orange);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.6rem;
    padding-left: 1.2rem;
}

/* Grid de Sistemas (Coins layout) */
.systems-grid {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 3.5rem;
    padding: 1.5rem 0.5rem;
    scrollbar-width: thin;
}

.systems-grid::before,
.systems-grid::after {
    content: '';
    margin: auto;
}

.system-coin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    width: 150px;
    flex-shrink: 0;
}

.system-coin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.2rem;
    text-align: center;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.system-coin-card:hover h3 {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.system-coin {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main), 0 0 15px rgba(255, 140, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.system-coin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-orange);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px var(--accent-orange-glow);
}

.system-coin-card:hover .system-coin {
    transform: translateY(-8px) rotate(5deg);
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 140, 0, 0.35);
}

.system-coin-card:hover .system-coin::before {
    opacity: 1;
    transform: scale(1);
}

.coin-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
}

.coin-content .card-icon {
    font-size: 4rem; /* Reduzido em 50% de 4.6rem */
    color: var(--accent-orange);
    transition: all 0.3s ease;
    text-shadow: 0 0 20px var(--accent-orange-glow);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.coin-content .custom-icon-img {
    width: 100%;
    max-width: 6rem; /* Corrigido de 6 para 6rem */
    height: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

/* Description animation on hover */
.coin-desc {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: auto;
    min-height: 120px;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid var(--accent-orange);
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95), 0 0 20px var(--accent-orange-glow);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.coin-desc p {
    color: var(--text-main);
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

.system-coin-card:hover .card-icon,
.system-coin-card:hover .custom-icon-img {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

.system-coin-card:hover .coin-desc {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Diretoria Adjunta expansível */
.adjunct-toggle-indicator {
    display: none;
}

.other-directors-title {
    cursor: default;
}

/* Seção Diretoria Executiva */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.leader-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.leader-card:hover {
    border-color: rgba(255, 140, 0, 0.25);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leader-avatar-container {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

.leader-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.leader-info h4 {
    font-size: 0.85rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.leader-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

/* Filosofia (Banner Minimalista) */
.philosophy-banner {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.02) 0%, rgba(20, 20, 20, 0.4) 100%);
    border: 1px solid rgba(255, 140, 0, 0.08);
    border-radius: 16px;
    padding: 4rem;
    position: relative;
}

.philosophy-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}



.philosophy-banner blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
    font-weight: 300;
    text-align: justify;
}

/* Timeline Horizontal APMBB */
.timeline-outer {
    position: relative;
    width: 100%;
}

.timeline-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.8rem;
    padding: 1.5rem 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.timeline-item {
    min-width: 350px;
    max-width: 350px;
    height: 240px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    transition: all 0.4s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.timeline-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.65);
}

.timeline-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    padding: 1.5rem;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.timeline-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.timeline-item:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.2);
}

.timeline-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.95);
}

.timeline-item:hover .timeline-caption {
    transform: translateY(0);
}

.timeline-controls {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.timeline-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-nav-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--bg-primary);
    box-shadow: 0 0 10px var(--accent-orange-glow);
}

/* ========================================== */
/* TELA DE LOGIN (SPA CENTRADA) */
/* ========================================== */
.login-view-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 250px);
}

.login-card {
    background: linear-gradient(145deg, #0a0a0a, #111111);
    border: 1px solid #222;
    border-top: 4px solid var(--accent-orange);
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-main);
}

.login-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background-color: #050505;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.15);
}

.btn-submit {
    width: 100%;
    background: var(--accent-orange);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: #ff9d24;
    box-shadow: 0 5px 20px var(--accent-orange-glow);
    transform: translateY(-2px);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    text-align: center;
    display: none;
}

/* ========================================== */
/* PAINEL ADMIN (SPA AMPLO) */
/* ========================================== */
.admin-view-container {
    min-height: calc(100vh - 250px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.admin-header .user-info-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-header .user-name {
    font-weight: 600;
    color: var(--text-main);
}

.btn-logout {
    border: 1px solid #c0392b;
    color: #c0392b;
    background: transparent;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #c0392b;
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.4);
}

.admin-layout {
    display: flex;
    gap: 3rem;
}

.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.admin-nav-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.15);
}

.admin-nav-item.active {
    background: var(--accent-orange);
    color: var(--bg-primary);
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px var(--accent-orange-glow);
}

.admin-content {
    flex-grow: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    color: var(--accent-orange);
}

/* Estilos de Formulários no Painel */
.admin-content .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.admin-content .form-full {
    grid-column: span 2;
}

.admin-content textarea {
    resize: vertical;
    min-height: 120px;
}

/* Gestão de Sistemas Dinâmica */
.admin-systems-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-system-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.admin-system-item h4 {
    color: var(--accent-orange);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    padding-bottom: 0.5rem;
}

.btn-remove-sys {
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #e74c3c;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-remove-sys:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: var(--text-main);
}

.btn-add-sys {
    background: rgba(255, 140, 0, 0.05);
    border: 1px dashed var(--accent-orange);
    color: var(--accent-orange);
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btn-add-sys:hover {
    background: var(--accent-orange);
    color: var(--bg-primary);
    box-shadow: 0 5px 15px var(--accent-orange-glow);
}

/* Switch Checkbox Alternar Ativo */
.switch-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.switch-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    transform: scale(1.2);
}

.switch-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Notificação Flutuante Toast */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: -400px;
    background: #0a0a0a;
    border: 1px solid var(--accent-orange);
    border-left: 5px solid var(--accent-orange);
    border-radius: 8px;
    padding: 1.2rem 2rem;
    color: var(--text-main);
    box-shadow: var(--shadow-main);
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.toast-notification.show {
    right: 2rem;
}

.toast-notification.error {
    border-color: #c0392b;
    border-left-color: #c0392b;
}

.toast-notification.error i {
    color: #c0392b;
}

.toast-notification i {
    color: var(--accent-orange);
    font-size: 1.3rem;
}

/* Rodapé */
.footer-bar {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 3rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    width: 100%;
}

.footer-bar .cnpj {
    font-weight: 500;
    color: #555;
}

.footer-bar .footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.footer-bar .dev-signature {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-bar .support-btn {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-bar .support-btn:hover {
    color: #ff9d24;
    text-shadow: 0 0 8px var(--accent-orange-glow);
}

/* Upload Controls styling */
.upload-control-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.upload-control-group input[type="text"] {
    flex-grow: 1;
}

.btn-upload-ui {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-upload-ui:hover {
    background: var(--accent-orange);
    color: var(--bg-primary);
}

.icon-preview-box {
    margin-top: 0.5rem;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.image-preview-box {
    margin-top: 0.5rem;
}

/* Eventos Recentes styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 140, 0, 0.05);
}

.event-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image-container img {
    transform: scale(1.08);
}

.event-info {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.event-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
}

.custom-icon-img {
    width: 100%;
    max-width: 8rem;
    height: 5.5rem;
    display: block;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    /* Layout administrativo responsivo */
    .admin-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .admin-sidebar {
        width: 100%;
    }
    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.8rem;
        gap: 0.8rem;
        scrollbar-width: none;
    }
    .admin-nav::-webkit-scrollbar {
        display: none;
    }
    .admin-nav-item {
        padding: 0.8rem 1.2rem;
        white-space: nowrap;
        justify-content: center;
        flex-grow: 1;
    }
    .admin-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        display: flex !important;
        justify-content: center !important;
        height: 70px !important;
        padding: 0 1rem !important;
    }
    .navbar .logo-container {
        justify-content: center;
    }
    .navbar-right {
        display: none !important;
    }
    .main-wrapper {
        margin-top: 70px !important;
    }

    /* Systems Grid in 2 columns on mobile */
    .systems-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.2rem !important;
        overflow-x: visible !important;
        padding: 1.5rem 0 !important;
    }
    
    .systems-grid::before,
    .systems-grid::after {
        display: none !important;
    }

    .system-coin-card {
        width: 100% !important;
        max-width: 160px !important;
        flex-shrink: 1 !important;
    }
    
    .system-coin {
        width: 110px !important;
        height: 110px !important;
    }

    .coin-content .card-icon {
        font-size: 2.2rem !important;
    }

    .coin-content .custom-icon-img {
        max-width: 3.5rem !important;
        height: 2.4rem !important;
    }

    .coin-desc {
        width: 190px !important;
        min-height: 90px !important;
        padding: 0.6rem !important;
        box-sizing: border-box !important;
    }

    .coin-desc p {
        font-size: 0.72rem !important;
    }

    .section-container {
        padding: 2.5rem 1.2rem;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }

    .welcome-panel {
        padding: 2.5rem 1.8rem;
    }
    .welcome-panel h1 {
        font-size: 2.2rem;
    }
    .welcome-panel h2 {
        font-size: 1.4rem;
    }
    .welcome-panel p {
        font-size: 0.95rem;
        text-align: left;
    }

    .leader-card {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }
    .leader-info p {
        text-align: center;
    }

    .philosophy-banner {
        padding: 2.5rem 1.5rem;
    }
    .philosophy-banner h3 {
        font-size: 1.4rem;
    }
    .philosophy-banner blockquote {
        font-size: 1rem;
        line-height: 1.6;
    }

    .local-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .footer-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    .footer-bar .footer-info {
        align-items: center;
    }

    /* Stacks admin form grid in a single column */
    .admin-content .form-grid {
        grid-template-columns: 1fr;
    }
    .admin-content .form-group.form-full,
    .admin-content .form-group {
        grid-column: span 1;
    }

    /* Adjunct indicators and collapsed state on mobile */
    .adjunct-toggle-indicator {
        display: inline-block !important;
        transition: transform 0.3s ease;
    }

    .other-directors-title.active .adjunct-toggle-indicator {
        transform: rotate(180deg);
    }

    .other-directors-grid.collapsed-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .event-details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .event-details-header .timeline-controls {
        width: 100%;
        justify-content: flex-end;
    }
    .timeline-item {
        min-width: 280px;
        max-width: 280px;
        height: 200px;
    }
}

/* Local Tabs inside Eventos & Galeria */
.local-tabs-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.local-tab-btn {
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.local-tab-btn:hover,
.local-tab-btn.active {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: rgba(255, 140, 0, 0.05);
    text-shadow: 0 0 8px var(--accent-orange-glow);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.05);
}

.local-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.local-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.event-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 1.5rem;
}

.event-details-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.event-details-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 2rem;
}

/* Event Image Upload Grid in Admin */
.event-images-admin-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.event-image-slot {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}

.slot-preview-box {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-preview-box span {
    color: #444;
    font-size: 1.5rem;
}

.slot-controls {
    display: flex;
    gap: 0.4rem;
    width: 100%;
    justify-content: center;
}

.btn-slot-upload {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-slot-upload:hover {
    background: var(--accent-orange);
    color: var(--bg-primary);
}

.btn-slot-clear {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid #c0392b;
    color: #e74c3c;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-slot-clear:hover {
    background: #c0392b;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .event-images-admin-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .event-images-admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Grid de Diretores Adjuntos */
.other-directors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.director-mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.director-mini-card:hover {
    background: rgba(255, 140, 0, 0.03);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dir-mini-icon {
    background: rgba(255, 140, 0, 0.1);
    color: var(--accent-orange);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dir-mini-info {
    display: flex;
    flex-direction: column;
}

.dir-mini-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 1px;
}

.dir-mini-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .other-directors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .other-directors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .other-directors-grid {
        grid-template-columns: 1fr;
    }
}
