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

/* ====================================================================
   THE FORUM - THE DESIGN SYSTEM TOKENS (OFFICIAL BRAND SYSTEM)
   ==================================================================== */

:root {
    /* Backgrounds - Elite Deep Institutional Petroleum & Slate (No pure blacks) */
    --bg-main: #071018;          /* Primary deep background */
    --bg-deep: #050b11;          /* Deepest base layer for headers/footers */
    --bg-panel: #0d1822;         /* Standard panel card container */
    --bg-soft: #13202b;          /* Highlight block background */

    /* Brand Accents - Low-saturation elite champagne / bronze */
    --gold: #c5a880;             /* Primary matte champagne gold */
    --gold-soft: #d6c19a;        /* Soft highlight bronze */
    --gold-dark: #8f7652;        /* Darker structural bronze */

    /* Action Signals - High-end, muted tensional highlights (No neon) */
    --blue-glow: #38bdf8;        /* Slate / steel highlight blue */
    --green-action: #34d399;     /* Strategic alert muted green */

    /* Typography Colors */
    --text-main: #f5f7fa;        /* Soft premium off-white */
    --text-muted: #9ca8b4;       /* Balanced slate-gray */

    /* Structural Radii (Rigid yet sophisticated) */
    --radius-sm: 8px;            /* Standard buttons, tags, placards */
    --radius-md: 14px;           /* Cards and primary panels */
    --radius-lg: 22px;           /* Smooth structural containers */

    /* Motion Transitions */
    --transition-fast: 180ms ease;
    --transition-medium: 320ms ease;
    
    /* Global Shadow & Glow (Extremely lightweight, zero HUD clutter) */
    --border-invisible: rgba(197, 168, 128, 0.1);
    --border-subtle: rgba(156, 168, 180, 0.28);
    --shadow-premium: 0 12px 40px rgba(5, 11, 17, 0.4);
}

.plan-audience-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.65rem;
    padding: 0.24rem 0.55rem;
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.22);
    background: rgba(197, 168, 128, 0.08);
    color: var(--gold-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.plan-audience-badge-corporate {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(52, 211, 153, 0.06);
    color: var(--green-action);
}

.eco-node-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gold-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* ====================================================================
   GLOBAL TYPOGRAPHY & LAYOUT (BLOOMBERG EDITORIAL LOOK)
   ==================================================================== */

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* Raised for superior editorial readability (Bloomberg feel) */
    font-weight: 300;
    line-height: 1.8; /* Relaxed for reading comfort */
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.6rem;
    font-weight: 650; /* Sophisticated variable weight */
    line-height: 1.08; /* Imposing editorial rhythm */
    letter-spacing: -0.035em; /* Elegant condensed tracking */
    max-width: 920px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.25;
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.6rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

p {
    color: var(--text-muted);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-soft);
}

/* Spacing & Negative Space */
section {
    padding: 4.8rem 0; /* Balanced vertical breathing room, reduced excess gap */
    position: relative;
}

/* Elegant, fine grid dot pattern */
.grid-dots-bg {
    background-image: radial-gradient(rgba(156, 168, 180, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ====================================================================
   FLOATING GLASS PANELS (REDUCED GLOW, EXTREME SILENCE)
   ==================================================================== */

.glass-premium {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-medium);
}

.glass-premium-hover:hover {
    border-color: rgba(197, 168, 128, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium), 0 10px 30px rgba(197, 168, 128, 0.015);
}

/* ====================================================================
   EXECUTIVE BUTTONS
   ==================================================================== */

.btn-premium-gold {
    background-color: var(--gold);
    color: var(--bg-deep) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.1);
}

.btn-premium-gold:hover {
    background-color: transparent;
    color: var(--gold) !important;
    box-shadow: none;
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--text-main) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(197, 168, 128, 0.4);
    border-radius: var(--radius-sm);
    transition: var(--transition-medium);
}

.btn-premium-outline:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
}

.btn-premium-sm {
    padding: 0.55rem 1.4rem;
    font-size: 0.75rem;
}

/* ====================================================================
   HEADER & NAVIGATION
   ==================================================================== */

.header-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Soft dark microgradient + blur */
    background: linear-gradient(180deg, rgba(5, 11, 17, 0.8) 0%, rgba(7, 16, 24, 0.7) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* Border almost invisible initially */
    border-bottom: 1px solid rgba(197, 168, 128, 0.04);
    padding: 1.15rem 0;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: visible;
}

/* Occasional luxury sheen sweep across the header */
.header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.02) 50%, transparent);
    pointer-events: none;
    z-index: -1;
}

/* Soft champagne-gold ambient glows shifting position slowly when scrolled */
.header-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 50%, rgba(197, 168, 128, 0.06), transparent 25%),
        radial-gradient(circle at 75% 50%, rgba(197, 168, 128, 0.05), transparent 28%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-scrolled {
    background: linear-gradient(180deg, rgba(5, 11, 17, 0.96) 0%, rgba(7, 16, 24, 0.90) 100%);
    border-bottom: 1px solid rgba(197, 168, 128, 0.09) !important;
    box-shadow: 0 4px 30px rgba(5, 11, 17, 0.4);
}

.header-scrolled::before {
    animation: luxurySweep 22s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.header-scrolled::after {
    opacity: 1;
    animation: luxuryRandomPulse 18s ease-in-out infinite alternate;
}

@keyframes luxurySweep {
    0% {
        left: -100%;
    }
    10% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

@keyframes luxuryRandomPulse {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 50% 0%;
    }
}

/* Brand logo sizing - completely fixed, zero layout shifts */
.header-premium img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: none; /* Stable, zero shift */
}

/* Nav Menu Styling */
.nav-link-premium {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    letter-spacing: 0.03em;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: var(--text-main) !important;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.1rem;
    right: 1.1rem;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
    transform: scaleX(1);
}

/* Search bar styling */
.header-search {
    background: rgba(13, 24, 34, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    outline: none;
    transition: var(--transition-fast);
}

.header-search:focus {
    border-color: var(--gold);
    background: rgba(13, 24, 34, 0.8);
}

/* ====================================================================
   HERO ESTRATÉGICO (SILENT & SPACIOUS)
   ==================================================================== */

.hero-section {
    padding-top: 10.5rem;
    padding-bottom: 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.micro-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
    display: inline-block;
}

.indicator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem;
    margin: 2.5rem 0;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.indicator-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--gold-dark);
    display: inline-block;
}

/* Next Theme Mini Placard */
.placard-next-forum {
    border-left: 1px solid var(--gold-dark);
    padding-left: 1.4rem;
    margin-top: 3rem;
}

.placard-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-glow);
    margin-bottom: 5px;
    font-weight: 600;
}

.placard-theme {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Hero Right Side - Interactive Radar & Maps */
.radar-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ultra transparent world map overlay */
.map-svg-overlay {
    position: absolute;
    width: 120%;
    height: 120%;
    opacity: 0.02; /* Reduced opacity */
    pointer-events: none;
    z-index: 1;
}

.radar-canvas-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-cards-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Frost Floating Cards (Lighter, Elegant glass plaques) */
.float-card {
    position: absolute;
    background: rgba(13, 24, 34, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 168, 128, 0.15); /* Sleek, legible gold-tinged border */
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.3rem;
    width: 220px;
    pointer-events: auto;
    animation: floatSlow 10s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(5, 11, 17, 0.25);
    /* Ultra-smooth transitions for active scanning sweep */
    transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active scan state: breathing illumination locked in target lock */
.float-card.active-glow {
    animation-play-state: paused;
    border-color: rgba(197, 168, 128, 0.75) !important;
    background-color: rgba(19, 32, 43, 0.85) !important;
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.28), 0 8px 32px rgba(5, 11, 17, 0.5) !important;
    transform: scale(1.04) translateY(-3px) !important;
}

.float-card-1 {
    top: 18%;
    right: 3%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 38%;
    left: 0%;
    animation-delay: 2.5s;
}

.float-card-3 {
    bottom: 12%;
    right: 5%;
    animation-delay: 5s;
}

/* Floating animation definitions */
@keyframes floatSlow {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-card-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--gold-soft);
    text-transform: uppercase;
    font-weight: 600;
}

.float-card-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 4px;
    line-height: 1.35;
}

/* ====================================================================
   AUTHORITY STRIP
   ==================================================================== */

.authority-strip {
    background-color: rgba(5, 11, 17, 0.35);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.8rem 0;
}

.strip-item {
    border-right: 1px solid var(--border-subtle);
    padding: 0 1.8rem;
}

.strip-item:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .strip-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.8rem 0;
    }
    .strip-item:last-child {
        border-bottom: none;
    }
}

.strip-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.strip-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main);
    margin-top: 6px;
    font-weight: 600;
}

.strip-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.45;
}

/* ====================================================================
   SINAIS ESTRATÉGICOS (INTELLIGENCE FEED - EDITORIAL LAYOUT)
   ==================================================================== */

.feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    margin-top: 4rem;
}

@media (max-width: 767px) {
    .feed-grid {
        grid-template-columns: 1fr;
    }
}

.brief-card {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(197, 168, 128, 0.18); /* Sleek champagne top rule */
    padding-top: 1.6rem;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-medium);
}

.brief-card:hover {
    border-top-color: rgba(197, 168, 128, 0.55); /* Elegant header line highlight */
    transform: none; /* Highly stable layout */
    box-shadow: none;
}

.brief-img-container {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* Tiny, elegant editorial radius */
    margin-bottom: 1.2rem;
}

@media (max-width: 767px) {
    .brief-img-container {
        height: 165px;
    }
}

.brief-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 16, 24, 0.05) 0%, rgba(7, 16, 24, 0.7) 100%);
    z-index: 2;
}

.brief-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.15) brightness(0.55); /* Faded and quiet default */
    transition: var(--transition-medium);
}

.brief-card:hover .brief-img {
    filter: grayscale(80%) contrast(1.15) brightness(0.7); /* Subtle editorial awakening */
}

.brief-body {
    padding: 0; /* Fully borderless, zero padding clutter */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 3;
}

.brief-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-soft);
    margin-bottom: 0.75rem;
}

.brief-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.42;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.brief-card:hover .brief-title {
    color: var(--gold-soft); /* Restrained, high elegance */
}

.brief-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(156, 168, 180, 0.06);
    padding-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.brief-relevance {
    display: flex;
    align-items: center;
    gap: 5px;
}

.relevance-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.relevance-high {
    color: var(--gold-soft);
}

.relevance-high .relevance-bullet {
    background-color: var(--gold);
}

/* ====================================================================
   RADAR ESTRATÉGICO (PREMIUM TABLE STYLE)
   ==================================================================== */

.table-responsive-premium {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

/* Custom premium horizontal scrollbar */
.table-responsive-premium::-webkit-scrollbar {
    height: 6px;
}
.table-responsive-premium::-webkit-scrollbar-track {
    background: rgba(7, 14, 20, 0.5);
    border-radius: var(--radius-sm);
}
.table-responsive-premium::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-sm);
}
.table-responsive-premium::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 168, 128, 0.45);
}

.table-premium {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-main);
    vertical-align: middle;
    border-collapse: collapse;
}

.table-premium th {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 1rem 0.7rem; /* Reduced horizontal spacing to prevent scroll */
    border-bottom: 2px solid rgba(197, 168, 128, 0.3); /* Premium gold accent line */
    background-color: rgba(13, 24, 34, 0.45);
}

.table-premium td {
    padding: 1rem 0.7rem; /* Reduced padding */
    border-bottom: 1px solid rgba(197, 168, 128, 0.15); /* Visible gold/champagne line weight */
    font-size: 0.82rem;
    color: var(--text-main);
}

.table-premium tr:nth-child(even) td {
    background-color: rgba(197, 168, 128, 0.02); /* Elegant zebra striping tint */
}

.table-premium tr:last-child td {
    border-bottom: none;
}

.table-premium tr {
    transition: var(--transition-fast);
}

.table-premium tr:hover td {
    background-color: rgba(19, 32, 43, 0.35);
}

/* Discrete Tags */
.tag-area {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background-color: rgba(156, 168, 180, 0.08);
    padding: 2px 6px; /* Compact padding */
    border-radius: 3px;
    display: inline-block;
}

.tag-relevance {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 5px; /* Compact padding */
    border-radius: 3px;
}

.relevance-alta-tag {
    color: var(--gold-soft);
    background-color: rgba(197, 168, 128, 0.06);
    border: 1px solid rgba(197, 168, 128, 0.12);
}

.relevance-media-tag {
    color: var(--text-muted);
    background-color: rgba(156, 168, 180, 0.05);
    border: 1px solid rgba(156, 168, 180, 0.1);
}

.tag-access {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-access svg {
    width: 9px;
    height: 9px;
    fill: currentColor;
}

.access-premium {
    color: var(--gold-soft);
}

.access-public {
    color: var(--text-muted);
}

/* Responsive Table Adjustments to prevent horizontal scrolling on medium/large screens */
@media (max-width: 1440px) {
    .table-premium th {
        padding: 0.8rem 0.5rem;
        font-size: 0.7rem;
    }
    .table-premium td {
        padding: 0.8rem 0.5rem;
        font-size: 0.78rem;
    }
    .tag-area,
    .tag-relevance,
    .tag-access {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
}

@media (max-width: 1200px) {
    .table-premium th {
        padding: 0.7rem 0.4rem;
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }
    .table-premium td {
        padding: 0.7rem 0.4rem;
        font-size: 0.74rem;
    }
    .tag-area,
    .tag-relevance,
    .tag-access {
        font-size: 0.6rem;
        padding: 2px 3px;
    }
    .favorite-count {
        font-size: 0.7rem !important;
    }
    .btn-favorite-toggle svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 992px) {
    .table-premium th {
        padding: 0.6rem 0.3rem;
        font-size: 0.6rem;
    }
    .table-premium td {
        padding: 0.6rem 0.3rem;
        font-size: 0.7rem;
    }
    .tag-area,
    .tag-relevance,
    .tag-access {
        font-size: 0.55rem;
        padding: 1px 2px;
    }
}

/* Search bar control panel */
.radar-search-container {
    margin-bottom: 2.2rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.radar-filter-select {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.radar-filter-select:focus {
    border-color: var(--gold);
}

.radar-search-input {
    flex-grow: 1;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
}

.radar-search-input:focus {
    border-color: var(--gold);
}

/* ====================================================================
   ECOSSISTEMA CONECTADO (THE SIGNATURE GRAPHO)
   ==================================================================== */

.ecosystem-container {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4.5rem;
}

.ecosystem-svg-net {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Curving graph connection threads (A living strategic network) */
.net-path {
    stroke: var(--text-muted);
    stroke-width: 1.1px; /* Slightly thicker gray lines as requested */
    stroke-opacity: 0.32; /* Stronger gray visibility */
    fill: none;
    stroke-dasharray: 6 6; /* Clean dash intervals */
    animation: netSignalFlow 40s linear infinite; /* Exceptionally slow, optimized signal flow */
    transition: var(--transition-medium);
}

.net-path.active {
    stroke: var(--gold);
    stroke-width: 1.25px;
    stroke-opacity: 0.65; /* Highly elegant hover connection */
    stroke-dasharray: none; /* Solidifies into a warm gold line on hover */
    animation: none; /* Locked connection */
}

@keyframes netSignalFlow {
    to {
        stroke-dashoffset: -200;
    }
}

.ecosystem-center {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shield-logo-wrap {
    width: 90px;
    height: 90px;
    background-color: var(--bg-main);
    border: 1.5px solid var(--gold); /* Thicker and clearer gold border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(5, 11, 17, 0.4);
    z-index: 4;
}

.shield-logo-wrap img {
    width: 80px; /* Tested: fills the circle beautifully */
    height: 80px;
    object-fit: contain;
    transition: var(--transition-medium);
}

.shield-logo-wrap:hover img {
    transform: scale(1.06);
}

.ecosystem-center-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    color: var(--gold); /* Original champagne gold color by default */
    text-transform: uppercase;
    margin-top: 16px;
    text-align: center;
    display: inline-block;
    transition: var(--transition-medium);
}

/* Illuminates when hovered over the icon/circle container OR directly over the text */
.ecosystem-center:hover .ecosystem-center-label,
.ecosystem-center-label:hover {
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(197, 168, 128, 0.85);
}

/* Ecosystem nodes */
.eco-node {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-medium);
}

/* Specialist avatar appearance */
.eco-node-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-panel);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-medium);
}

.eco-node-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.15) brightness(0.85); /* Premium grayscale */
    transition: var(--transition-medium);
}

.eco-node-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 6px;
    text-shadow: 0 2px 4px rgba(5, 11, 17, 0.8);
    transition: var(--transition-fast);
}

.eco-node-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-shadow: 0 2px 4px rgba(5, 11, 17, 0.8);
    text-align: center;
    max-width: 120px;
}

/* Node Hovers */
.eco-node:hover .eco-node-avatar {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.1);
    transform: scale(1.05);
}

.eco-node:hover .eco-node-avatar img {
    filter: grayscale(60%) contrast(1.15) brightness(0.95);
}

.eco-node:hover .eco-node-label {
    color: var(--gold);
}

/* Positioning grids */
.node-pos-1 { top: 10%; left: 24%; }
.node-pos-2 { top: 6%; right: 24%; }
.node-pos-3 { top: 48%; right: 12%; }
.node-pos-4 { bottom: 10%; right: 26%; }
.node-pos-5 { bottom: 10%; left: 26%; }
.node-pos-6 { top: 48%; left: 12%; }

/* ====================================================================
   PRÓXIMO FÓRUM EM DESTAQUE
   ==================================================================== */

.forum-highlight {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4rem; /* Extensive internal padding */
}

.forum-mediator-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid rgba(156, 168, 180, 0.08);
    padding-top: 1.8rem;
    margin-top: 2rem;
}

.mediator-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gold-dark);
    overflow: hidden;
    filter: grayscale(100%) contrast(1.1) brightness(0.85);
}

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

.speaker-avatar-pile {
    display: flex;
    align-items: center;
}

.speaker-pile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--bg-panel);
    object-fit: cover;
    margin-left: -10px;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

.speaker-pile-img:first-child {
    margin-left: 0;
}

.speaker-pile-plus {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    border: 2px solid var(--bg-panel);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
}

/* ====================================================================
   SUBSCRIPTION PLAN CARDS (GLASS PANELS)
   ==================================================================== */

.plan-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.plan-card-featured {
    border: 1px solid var(--gold-dark);
    box-shadow: 0 10px 40px rgba(5, 11, 17, 0.5);
}

.plan-header {
    border-bottom: 1px solid rgba(156, 168, 180, 0.08);
    padding-bottom: 1.8rem;
    margin-bottom: 2rem;
}

.plan-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 12px;
    white-space: nowrap;
}

.plan-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 8px;
    text-align: left;
}

.plan-features li svg {
    width: 14px;
    height: 14px;
    fill: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ====================================================================
   MODALS & REGISTRATION FORMS
   ==================================================================== */

.modal-content-premium {
    background-color: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    color: var(--text-main);
}

.modal-header-premium {
    border-bottom: 1px solid rgba(156, 168, 180, 0.08);
    padding: 1.5rem 2.2rem;
}

.modal-body-premium {
    padding: 2.2rem;
}

.form-group-premium {
    margin-bottom: 1.6rem;
}

.form-label-premium {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-glow);
    margin-bottom: 7px;
    display: block;
}

.form-control-premium {
    background-color: rgba(13, 24, 34, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 0.8rem 1.3rem;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-control-premium::placeholder {
    color: rgba(156, 168, 180, 0.65) !important;
    opacity: 1 !important;
}

.form-control-premium:focus {
    border-color: var(--gold);
    background-color: rgba(13, 24, 34, 0.85);
    color: var(--text-main);
    box-shadow: none;
}

/* ====================================================================
   TOASTS (GLASS STYLE SUCCESS NOTIFICATIONS)
   ==================================================================== */

.toast-premium {
    position: fixed;
    bottom: 2.2rem;
    left: 50%;
    z-index: 1100;
    background: rgba(13, 24, 34, 0.95);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-sm);
    padding: 1.1rem 2rem;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    transition: var(--transition-medium);
}

.toast-premium.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--gold);
    font-size: 1.25rem;
}

/* ====================================================================
   FOOTER INSTITUCIONAL
   ==================================================================== */

.footer-premium {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem 0; /* Reduced footer vertical padding */
}

.footer-premium img {
    height: 52px !important; /* Constrain massive footer logo, slightly larger as requested */
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.footer-premium img:hover {
    opacity: 1.0;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    margin-bottom: 1.6rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 4.5rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(156, 168, 180, 0.05);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ====================================================================
   RESPONSIVE DESIGN REFINEMENTS & MOBILE OFFCANVAS DRAWER
   ==================================================================== */

/* Prevent premium button text from wrapping */
.btn-premium-gold,
.btn-premium-outline {
    white-space: nowrap !important;
}

.btn-premium-gold.w-100,
.btn-premium-outline.w-100,
.btn-premium-gold.btn-wrap,
.btn-premium-outline.btn-wrap {
    white-space: normal !important;
}

/* Toggler button for Mobile Menu */
.navbar-toggler-premium {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.navbar-toggler-premium:hover {
    color: var(--gold);
}

/* Offcanvas Premium Drawer Styling */
.offcanvas-premium {
    background: rgba(7, 16, 24, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(197, 168, 128, 0.1) !important;
    width: 290px !important;
    box-shadow: -10px 0 40px rgba(5, 11, 17, 0.6);
}

.offcanvas-premium .offcanvas-header {
    border-bottom: 1px solid rgba(156, 168, 180, 0.08);
    padding: 1.5rem;
}

.offcanvas-premium .offcanvas-body {
    padding: 2rem 1.5rem;
}

/* Mobile Nav Links */
.nav-link-mobile {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(156, 168, 180, 0.04);
    display: block;
    transition: var(--transition-fast);
}

.nav-link-mobile:hover {
    color: var(--gold);
    padding-left: 6px;
}

/* Responsive Scaling for Logo on Viewports < 1200px */
@media (max-width: 1199px) {
    .header-premium img {
        height: 32px !important;
    }
}

/* ====================================================================
   LANGUAGE SELECTOR (PREMIUM PUBLIC COMBOBOX DROPDOWN)
   ==================================================================== */
.btn-premium-lang-dropdown {
    background: rgba(13, 24, 34, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.45rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.btn-premium-lang-dropdown:hover,
.btn-premium-lang-dropdown:focus,
.btn-premium-lang-dropdown[aria-expanded="true"] {
    border-color: var(--gold);
    color: var(--gold-soft);
    background: rgba(13, 24, 34, 0.8);
}

/* Custom downward caret arrow that matches the premium system */
.btn-premium-lang-dropdown::after {
    display: inline-block;
    margin-left: 0.25em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform var(--transition-fast);
}

.btn-premium-lang-dropdown[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-menu-premium {
    background: rgba(7, 16, 24, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 168, 128, 0.15) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-premium) !important;
    padding: 0.4rem 0 !important;
    min-width: 140px !important;
}

.dropdown-menu-premium .dropdown-item {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted) !important;
    padding: 0.5rem 1.1rem !important;
    transition: var(--transition-fast);
}

.dropdown-menu-premium .dropdown-item:hover {
    color: var(--gold-soft) !important;
    background: rgba(197, 168, 128, 0.05) !important;
}

.dropdown-menu-premium .dropdown-item.active,
.dropdown-menu-premium .dropdown-item:active {
    color: var(--gold) !important;
    background: rgba(197, 168, 128, 0.08) !important;
    text-shadow: 0 0 8px rgba(197, 168, 128, 0.45);
}

/* Intermediate screens layout optimization to prevent header break */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nav-link-premium {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.8rem;
    }
}

/* ====================================================================
   SPOTLIGHT SEARCH SYSTEM (PREMIUM DESIGN SYSTEM ADDITION)
   ==================================================================== */

.spotlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12vh;
    animation: spotlightFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.spotlight-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 17, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 1;
}

.spotlight-container {
    width: 100%;
    max-width: 820px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    animation: spotlightSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.spotlight-card {
    background-color: var(--bg-deep);
    border: 1px solid rgba(197, 168, 128, 0.22);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(5, 11, 17, 0.7), 0 0 40px rgba(197, 168, 128, 0.03);
    overflow: hidden;
    position: relative;
}

/* Glassmorphism subtle overlay reflection */
.spotlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 10;
}

/* Search Input Section */
.spotlight-header-wrap {
    display: flex;
    align-items: center;
    padding: 1.4rem 1.8rem;
    background-color: rgba(13, 24, 34, 0.4);
    border-bottom: 1px solid rgba(156, 168, 180, 0.08);
}

.spotlight-search-icon {
    color: var(--gold-soft);
    margin-right: 1.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(197, 168, 128, 0.25));
}

.spotlight-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.spotlight-input::placeholder {
    color: rgba(156, 168, 180, 0.45);
}

.spotlight-close-badge {
    background-color: rgba(156, 168, 180, 0.08);
    border: 1px solid rgba(156, 168, 180, 0.15);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.spotlight-close-badge:hover {
    background-color: rgba(197, 168, 128, 0.1);
    border-color: var(--gold);
    color: var(--gold-soft);
}

/* Dynamic pulsing loader */
.spotlight-loader-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    background-size: 200% 100%;
    opacity: 0;
    position: relative;
    top: -1px;
}

.spotlight-loader-line.loading {
    opacity: 1;
    animation: spotlightPulse 1.2s linear infinite;
}

/* Category Filters (Tabs) */
.spotlight-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background-color: rgba(13, 24, 34, 0.2);
    border-bottom: 1px solid rgba(156, 168, 180, 0.05);
}

.spotlight-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.spotlight-tab:hover {
    color: var(--text-main);
    background-color: rgba(156, 168, 180, 0.05);
}

.spotlight-tab.active {
    color: var(--gold);
    background-color: rgba(197, 168, 128, 0.06);
    border: 1px solid rgba(197, 168, 128, 0.15);
}

/* Trending tags section */
.spotlight-trends-section {
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid rgba(156, 168, 180, 0.04);
}

.trends-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.75rem;
}

.trends-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.trend-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    background-color: rgba(13, 24, 34, 0.6);
    border: 1px solid rgba(156, 168, 180, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.trend-tag:hover {
    color: var(--gold-soft);
    background-color: rgba(197, 168, 128, 0.04);
    border-color: rgba(197, 168, 128, 0.25);
    transform: translateY(-1px);
}

/* Search results listing */
.spotlight-results-scroll {
    max-height: 480px;
    overflow-y: auto;
    padding: 1.4rem 1.8rem;
}

/* Custom Scrollbar for Results */
.spotlight-results-scroll::-webkit-scrollbar {
    width: 6px;
}

.spotlight-results-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.spotlight-results-scroll::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.15);
    border-radius: 3px;
}

.spotlight-results-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 168, 128, 0.3);
}

/* Results Grid Layout (Innovative columns / segmented block style) */
.spotlight-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spotlight-category-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    animation: itemSlideUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.spotlight-category-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(156, 168, 180, 0.05);
}

.category-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-radar { background-color: var(--gold); }
.dot-forums { background-color: var(--blue-glow); }
.dot-insights { background-color: var(--green-action); }

.category-title {
    color: var(--text-muted);
}

/* Custom Result Card */
.spotlight-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 24, 34, 0.3);
    border: 1px solid rgba(156, 168, 180, 0.06);
    border-radius: var(--radius-sm);
    padding: 1rem 1.3rem;
    transition: var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.spotlight-card-item:hover {
    background-color: rgba(19, 32, 43, 0.85);
    border-color: rgba(197, 168, 128, 0.28);
    box-shadow: 0 4px 15px rgba(5, 11, 17, 0.4), 0 0 10px rgba(197, 168, 128, 0.02);
    transform: translateX(4px);
}

.spotlight-card-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    padding-right: 1.2rem;
}

.spotlight-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.35;
    transition: var(--transition-fast);
}

.spotlight-card-item:hover .spotlight-card-title {
    color: var(--gold-soft);
}

.spotlight-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-meta-divider {
    color: rgba(156, 168, 180, 0.15);
}

.spotlight-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.spotlight-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: 3px;
}

.spotlight-badge-primary {
    background-color: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.15);
    color: var(--gold-soft);
}

/* Empty state design */
.spotlight-empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    animation: itemSlideUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.empty-icon-wrap {
    color: var(--gold-dark);
    opacity: 0.45;
    margin-bottom: 1.2rem;
}

.empty-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.empty-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Animations */
@keyframes spotlightFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spotlightSlideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes itemSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spotlightPulse {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Responsive adjustment for search modal on small viewports */
@media (max-width: 767.98px) {
    .spotlight-overlay {
        padding-top: 5vh;
    }
    
    .spotlight-card {
        border-radius: var(--radius-sm);
    }
    
    .spotlight-header-wrap {
        padding: 1rem 1.2rem;
    }
    
    .spotlight-input {
        font-size: 1.1rem;
    }
    
    .spotlight-tabs {
        padding: 0.6rem 1.2rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .spotlight-tab {
        padding: 0.35rem 0.75rem;
    }
    
    .spotlight-trends-section {
        padding: 1rem 1.2rem;
    }
    
    .spotlight-results-scroll {
        padding: 1rem 1.2rem;
        max-height: 70vh;
    }
    
    .spotlight-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0.9rem 1.1rem;
    }
    
    .spotlight-card-right {
        align-self: flex-end;
    }
}

/* Responsive adjustments to keep the navigation menu visible and elegant on laptop screens (between 992px and 1399.98px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .nav-link-premium {
        font-size: 0.78rem;
        padding: 0.4rem 0.68rem !important;
        letter-spacing: 0.02em;
    }
    
    .nav-link-premium::after {
        left: 0.68rem;
        right: 0.68rem;
    }
    
    .header-premium .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .header-premium img {
        height: 30px;
    }
    
    .header-premium .gap-2, .header-premium .gap-md-3 {
        gap: 0.6rem !important;
    }
    
    .btn-premium-sm {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.74rem !important;
        letter-spacing: 0.06em !important;
    }
    
    .btn-premium-lang-dropdown {
        font-size: 0.74rem !important;
        padding: 0.45rem 0.75rem !important;
    }
}

/* Premium active/hover state for favorite star toggle buttons */
.btn-favorite-toggle {
    transition: var(--transition-fast) !important;
}
.btn-favorite-toggle:hover {
    color: var(--gold-soft) !important;
    transform: scale(1.15);
}
.btn-favorite-toggle .fav-icon {
    color: var(--gold) !important;
}

/* ====================================================================
   MOBILE RESPONSIVE TABLES & CARDS (Viewport <= 767px)
   ==================================================================== */
@media (max-width: 767px) {
    /* 1. Common table-premium responsive adjustments for all tables */
    .table-premium, 
    .table-premium tbody, 
    .table-premium tr, 
    .table-premium td {
        display: block !important;
        width: 100% !important;
    }
    .table-premium thead {
        display: none !important;
    }
    .table-premium tr {
        margin-bottom: 1.5rem !important;
        background: rgba(13, 24, 34, 0.45) !important;
        border: 1px solid rgba(197, 168, 128, 0.12) !important;
        border-radius: 8px !important;
        padding: 1.25rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    .table-premium tr:hover td {
        background-color: transparent !important;
    }
    .table-premium td {
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid rgba(156, 168, 180, 0.06) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 0.82rem !important;
        text-align: right !important;
    }
    .table-premium td:last-child {
        border-bottom: none !important;
    }
    .table-premium td[data-label]::before {
        content: attr(data-label);
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
        margin-right: 15px;
        text-align: left;
    }

    /* 2. Specific styles for index.php Radar table */
    #radarTableBody td:nth-child(1)::before {
        content: "Área";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarTableBody td:nth-child(2) {
        display: block !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(156, 168, 180, 0.1) !important;
        padding: 0.8rem 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
    #radarTableBody td:nth-child(3)::before {
        content: "Órgão";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarTableBody td:nth-child(4)::before {
        content: "Prazo";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarTableBody td:nth-child(5)::before {
        content: "Relevância";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarTableBody td:nth-child(6)::before {
        content: "Acesso";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarTableBody td:nth-child(7) {
        border-top: 1px solid rgba(156, 168, 180, 0.1) !important;
        padding-top: 0.8rem !important;
        margin-top: 0.4rem !important;
    }
    #radarTableBody td:nth-child(7)::before {
        content: "Favoritos";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }

    /* 3. Specific styles for my-area.php Subscribed Forums table */
    #subscribedForumsTable tbody td:nth-child(1) {
        display: block !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(156, 168, 180, 0.1) !important;
        padding: 0.8rem 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
    #subscribedForumsTable tbody td:nth-child(2)::before {
        content: "Data & Horário";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #subscribedForumsTable tbody td:nth-child(3)::before {
        content: "Modalidade";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #subscribedForumsTable tbody td:nth-child(4)::before {
        content: "Status";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }

    /* 4. Specific styles for my-area.php Radar Favorites table */
    #radarFavoritesTable tbody td:nth-child(1)::before {
        content: "Área";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarFavoritesTable tbody td:nth-child(2) {
        display: block !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(156, 168, 180, 0.1) !important;
        padding: 0.8rem 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
    #radarFavoritesTable tbody td:nth-child(3)::before {
        content: "Órgão";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarFavoritesTable tbody td:nth-child(4)::before {
        content: "Prazo";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarFavoritesTable tbody td:nth-child(5)::before {
        content: "Acesso";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
    #radarFavoritesTable tbody td:nth-child(6) {
        border-top: 1px solid rgba(156, 168, 180, 0.1) !important;
        padding-top: 0.8rem !important;
        margin-top: 0.4rem !important;
    }
    #radarFavoritesTable tbody td:nth-child(6)::before {
        content: "Remover";
        font-family: 'Outfit', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }

    /* 5. Stack Search Bar elements on mobile */
    .radar-search-container {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: stretch !important;
    }
    .radar-search-container input, 
    .radar-search-container select {
        width: 100% !important;
    }
}

/* Explicit high-contrast styling for the favorite counter */
.favorite-count {
    color: var(--text-main) !important;
    font-weight: 600;
}

/* Global legibility override for Bootstrap's .text-muted on dark-slate themes */
.text-muted {
    color: var(--text-muted) !important;
}

/* Interest Status Button Premium Colors */
.btn-interest-interested,
.btn-interest-not_interested,
.btn-interest-not_evaluated {
    width: 145px !important;
    display: inline-flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.btn-interest-interested {
    color: #10b981 !important; /* Premium Emerald/Green */
    border-color: rgba(16, 185, 129, 0.45) !important;
    background-color: rgba(16, 185, 129, 0.08) !important;
}
.btn-interest-interested:hover, .btn-interest-interested:focus {
    color: #ffffff !important;
    border-color: #10b981 !important;
    background-color: #10b981 !important;
}

.btn-interest-not_interested {
    color: #f43f5e !important; /* Premium Rose/Red */
    border-color: rgba(244, 63, 94, 0.45) !important;
    background-color: rgba(244, 63, 94, 0.08) !important;
}
.btn-interest-not_interested:hover, .btn-interest-not_interested:focus {
    color: #ffffff !important;
    border-color: #f43f5e !important;
    background-color: #f43f5e !important;
}

.btn-interest-not_evaluated {
    color: rgba(197, 168, 128, 0.75) !important; /* Muted Gold */
    border-color: rgba(197, 168, 128, 0.25) !important;
    background-color: rgba(197, 168, 128, 0.03) !important;
}
.btn-interest-not_evaluated:hover, .btn-interest-not_evaluated:focus {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    background-color: rgba(197, 168, 128, 0.1) !important;
}
