

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fontes/Inter-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fontes/Inter-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fontes/Inter-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fontes/Inter-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fontes/Inter-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fontes/Inter-800.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fontes/Outfit-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fontes/Outfit-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fontes/Outfit-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fontes/Outfit-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fontes/Outfit-800.ttf') format('truetype');
}

:root {
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme {
    --bg-primary: #060913;
    --bg-secondary: #0c1020;
    --bg-glass: rgba(12, 16, 32, 0.75);
    --bg-card: rgba(20, 26, 48, 0.4);
    --bg-card-hover: rgba(28, 36, 68, 0.6);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-cyan: #00d2ff;
    --accent-purple: #9d4edd;
    --accent-orange: #ff7b00;
    --accent-gold: #ffb703;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 210, 255, 0.3);
    --shadow-primary: rgba(0, 0, 0, 0.5);
    --shadow-glow-cyan: rgba(0, 210, 255, 0.15);
    --shadow-glow-purple: rgba(157, 78, 221, 0.15);
    --shadow-glow-orange: rgba(255, 123, 0, 0.15);
    --canvas-opacity: 0.85;
}

.light-theme {
    --bg-primary: #f1f5f9;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.6);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-cyan: #0077b6;
    --accent-purple: #7209b7;
    --accent-orange: #d946ef;
    --accent-gold: #b58300;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 119, 182, 0.3);
    --shadow-primary: rgba(148, 163, 184, 0.15);
    --shadow-glow-cyan: rgba(0, 119, 182, 0.08);
    --shadow-glow-purple: rgba(114, 9, 183, 0.08);
    --shadow-glow-orange: rgba(217, 70, 239, 0.08);
    --canvas-opacity: 0.4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

#synapse-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: var(--canvas-opacity);
    transition: opacity var(--transition-smooth);
    pointer-events: all;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.neural-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.pulse-circle {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: loaderPulse 2s infinite ease-in-out;
}

.pulse-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: loaderRing 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.loader-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.loader-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-primary);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn:active {
    transform: scale(0.98);
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px var(--shadow-glow-cyan);
}

.primary-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-cyan {
    color: var(--accent-cyan);
}

.highlight-purple {
    color: var(--accent-purple);
}

.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    background-color: var(--bg-glass);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px var(--shadow-primary);
    transition: background-color var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.top-bar {
    position: relative;
    z-index: 101;
    width: 100%;
    background-color: #0284c7;
    height: 34px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-theme .top-bar {
    background-color: #e0f2fe;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-bar-menu {
    display: flex;
    gap: 3.5rem;
    height: 100%;
}

.top-bar-menu .nav-dropdown {
    height: 100%;
    display: flex;
    align-items: center;
}

.top-bar-menu a {
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.light-theme .top-bar-menu a {
    color: #0f172a;
}

.top-bar-menu a:hover {
    opacity: 0.85;
}

.top-bar-menu .dropdown-content {
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    z-index: 1000;
}

.top-bar-menu .dropdown-content .nav-link {
    text-align: center !important;
    justify-content: center;
    cursor: default;
}

.header-container {
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 2.2rem;
    width: auto;
}

.nav-menu-container {
    padding-right: 12rem;
}

.nav-menu {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-start;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    border-bottom: 2px solid var(--accent-cyan);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    z-index: 100;
    border-radius: var(--border-radius-sm);
    flex-direction: column;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content .nav-link {
    padding: 0.8rem 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #1a1a1a !important;
}

.dropdown-content .nav-link:last-child {
    border-bottom: none;
}

.dropdown-content .nav-link:hover {
    background-color: #f0f0f0 !important;
    color: var(--accent-cyan) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.icon-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: none;
}

.light-theme .sun-icon {
    display: block;
}

.light-theme .moon-icon {
    display: none;
}

.dark-theme .sun-icon {
    display: none;
}

.dark-theme .moon-icon {
    display: block;
}

.mobile-only {
    display: none;
}

.main-content {
    margin-top: 8rem;
    min-height: calc(100vh - 8rem);
    position: relative;
    z-index: 10;
}

.section-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-bottom: 5rem;
}

.section-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
}

.hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-text-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-content {
    display: flex;
    justify-content: center;
}

.brain-illustration {
    width: 100%;
    max-width: 450px;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.15), rgba(122, 0, 223, 0.05));
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px var(--shadow-primary);
    text-align: center;
    padding: 2.5rem;
}

.brain-svg-container {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.animated-brain {
    width: 200px;
    height: 200px;
    animation: floatBrain 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.6)) drop-shadow(0 0 20px rgba(122, 0, 223, 0.4));
    object-fit: contain;
}

.card-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card-caption p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    box-shadow: 0 10px 25px var(--shadow-primary);
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.cyan-glow {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 0 0 15px var(--shadow-glow-cyan);
}

.purple-glow {
    background: rgba(157, 78, 221, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(157, 78, 221, 0.2);
    box-shadow: 0 0 15px var(--shadow-glow-purple);
}

.orange-glow {
    background: rgba(255, 123, 0, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 123, 0, 0.2);
    box-shadow: 0 0 15px var(--shadow-glow-orange);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.org-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.org-section {
    width: 100%;
}

.org-title-bar {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    border-left: 4px solid var(--accent-cyan);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.cards-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.cards-cluster.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.cards-cluster.vertical {
    flex-direction: column;
    align-items: stretch;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.member-card {
    flex: 1 1 300px;
    box-shadow: 0 8px 20px var(--shadow-primary);
}

.member-card.leader {
    border-top: 3px solid var(--accent-cyan);
    box-shadow: 0 10px 25px var(--shadow-glow-cyan);
}

.member-card.leader.purple {
    border-top: 3px solid var(--accent-purple);
    box-shadow: 0 10px 25px var(--shadow-glow-purple);
}

.member-card .role {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.member-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.member-card .tag {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.member-card.min {
    padding: 1.2rem 1.5rem;
}

.badge-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

.member-card.min.inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.cyan {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.dot.purple {
    background-color: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
}

.dot.orange {
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.dot.gold {
    background-color: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
}

.font-gold {
    color: var(--accent-gold) !important;
}

.member-card.curador {
    border-top: 3px solid var(--accent-gold);
}

.fundamental-hero {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    background: radial-gradient(circle at bottom left, rgba(0, 210, 255, 0.1), rgba(12, 16, 32, 0.3));
    margin-bottom: 4rem;
}

.fundamental-icon {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.05);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.fundamental-desc h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent-cyan);
}

.fundamental-desc p {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.grid-2-col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.column-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.values-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.value-item {
    padding: 1.5rem;
}

.value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.obj-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.8rem;
}

.obj-card .num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-purple);
    opacity: 0.8;
}

.obj-text h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.obj-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 2rem;
    margin-bottom: 3rem;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 450px;
}

.search-input-wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.search-input-wrapper input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--accent-cyan);
}

.filter-options {
    display: flex;
    gap: 0.6rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.doc-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.doc-info {
    flex: 1;
}

.doc-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.2rem;
}

.doc-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.download-link {
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.download-link:hover {
    background-color: var(--accent-cyan);
    color: #ffffff;
}

.download-link.unavailable {
    color: var(--text-secondary);
    border-color: var(--border-color);
    cursor: not-allowed;
    pointer-events: none;
}

.regimento-viewer-layout {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 2rem;
    align-items: start;
}

.regimento-sidebar {
    position: sticky;
    top: 6.5rem;
}

.regimento-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.regimento-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reg-chapter-btn {
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.reg-chapter-btn:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.reg-chapter-btn.active {
    background-color: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.regimento-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.regimento-search-box {
    position: relative;
}

.regimento-search-box svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.regimento-search-box input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}

.regimento-search-box input:focus {
    border-color: var(--accent-cyan);
}

.regimento-text {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 1rem;
}

.regimento-text::-webkit-scrollbar {
    width: 6px;
}

.regimento-text::-webkit-scrollbar-track {
    background: transparent;
}

.regimento-text::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 50px;
}

.reg-section-block {
    display: none;
}

.reg-section-block.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.reg-section-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.reg-section-block p,
.reg-section-block ul {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.reg-section-block ul {
    padding-left: 1.5rem;
    list-style-type: square;
}

.reg-section-block li {
    margin-bottom: 0.5rem;
}

.search-highlight {
    background-color: rgba(255, 183, 3, 0.4);
    border-bottom: 2px solid var(--accent-gold);
    color: #ffffff;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
}

.comite-layout {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.comite-intro {
    background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.1), rgba(12, 16, 32, 0.3));
}

.comite-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.comite-intro p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.info-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    flex-direction: column;
}

.info-badge .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.info-badge .val {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.2rem;
}

.members-collapsible-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.member-card.min.select {
    padding: 1.2rem 1.5rem;
    text-align: center;
}

.member-card.min.select h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.member-card.min.select p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ouvidoria-info-pane {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.border-left-cyan {
    border-left: 4px solid var(--accent-cyan);
}

.border-left-cyan h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.styled-list {
    margin-top: 1.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.styled-list li {
    font-size: 0.95rem;
}

.styled-list li strong {
    color: var(--accent-cyan);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 210, 255, 0.05);
}

.mail-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-card a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
}

.contact-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.form-card {
    box-shadow: 0 15px 35px var(--shadow-primary);
}

.form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.light-theme .form-group input,
.light-theme .form-group select,
.light-theme .form-group textarea {
    background-color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--shadow-glow-cyan);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' height='24' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem;
}

.light-theme .form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' height='24' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><polyline points='6 9 12 15 18 9'/></svg>");
}

.form-group textarea {
    resize: vertical;
}

.career-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: radial-gradient(circle at bottom right, rgba(0, 210, 255, 0.12), rgba(12, 16, 32, 0.3));
    margin-bottom: 4rem;
}

.career-text {
    flex: 1.2;
}

.career-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.career-text p {
    font-size: 1.05rem;
}

.career-tagline {
    flex: 0.8;
    text-align: right;
}

.career-tagline h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--shadow-glow-cyan);
}

.vacancies-section {
    margin-bottom: 4rem;
}

.no-vacancies-card {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
}

.no-vacancies-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-vacancies-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-vacancies-card p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.talent-pool-card {
    box-shadow: 0 15px 35px var(--shadow-primary);
}

.talent-pool-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-form .full-width {
    grid-column: span 2;
}

.glass-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 2.2rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-secondary);
}

.footer-details h4,
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-details p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

@media (min-width: 769px) {
    .nowrap-desktop {
        white-space: nowrap;
    }
}

.footer-details a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 25px var(--accent-cyan);
    }
}

@keyframes loaderRing {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes floatBrain {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.03);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        margin: 2rem auto 4rem;
    }

    .hero-text-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-content {
        margin: 0 auto;
        width: 100%;
        max-width: 380px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-cluster.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .regimento-viewer-layout {
        grid-template-columns: 1fr;
    }

    .regimento-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .regimento-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .members-collapsible-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1250px) {
    .nav-menu-container {
        padding-right: 0;
    }

    .mobile-only {
        display: flex;
    }

    .glass-header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 2rem);
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-md);
        box-shadow: 0 15px 30px var(--shadow-primary);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.8rem;
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
    }

    .nav-menu.mobile-active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0 0.5rem;
    }

    .top-bar-menu {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .top-bar-menu a {
        font-size: 0.88rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-text-content h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .grid-2-col,
    .grid-2-col-equal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cards-cluster.grid-3 {
        grid-template-columns: 1fr;
    }

    .members-collapsible-grid {
        grid-template-columns: 1fr;
    }

    .grid-form {
        grid-template-columns: 1fr;
    }

    .grid-form .full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 400px) {
    .top-bar-menu {
        gap: 0.9rem;
    }

    .top-bar-menu a {
        font-size: 0.8rem;
    }
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 480px;
    width: 100%;
}

.login-card {
    width: 100%;
    text-align: center;
    padding: 3rem 2.5rem;
}

.login-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-instruction {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.error-message {
    color: #ff4a4a;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

.portal-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.portal-user-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.portal-user-info .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--shadow-glow-cyan);
}

.portal-user-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.portal-user-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.portal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.portal-content-grid > div {
    min-width: 0;
}

.admin-control-card {
    grid-column: span 2;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-card .icon {
    font-size: 2.2rem;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.doc-download-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-row: span 2;
}

@media (max-width: 900px) {
    .doc-download-card {
        grid-row: auto;
    }
}

.doc-download-card .icon {
    font-size: 2.2rem;
}

.doc-download-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.doc-download-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.download-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    transition: background-color var(--transition-fast);
}

.download-list li:hover {
    background: rgba(255, 255, 255, 0.06);
}

.download-list .file-name {
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.btn-xs {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.small-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.quick-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.text-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.text-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.theme-outubro-rosa {
    --accent-cyan: #ec4899 !important; 
    --accent-purple: #db2777 !important; 
    --accent-orange: #f472b6 !important; 
    --shadow-glow-cyan: rgba(236, 72, 153, 0.25) !important;
    --shadow-glow-purple: rgba(219, 39, 119, 0.25) !important;
    --border-hover: rgba(236, 72, 153, 0.4) !important;
}

.theme-novembro-azul {
    --accent-cyan: #3b82f6 !important; 
    --accent-purple: #1d4ed8 !important; 
    --accent-orange: #60a5fa !important; 
    --shadow-glow-cyan: rgba(59, 130, 246, 0.25) !important;
    --shadow-glow-purple: rgba(29, 78, 216, 0.25) !important;
    --border-hover: rgba(59, 130, 246, 0.4) !important;
}

.campaign-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.pink-btn {
    background: linear-gradient(135deg, #f472b6, #ec4899) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3) !important;
}

.pink-btn:hover {
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.5) !important;
    transform: translateY(-2px) !important;
}

.blue-btn {
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.blue-btn:hover {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
    transform: translateY(-2px) !important;
}

.reset-theme-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

.light-theme .reset-theme-btn {
    background: rgba(0, 0, 0, 0.05) !important;
}

.reset-theme-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--text-primary) !important;
    transform: translateY(-2px) !important;
}

.light-theme .reset-theme-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

.campaign-ribbon {
    position: fixed;
    top: 5.5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    z-index: 1001; 
    pointer-events: auto; 
    animation: ribbonFloat 4s ease-in-out infinite;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.campaign-ribbon.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px) scale(0.7);
}

.campaign-ribbon svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform var(--transition-fast);
}

.campaign-ribbon:hover svg {
    transform: scale(1.15) rotate(5deg);
    cursor: pointer;
}

@keyframes ribbonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.form-select {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.light-theme .form-select {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
}

.form-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--shadow-glow-cyan);
}

.admin-members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-members-table th {
    padding: 1rem 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-cyan);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.admin-members-table td {
    padding: 1rem 0.8rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-members-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.light-theme .admin-members-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.delete-member-btn:hover {
    background-color: #ff4a4a !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 74, 74, 0.4);
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 2.8rem !important; 
}

.toggle-password {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: color var(--transition-fast);
}

.toggle-password:hover {
    color: var(--accent-cyan);
}

.toggle-password svg {
    width: 18px;
    height: 18px;
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity var(--transition-smooth);
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    padding: 2.5rem 2rem;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 1.2rem;
    top: 1rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: #ff4a4a;
}

@media (max-width: 900px) {
    .portal-content-grid {
        grid-template-columns: 1fr !important;
        align-items: stretch;
    }
    .admin-control-card {
        grid-column: span 1 !important;
    }
    .download-list li {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        text-align: center;
    }
    .download-list .file-name {
        max-width: 100%;
        white-space: normal;
    }
    .campaign-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .campaign-buttons .btn {
        width: 100% !important;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    min-width: 0;
}

.event-card { transition: transform 0.3s ease, box-shadow 0.3s ease; border-radius: 15px; border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .event-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
        .event-img { border-top-left-radius: 15px; border-top-right-radius: 15px; height: 200px; object-fit: cover; }
        .admin-controls { display: none; }

        .lightbox-modal { display: none; position: fixed; z-index: 1050; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0.9); }
        .lightbox-content { display: flex; align-items: center; justify-content: center; height: 100%; }
        .lightbox-content img, .lightbox-content video { max-width: 90%; max-height: 90%; }
        .lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; color: #fff; font-size: 40px; cursor: pointer; user-select: none; z-index: 1051; }
        .lightbox-close { top: 20px; right: 30px; }
        .lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
        .lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
        .lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: white; font-size: 18px; }
        
        .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 15px; }
        .gallery-item { width: 100%; height: 100px; object-fit: cover; cursor: pointer; border-radius: 8px; transition: 0.2s; }
        .gallery-item:hover { opacity: 0.8; }
        .delete-media-btn { position: absolute; top: 5px; right: 5px; background: red; color: white; border: none; border-radius: 50%; width: 25px; height: 25px; display: none; }
        .gallery-container { position: relative; }
        .admin-view .delete-media-btn { display: block; }

.gallery-media-grid .item {
    position: relative;
    background: #11131a;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}
.gallery-media-grid .item img, .gallery-media-grid .item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-media-grid .item:hover img, .gallery-media-grid .item:hover video {
    transform: scale(1.05);
}
.gallery-media-grid .item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.8));
    opacity: 0;
    transition: 0.3s;
}
.gallery-media-grid .item:hover::after {
    opacity: 1;
}
.gallery-media-grid .tag {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
}
.gallery-media-grid .play-icon {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    padding-left: 4px;
}
.album-card:hover {
    border-color: var(--accent-cyan) !important;
    transform: translateY(-5px) !important;
}
#gallery-viewer img, #gallery-viewer video {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.gallery-nav-btn:hover { background: rgba(255,255,255,0.4) !important; }
.gallery-filters { justify-content: center; }



.progress-sphere {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-cyan) 0%, rgba(255,255,255,0.1) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    position: relative;
}
.progress-sphere::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    border-radius: 50%;
    z-index: 0;
}
.progress-sphere span {
    z-index: 1;
}

/* --- Suporte a Submenus Infinitos --- */
.dropdown-submenu {
    position: relative;
    width: 100%;
}

/* Força a ocultar o submenu aninhado para não herdar o hover do menu principal */
.dropdown-submenu > .dropdown-content {
    display: none !important;
    top: 0;
    left: 100%; 
    margin-top: -0.5rem;
    margin-left: 1px;
}

/* Mostra apenas quando o próprio submenu for sobreposto pelo mouse */
.dropdown-submenu:hover > .dropdown-content {
    display: flex !important;
}

.has-submenu {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.has-submenu::after {
    content: "▶";
    font-size: 0.6rem;
    color: inherit;
    opacity: 0.5;
}

/* --- Ajuste de largura e quebra de texto dos submenus --- */
.dropdown-content {
    min-width: 180px !important; 
    max-width: 250px !important; 
}

.dropdown-content .nav-link {
    white-space: normal !important; /* Permite quebrar o texto em várias linhas */
    word-wrap: break-word; /* Força a quebra se a palavra for muito grande */
    line-height: 1.3; /* Ajusta o espaçamento das linhas quebradas para não ficar tão solto */
}
