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

/* ==========================================================================
   DESIGN SYSTEM ATHENA — NETFLIX MEDICAL STREAMING EXPERIENCE
   Base Canvas: Netflix Dark (#141414 / #181818 / #232323)
   Signature Accent: Netflix Crimson Red (#E50914)
   Medical Sapphire / Cyan: #00D2D3 & #0284C7 (Especialidades & Rigor Clínico)
   CFM Ethical Gold: #C8A96B & #D4AF37 (Resoluções & Ética Médica)
   Medical Match Green: #46D369 (Relevância Clínica & Evidência)
   ========================================================================== */

:root {
    /* Backgrounds Netflix */
    --bg-main: #141414;
    --bg-netflix-black: #141414;
    --bg-surface: #181818;
    --bg-surface-elevated: #232323;
    --bg-surface-border: rgba(255, 255, 255, 0.1);
    --bg-surface-border-light: rgba(255, 255, 255, 0.2);
    --bg-notion: #121212;
    
    /* Tipografia de Alto Contraste */
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-muted: #A3A3A3;
    --text-dim: #757575;
    
    /* Acento 1: Vermelho Netflix Clássico */
    --netflix-red: #E50914;
    --netflix-red-hover: #C10712;
    --netflix-red-glass: rgba(229, 9, 20, 0.15);
    --netflix-red-border: rgba(229, 9, 20, 0.4);
    --accent-red: #E50914;

    /* Acento 2: Azul Clínico & Cyan Médico */
    --accent-cyan: #00D2D3;
    --accent-cyan-light: #38BDF8;
    --accent-cyan-dark: #0284C7;
    --accent-cyan-glass: rgba(0, 210, 211, 0.12);
    --accent-cyan-border: rgba(0, 210, 211, 0.35);
    --accent-blue: #0284C7;

    /* Acento 3: Ouro Editorial & CFM */
    --accent-gold: #C8A96B;
    --accent-gold-light: #E5C07B;
    --accent-gold-dark: #9A7D42;
    --accent-gold-glass: rgba(200, 169, 107, 0.14);
    --accent-gold-border: rgba(200, 169, 107, 0.38);

    /* Acento 4: Verde Match & Evidência */
    --accent-match: #46D369;
    --accent-match-glass: rgba(70, 211, 105, 0.15);
    --accent-match-border: rgba(70, 211, 105, 0.4);
    --accent-emerald: #46D369;

    /* Tipografia */
    --font-netflix-display: 'Bebas Neue', 'Outfit', sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --reading-max-w: 740px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-netflix-black);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* Custom Scrollbar Netflix Dark */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #141414;
}
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--netflix-red);
}

/* Container */
.athena-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .athena-container {
        padding: 0 1rem;
    }
}

/* ==========================================================================
   TOP NAVBAR NETFLIX
   ========================================================================== */
.athena-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.nav-scrolled {
    background: rgba(20, 20, 20, 0.96) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-start;
}

.nav-right {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.65rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.brand-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.nav-desktop-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1;
    margin: 0 auto;
    padding: 0;
    flex-shrink: 0;
}

.nav-desktop-links a {
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, opacity 0.2s ease;
    color: #e5e5e5;
    opacity: 0.85;
}

.nav-desktop-links a:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-desktop-links a.active {
    color: #ffffff;
    font-weight: 700;
    opacity: 1;
}

.nav-cta-newsletter {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.5);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease !important;
    opacity: 1 !important;
}

.nav-cta-newsletter:hover {
    background: var(--netflix-red) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--netflix-red);
    box-shadow: 0 0 8px var(--netflix-red);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Hamburger Button */
.mobile-toggle-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 7px;
    color: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    transition: background 0.2s;
}

.mobile-toggle-btn:hover {
    background: var(--netflix-red);
}

@media (max-width: 900px) {
    .nav-desktop-links { display: none; }
    .mobile-toggle-btn { display: inline-flex; }
    .nav-left { flex: initial; }
    .nav-right { flex: initial; }
}

@media (max-width: 768px) {
    .athena-nav {
        height: 60px;
    }
    .brand-logo-img {
        height: 28px;
    }
    .mobile-toggle-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
}

/* Mobile Drawer - Netflix Luxury Experience */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88vw;
    max-width: 360px;
    background: #0f1015;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.95);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

@media (max-width: 420px) {
    .mobile-drawer {
        width: 100%;
        max-width: 100%;
        border-left: none;
    }
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-drawer-close-btn:hover,
.mobile-drawer-close-btn:active {
    background: rgba(229, 9, 20, 0.2);
    border-color: var(--netflix-red);
    color: #ffffff;
    transform: rotate(90deg);
}

.mobile-drawer-search-box {
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-drawer-search-box:hover,
.mobile-drawer-search-box:active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.mobile-nav-link svg {
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.mobile-nav-link:hover svg,
.mobile-nav-link:active svg {
    color: #ffffff;
}

.mobile-nav-link.active {
    background: rgba(229, 9, 20, 0.12);
    border-left-color: var(--netflix-red);
    color: #ffffff;
}

.mobile-nav-link.active svg {
    color: var(--netflix-red);
}

.mobile-drawer-newsletter-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mobile-drawer-newsletter-btn:hover,
.mobile-drawer-newsletter-btn:active {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO BILLBOARD SLIDER (AUTÊNTICA EXPERIÊNCIA NETFLIX)
   ========================================================================== */
.netflix-hero-slider {
    position: relative;
    min-height: 82vh;
    max-height: 860px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .netflix-hero-slider {
        min-height: 85vh;
        min-height: calc(100svh - 60px);
        max-height: none;
        align-items: flex-end;
        padding-top: 70px;
        padding-bottom: 2.75rem;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .hero-slide {
        align-items: flex-end;
        padding-top: 60px;
        padding-bottom: 2.5rem;
    }
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    transform: scale(1.04);
    transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 768px) {
    .hero-bg-media {
        background-position: center top;
        background-size: cover;
    }
}

.hero-slide.active .hero-bg-media {
    transform: scale(1);
}

/* Vinheta Cinemática Dupla Netflix */
.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(77deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0.1) 85%, transparent 100%),
        linear-gradient(180deg, rgba(20,20,20,0.2) 0%, rgba(20,20,20,0.4) 50%, rgba(20,20,20,0.95) 85%, #141414 100%);
}

@media (max-width: 768px) {
    .hero-overlay-gradient {
        background: linear-gradient(180deg, 
            rgba(20, 20, 20, 0.1) 0%, 
            rgba(20, 20, 20, 0.5) 30%, 
            rgba(20, 20, 20, 0.9) 65%, 
            #141414 98%
        ) !important;
    }
}

.hero-content-box {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

@media (max-width: 768px) {
    .hero-content-box {
        max-width: 100%;
    }
}

/* Badge Top 10 / Exclusivo Netflix */
.netflix-n-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .netflix-n-badge {
        margin-bottom: 0.5rem;
        gap: 6px;
    }
}

.netflix-top10-pill {
    background: var(--netflix-red);
    color: #FFFFFF;
    font-family: var(--font-netflix-display);
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.5);
}

@media (max-width: 640px) {
    .netflix-top10-pill {
        font-size: 0.8rem;
        padding: 2px 7px;
    }
}

.hero-category-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #C8A96B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 640px) {
    .hero-category-tag {
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.12;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
        line-height: 1.16;
        margin-bottom: 0.5rem;
        letter-spacing: -0.02em;
    }
}

/* Metadados Médicos Netflix */
.hero-netflix-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .hero-netflix-meta {
        gap: 8px;
        font-size: 0.76rem;
        margin-bottom: 0.75rem;
    }
}

.meta-match {
    color: #46D369;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-badge-box {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #E5E5E5;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .meta-badge-box {
        font-size: 0.68rem;
        padding: 1px 4px;
    }
}

.meta-badge-cfm {
    border: 1px solid #C8A96B;
    color: #C8A96B;
    background: rgba(200, 169, 107, 0.12);
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}

.meta-duration {
    color: #A3A3A3;
    font-weight: 500;
}

.hero-excerpt {
    font-size: clamp(0.92rem, 1.8vw, 1.1rem);
    color: #E5E5E5;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    max-width: 680px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .hero-excerpt {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 1.15rem;
        -webkit-line-clamp: 2;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 540px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        width: 100%;
    }
}

@media (max-width: 360px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BOTÕES NETFLIX (WHITE PLAY & GRAY INFO)
   ========================================================================== */
.btn-netflix-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #FFFFFF;
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    min-height: 44px;
}

.btn-netflix-white:hover {
    background: rgba(255, 255, 255, 0.78);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-netflix-white svg, .btn-netflix-gray svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.btn-netflix-gray {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(109, 109, 110, 0.7);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.65rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
    min-height: 44px;
}

.btn-netflix-gray:hover {
    background: rgba(109, 109, 110, 0.4);
    transform: scale(1.03);
}

@media (max-width: 540px) {
    .btn-netflix-white, .btn-netflix-gray {
        font-size: 0.85rem;
        padding: 0.65rem 0.75rem;
        gap: 0.4rem;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
}

/* Compatibilidade com classes anteriores */
.btn-netflix-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #FFFFFF;
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-netflix-primary:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

.hero-pagination-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .hero-pagination-indicators {
        bottom: 0.75rem;
        gap: 0.35rem;
    }
}

.hero-dot {
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero-dot {
        width: 16px;
        height: 3px;
    }
}

.hero-dot.active {
    width: 42px;
    background: var(--netflix-red);
    box-shadow: 0 0 10px var(--netflix-red);
}

@media (max-width: 768px) {
    .hero-dot.active {
        width: 26px;
    }
}

/* ==========================================================================
   CARROSSÉIS HORIZONTAIS NETFLIX (TRAYS & ROWS)
   ========================================================================== */
.athena-trays-container {
    margin-top: 0;
    position: relative;
    z-index: 20;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .athena-trays-container {
        margin-top: 0;
        padding-top: 0.5rem;
    }
}

.section-tray {
    padding: 1.5rem 0 1.25rem;
    position: relative;
}

@media (max-width: 768px) {
    .section-tray {
        padding: 1rem 0 0.75rem;
    }
}

.tray-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
    .tray-header {
        margin-bottom: 0.45rem;
    }
}

.tray-title {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 800;
    color: #FFFFFF !important;
    letter-spacing: -0.015em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .tray-title {
        font-size: 1.08rem;
    }
}

.tray-title:hover {
    color: #E5E5E5 !important;
}

.tray-title .explore-arrow {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    opacity: 0.85;
    display: inline-block;
    transform: translateX(0);
    transition: all 0.2s ease;
}

.tray-title:hover .explore-arrow {
    opacity: 1;
    transform: translateX(4px);
    color: #FFFFFF;
}

.tray-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tray-controls { display: none; }
}

.tray-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 24, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    flex-shrink: 0;
}

.tray-btn svg {
    width: 15px;
    height: 15px;
    display: block;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.tray-btn:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tray-scroll-container {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 0.5rem 2.25rem;
    margin-top: -0.5rem;
    margin-bottom: -1rem;
    scrollbar-width: none;
}
.tray-scroll-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .tray-scroll-container {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.75rem;
        padding-bottom: 1.5rem;
        gap: 0.85rem;
        scroll-padding-left: 1rem;
    }
}

/* ==========================================================================
   CARDS NETFLIX (HOVER PREVIEW & EXPANSION)
   ========================================================================== */
.athena-card {
    flex: 0 0 295px;
    scroll-snap-align: start;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
    user-select: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .athena-card {
        flex: 0 0 240px;
        border-radius: 8px;
    }
}

@media (max-width: 380px) {
    .athena-card {
        flex: 0 0 210px;
    }
}

.athena-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 20;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: #1e1f26;
}

/* Desativa hover intrusivo em telas touch/celulares */
@media (hover: none) and (pointer: coarse) {
    .athena-card:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        background: var(--bg-surface) !important;
    }
    .athena-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

.card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101010;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.athena-card:hover .card-thumb {
    transform: scale(1.06);
}

/* Barra de Progresso Vermelha Netflix */
.netflix-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
}

.netflix-progress-fill {
    height: 100%;
    background: var(--netflix-red);
    box-shadow: 0 0 6px var(--netflix-red);
}

.card-badge-top {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 2px 8px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .card-badge-top {
        top: 6px;
        left: 6px;
        font-size: 0.58rem;
        padding: 1px 6px;
    }
}

/* Card Tipo Vídeo */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.2s;
}

.play-circle-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease, background 0.2s;
}

@media (max-width: 640px) {
    .play-circle-btn {
        width: 34px;
        height: 34px;
    }
    .play-circle-btn svg {
        width: 16px;
        height: 16px;
    }
}

.athena-card:hover .play-circle-btn {
    transform: scale(1.15);
    background: #FFFFFF;
}

.video-duration-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
    .video-duration-pill {
        bottom: 6px;
        right: 6px;
        font-size: 0.6rem;
        padding: 1px 5px;
    }
}

/* Card Tipo PDF */
.pdf-stamp-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(200, 169, 107, 0.9);
    color: #000000;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 640px) {
    .pdf-stamp-tag {
        bottom: 6px;
        left: 6px;
        font-size: 0.58rem;
        padding: 1px 5px;
    }
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .card-body {
        padding: 0.75rem 0.7rem;
    }
}

/* Linha de Ações Rápidas no Card Hover */
.card-quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.65rem;
}

.card-circle-action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(42, 42, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.card-circle-action:hover {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: #000000;
    transform: scale(1.1);
}

.card-circle-action.primary {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.card-circle-action.primary:hover {
    background: rgba(255, 255, 255, 0.8);
}

.card-match-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    margin-bottom: 0.45rem;
}

@media (max-width: 640px) {
    .card-match-row {
        font-size: 0.7rem;
        gap: 6px;
        margin-bottom: 0.3rem;
    }
}

.card-match-pct {
    color: #46D369;
    font-weight: 800;
}

.card-badge-age {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 4px;
    border-radius: 2px;
    font-size: 0.65rem;
    color: #A3A3A3;
}

.card-badge-hd {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 4px;
    border-radius: 2px;
    font-size: 0.65rem;
    color: #A3A3A3;
    font-weight: 700;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

@media (max-width: 768px) {
    .card-title {
        font-size: 0.86rem;
        line-height: 1.28;
        margin-bottom: 0.25rem;
    }
}

.card-excerpt {
    font-size: 0.8rem;
    color: #A3A3A3;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card-excerpt {
        font-size: 0.75rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #757575;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.65rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .card-footer {
        font-size: 0.7rem;
        padding-top: 0.45rem;
    }
}

.card-author-info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #A3A3A3;
}

/* ==========================================================================
   BADGES DE CONTEXTO CLÍNICO & METADADOS (ALINHAMENTO PERFEITO)
   ========================================================================== */
.article-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.article-pill-badge {
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
    vertical-align: middle;
}

.badge-gold {
    color: #C8A96B;
    background: rgba(200, 169, 107, 0.12);
    border: 1px solid rgba(200, 169, 107, 0.38);
}

.badge-green {
    color: #46D369;
    background: rgba(70, 211, 105, 0.12);
    border: 1px solid rgba(70, 211, 105, 0.35);
}

.badge-cyan {
    color: #00D2D3;
    background: rgba(0, 210, 211, 0.12);
    border: 1px solid rgba(0, 210, 211, 0.35);
}

.badge-red {
    color: #FFFFFF;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
}

.badge-gray {
    color: #A3A3A3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   CAMADA DE LEITURA NOTION (DARK LUXURY STREAMING & 100% RESPONSIVA)
   ========================================================================== */
.notion-reading-wrapper {
    background-color: #121212;
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 80px;
}

@media (max-width: 640px) {
    .notion-reading-wrapper {
        padding-top: 75px;
        padding-bottom: 50px;
    }
}

.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--netflix-red);
    box-shadow: 0 0 8px var(--netflix-red);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

.notion-article-layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, var(--reading-max-w)) 280px;
    gap: 3.5rem;
    justify-content: center;
}

@media (max-width: 980px) {
    .notion-article-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .notion-article-layout {
        padding: 0 0.85rem;
    }
}

.notion-article-column {
    max-width: var(--reading-max-w);
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.notion-meta-header {
    margin-bottom: 1.75rem;
}

.notion-category-pill {
    display: inline-flex;
    align-items: center;
    height: 28px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #C8A96B;
    background: rgba(200, 169, 107, 0.12);
    border: 1px solid rgba(200, 169, 107, 0.38);
    padding: 0 10px;
    border-radius: 4px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.notion-article-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.18;
    margin-bottom: 1.15rem;
    letter-spacing: -0.025em;
    word-break: break-word;
}

.notion-article-excerpt {
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.notion-author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.75rem;
    flex-wrap: nowrap;
}

@media (max-width: 480px) {
    .notion-author-card {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #181818, #2b2b2b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #00D2D3;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 210, 211, 0.4);
}

.notion-author-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.author-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.author-crm {
    font-size: 0.8rem;
    color: #A3A3A3;
    font-weight: normal;
}

.author-role-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.author-role-badge.badge-editorial {
    color: var(--accent-gold, #C8A96B);
    background: rgba(200, 169, 107, 0.15);
    border: 1px solid rgba(200, 169, 107, 0.3);
}

.author-role-badge.badge-doctor {
    color: #46D369;
    background: rgba(70, 211, 105, 0.12);
    border: 1px solid rgba(70, 211, 105, 0.25);
}

.author-spec {
    font-size: 0.84rem;
    color: #A3A3A3;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.author-spec-name {
    color: #00D2D3;
    font-weight: 600;
}

.meta-bullet {
    color: #555555;
}

.author-source-link {
    color: #60a5fa;
}

.author-source-link a {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 700;
}

/* ==========================================================================
   SUMÁRIO ACCORDION EXCLUSIVO PARA MOBILE (CORREÇÃO DE DUPLICIDADE)
   ========================================================================== */
.mobile-toc-accordion {
    display: none !important; /* ESCONDIDO NO DESKTOP */
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    margin-bottom: 1.75rem;
    overflow: hidden;
}

@media (max-width: 980px) {
    .mobile-toc-accordion {
        display: block !important; /* APARECE APENAS NO MOBILE/TABLET */
    }
    .notion-toc-sidebar {
        display: none !important; /* SOME NO MOBILE/TABLET */
    }
}

.mobile-toc-header {
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    background: #1c1c1c;
    user-select: none;
}

.mobile-toc-body {
    padding: 0.75rem 1.15rem 1rem;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-toc-body.open {
    display: block;
}

/* ==========================================================================
   CORPO DO CONTEÚDO NOTION
   ========================================================================== */
.notion-content-body {
    color: #E5E5E5;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.85;
    word-break: break-word;
    overflow-wrap: break-word;
}

.notion-content-body p {
    margin-bottom: 1.5rem;
    color: #D6D6D6;
}

.notion-content-body h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}

.notion-content-body h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    font-weight: 700;
    color: #C8A96B;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.notion-content-body ul, .notion-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.notion-content-body li {
    margin-bottom: 0.45rem;
}

.notion-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.notion-content-body iframe, .notion-content-body video {
    max-width: 100%;
    border-radius: 6px;
}

/* Unificação e Padronização de Barras Laterais em Callouts e Destaques */
.notion-callout,
.notion-content-body blockquote,
.notion-content-body .callout,
.notion-content-body .athena-callout,
.notion-content-body .ponto-atencao,
.notion-content-body .callout-box,
blockquote {
    display: block;
    background: rgba(0, 210, 211, 0.08);
    border: 1px solid rgba(0, 210, 211, 0.25);
    border-left: 4px solid #00D2D3 !important;
    border-radius: 8px;
    padding: 1.15rem 1.35rem;
    margin: 1.75rem 0;
    color: #e2e8f0;
    line-height: 1.65;
    font-size: 0.975rem;
    word-break: normal;
    overflow-wrap: break-word;
}

.notion-callout.source-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid #00D2D3 !important;
}

.notion-callout:has(.callout-icon),
.notion-content-body .callout:has(.callout-icon) {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notion-callout .callout-icon {
    font-size: 1.25rem;
    line-height: 1;
    color: #00D2D3;
    flex-shrink: 0;
    margin-top: 2px;
}

.notion-callout .callout-content {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.65;
}

.notion-callout strong {
    color: #ffffff;
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.notion-callout .callout-content strong {
    display: inline;
    margin-bottom: 0;
}

.notion-callout p {
    margin-bottom: 0.5rem;
}

.notion-callout p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .notion-callout {
        padding: 0.9rem 1rem;
        margin: 1.5rem 0;
        font-size: 0.92rem;
    }
}

/* Sumário Flutuante Desktop */
.notion-toc-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.toc-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.25rem;
}

.toc-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C8A96B;
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toc-link {
    font-size: 0.85rem;
    color: #A3A3A3;
    line-height: 1.45;
    transition: all 0.2s ease;
    display: block;
}

.toc-link:hover, .toc-link.active {
    color: #FFFFFF;
    transform: translateX(4px);
}

.toc-link.active {
    color: #00D2D3;
    font-weight: 700;
}

/* ==========================================================================
   FOOTER NETFLIX
   ========================================================================== */
.athena-footer {
    background: #101010;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list a {
    color: #808080;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: #E5E5E5;
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: #666666;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO NETFLIX DARK THEME
   ========================================================================== */
.admin-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.admin-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
}

.admin-card-desc {
    font-size: 0.825rem;
    color: #A3A3A3;
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #E5E5E5;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: #232323;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #FFFFFF;
    background: #2b2b2b;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table-custom th {
    background: #121212;
    color: #A3A3A3;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-custom td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #E5E5E5;
    vertical-align: middle;
}

.table-custom tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Botões do Admin */
.hero-star-btn {
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.hero-star-active {
    background: var(--netflix-red);
    color: #FFFFFF !important;
}

.hero-star-active:hover {
    background: var(--netflix-red-hover);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.hero-star-inactive {
    background: #2b2b2b;
    color: #A3A3A3 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-star-inactive:hover {
    background: #383838;
    color: #FFFFFF !important;
}

.btn-action-edit {
    background: #232323;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-action-edit:hover {
    background: #333333;
    border-color: #FFFFFF;
}

.btn-action-delete {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #feb2b2;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-action-delete:hover {
    background: var(--netflix-red);
    color: #FFFFFF;
}

/* ==========================================================================
   PRELOADER CINEMÁTICO ESTILO NETFLIX
   ========================================================================== */
#athena-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-svg-container {
    width: 220px;
    height: auto;
    margin-bottom: 0.75rem;
}

.preloader-logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

.preloader-sub-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--netflix-red);
    text-transform: uppercase;
    opacity: 0;
    margin-bottom: 1.5rem;
}

.preloader-bars {
    display: flex;
    gap: 5px;
    align-items: center;
    height: 18px;
}

.preloader-bar {
    width: 3px;
    height: 14px;
    background: var(--netflix-red);
    border-radius: 2px;
}

/* Footer Social & Extras */
.footer-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--netflix-red);
    border-color: var(--netflix-red);
    color: #FFFFFF;
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: #808080;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: #666666;
}

/* ==========================================================================
   BUSCA INSTANTÂNEA & SEARCH MODAL (NETFLIX STYLE)
   ========================================================================== */
.nav-search-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E5E5E5;
    border-radius: 4px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.search-btn-shortcut {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 5px;
    border-radius: 3px;
    color: #A3A3A3;
    font-family: monospace;
}

@media (max-width: 640px) {
    .search-btn-shortcut { display: none; }
}

.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    z-index: 999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 1rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-box {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    transform: translateY(-15px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.open .search-modal-box {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #202020;
}

.search-input-icon {
    color: #A3A3A3;
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-family: var(--font-body);
    outline: none;
}

.search-modal-input::placeholder {
    color: #777777;
}

.search-modal-close {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.search-modal-close:hover {
    color: #FFFFFF;
}

.search-modal-body {
    padding: 0.75rem 1.25rem;
    overflow-y: auto;
    flex: 1;
    max-height: 55vh;
}

.search-hint-msg {
    font-size: 0.85rem;
    color: #777777;
    text-align: center;
    padding: 2.5rem 1rem;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: #262626;
    border-color: rgba(255, 255, 255, 0.1);
}

.search-result-thumb {
    width: 72px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
    background: #000;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    margin-bottom: 2px;
}

.search-result-badge {
    color: #C8A96B;
    font-weight: 700;
    text-transform: uppercase;
}

.search-result-type {
    color: #A3A3A3;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 2px;
}

.search-result-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-author {
    font-size: 0.72rem;
    color: #777777;
}

.search-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #141414;
    font-size: 0.75rem;
    color: #666666;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-modal-footer kbd {
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
    color: #CCCCCC;
    font-family: monospace;
}

.search-all-link {
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.search-all-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ==========================================================================
   PÁGINAS DE CATÁLOGO & ACERVO COMPLETO (GRADE NETFLIX)
   ========================================================================== */
.catalog-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
}

.catalog-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    color: #C8A96B;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

.catalog-main-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.catalog-lead-desc {
    font-size: 0.95rem;
    color: #A3A3A3;
    margin: 0;
    max-width: 650px;
}

.catalog-meta-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #888888;
}

.count-badge {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.5);
    color: #FFFFFF;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.catalog-toolbar-panel {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.catalog-search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.catalog-search-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-search-input-wrap svg {
    position: absolute;
    left: 14px;
    color: #888888;
    pointer-events: none;
}

.catalog-search-input {
    width: 100%;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.catalog-search-input:focus {
    border-color: #FFFFFF;
    background: #202020;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    outline: none;
}

.catalog-search-clear {
    position: absolute;
    right: 12px;
    color: #888888;
    font-size: 1.25rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.catalog-search-clear:hover {
    color: #FFFFFF;
}

.catalog-order-select-wrap {
    width: 210px;
}

@media (max-width: 540px) {
    .catalog-order-select-wrap {
        width: 100%;
    }
}

.catalog-order-select {
    width: 100%;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: #E5E5E5;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.catalog-order-select:focus {
    border-color: #FFFFFF;
}

/* ==========================================================================
   NOVA UX INTELIGENTE DE ESPECIALIDADES NO ACERVO (ATHENA / NETFLIX STYLE)
   ========================================================================== */

.athena-specialties-card {
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.athena-specialties-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.athena-specialties-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.athena-specialties-label svg {
    color: #E50914;
}

.athena-picker-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1f1f23;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.athena-picker-trigger:hover,
.athena-picker-trigger:focus {
    border-color: #E50914;
    background: #28282e;
}

.picker-trigger-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.picker-trigger-badge {
    background: rgba(229, 9, 20, 0.2);
    color: #ff5e67;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    line-height: 1.2;
}

.athena-specialties-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.athena-specialties-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.athena-specialties-track::-webkit-scrollbar {
    display: none;
}

.athena-slider-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #202024;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    line-height: 1;
    user-select: none;
}

.athena-slider-nav:hover {
    background: #E50914;
    color: #FFFFFF;
    border-color: #E50914;
    transform: scale(1.08);
}

.athena-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #A3A3A3;
    background: #1c1c1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.athena-spec-pill:hover {
    background: #2a2a2f;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.athena-spec-pill.active {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.athena-spec-pill.pill-empty {
    opacity: 0.5;
}

.athena-pill-count {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.2;
}

.athena-spec-pill.active .athena-pill-count {
    background: rgba(0, 0, 0, 0.15);
    color: #000000;
}

.athena-active-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.athena-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ff4b55;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.78rem;
}

.athena-filter-tag a {
    color: #ff4b55;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    margin-left: 2px;
}

.athena-filter-tag a:hover {
    color: #ffffff;
}

.athena-clear-filter-link {
    color: #888888;
    font-size: 0.75rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.athena-clear-filter-link:hover {
    color: #ffffff;
}

/* Custom Dark Modal & Mobile Bottom Sheet */
.athena-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.athena-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.athena-modal-sheet {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 92%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.athena-modal-backdrop.open .athena-modal-sheet {
    transform: scale(1);
}

.athena-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.athena-modal-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.athena-modal-title svg {
    color: #E50914;
}

.athena-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.athena-modal-close:hover {
    background: #E50914;
}

.athena-modal-search-wrap {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #141416;
}

.athena-modal-search {
    width: 100%;
    background: #222226;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    color: #FFFFFF;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}

.athena-modal-search:focus {
    border-color: #E50914;
}

.athena-modal-list {
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 55vh;
}

.athena-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: 6px;
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.athena-modal-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

.athena-modal-item.active {
    background: #E50914;
    color: #FFFFFF;
    font-weight: 800;
}

.athena-modal-item-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
}

.athena-modal-item.active .athena-modal-item-badge {
    background: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

/* Responsividade Mobile Extrema */
@media (max-width: 640px) {
    .athena-specialties-card {
        padding: 0.75rem 0.85rem;
    }
    .athena-specialties-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .athena-picker-trigger {
        width: 100%;
        justify-content: space-between;
    }
    .picker-trigger-text {
        max-width: none;
    }
    .athena-slider-nav {
        display: none !important;
    }
    .athena-specialties-track {
        padding: 2px 0;
    }
    .athena-modal-backdrop {
        align-items: flex-end;
    }
    .athena-modal-sheet {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
        transform: translateY(100%);
    }
    .athena-modal-backdrop.open .athena-modal-sheet {
        transform: translateY(0);
    }
}

.catalog-type-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.type-pill-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #CCCCCC;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: all 0.2s ease;
}

.type-pill-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.type-pill-btn.active {
    background: var(--netflix-red);
    color: #FFFFFF;
    border-color: var(--netflix-red);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

/* Grade de Cards do Catálogo */
.catalog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.catalog-grid-card {
    flex: unset !important;
    width: 100% !important;
}

/* Paginação Numérica */
.catalog-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-numbers-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.page-nav-btn, .page-num-btn {
    padding: 8px 14px;
    border-radius: 4px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
}

.page-nav-btn:hover, .page-num-btn:hover {
    background: #2b2b2b;
    border-color: #FFFFFF;
}

.page-num-btn.active {
    background: var(--netflix-red);
    border-color: var(--netflix-red);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.page-ellipsis {
    color: #666666;
    padding: 0 6px;
    font-weight: 700;
}

/* Estado Vazio */
.catalog-empty-state {
    text-align: center;
    padding: 5rem 1rem;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin: 2rem 0;
}

.empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.empty-desc {
    font-size: 0.9rem;
    color: #888888;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   TIPOGRAFIA & ESPAÇAMENTO EDITORIAL NOTION / SUBSTACK (.notion-content-body)
   ========================================================================== */
.notion-content-body {
    color: #d1d5db;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: -0.005em;
    word-break: break-word;
}

.notion-content-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.notion-content-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.3rem);
    font-weight: 700;
    color: #f3f4f6;
    margin-top: 1.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.notion-content-body p {
    margin-top: 0;
    margin-bottom: 1.4rem;
    line-height: 1.85;
    color: #d1d5db;
    font-size: 1.05rem;
}

.notion-content-body ul, 
.notion-content-body ol {
    margin-top: 0.5rem;
    margin-bottom: 1.4rem;
    padding-left: 1.75rem;
    color: #d1d5db;
}

.notion-content-body li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.notion-content-body blockquote {
    border-left: 4px solid var(--accent-gold);
    background: rgba(200, 169, 107, 0.08);
    padding: 1.1rem 1.35rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.75;
}

.notion-content-body strong {
    color: #ffffff;
    font-weight: 700;
}

.notion-content-body a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.notion-content-body a:hover {
    color: var(--accent-cyan-light);
}

.notion-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    display: block;
}

.notion-content-body .notion-callout {
    display: block;
    background: rgba(0, 210, 211, 0.08);
    border: 1px solid rgba(0, 210, 211, 0.25);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 1.15rem 1.35rem;
    margin: 2rem 0;
    color: #e2e8f0;
    line-height: 1.65;
    font-size: 0.975rem;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Barra Discreta & Elegante de Referência / Fonte Científica */
.athena-source-citation-bar,
.athena-source-card,
.notion-content-body .notion-callout.source-box,
.notion-callout.source-box {
    margin-top: 2rem !important;
    margin-bottom: 1.25rem !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 3px solid rgba(56, 189, 248, 0.7) !important;
    border-radius: 6px !important;
    padding: 0.65rem 1rem !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.source-bar-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
}

.source-bar-icon {
    color: #38bdf8 !important;
    flex-shrink: 0 !important;
    opacity: 0.85 !important;
}

.source-bar-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.source-bar-name {
    color: #f1f5f9 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

.source-bar-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #38bdf8 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 4px 10px !important;
    background: rgba(56, 189, 248, 0.08) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

.source-bar-link:hover {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
    color: #ffffff !important;
}

@media (max-width: 580px) {
    .athena-source-citation-bar,
    .athena-source-card,
    .notion-content-body .notion-callout.source-box,
    .notion-callout.source-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.6rem !important;
        padding: 0.75rem !important;
    }
    .source-bar-link {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        padding: 6px 10px !important;
    }
}

/* Âncoras de Cabeçalho e Navegação Suave do Sumário (TOC) */
html {
    scroll-behavior: smooth;
}

.notion-content-body h2,
.notion-content-body h3,
.notion-content-body [id] {
    scroll-margin-top: 95px;
}

.toc-link.active {
    color: var(--accent-cyan) !important;
    font-weight: 700 !important;
}

/* DISCLAIMER EDITORIAL PADRONIZADO ATHENA - COMPACTO COM EXPANSÃO INTERATIVA */
.athena-editorial-disclaimer-box {
    margin: 1.5rem 0 1.25rem;
    background: linear-gradient(135deg, rgba(20, 22, 28, 0.96) 0%, rgba(12, 14, 18, 0.98) 100%);
    border: 1px solid rgba(200, 169, 107, 0.28);
    border-left: 3px solid #C8A96B !important;
    border-radius: 6px;
    padding: 0.85rem 1.15rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    font-family: inherit;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    box-sizing: border-box;
}

.athena-editorial-disclaimer-box .disclaimer-icon-wrapper {
    flex-shrink: 0;
    margin-top: 1px;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: rgba(200, 169, 107, 0.12);
    border: 1px solid rgba(200, 169, 107, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8A96B;
}

.athena-editorial-disclaimer-box .disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(200, 169, 107, 0.14);
    border: 1px solid rgba(200, 169, 107, 0.32);
    color: #C8A96B;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.35rem;
}

.athena-editorial-disclaimer-box .disclaimer-text {
    font-size: 0.81rem;
    color: #c4c7cf;
    line-height: 1.52;
    margin: 0;
    font-weight: 400;
    flex: 1;
    min-width: 0;
}

.athena-editorial-disclaimer-box .disclaimer-lead {
    display: inline;
}

.athena-editorial-disclaimer-box .disclaimer-more-content {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(200, 169, 107, 0.2);
    font-size: 0.79rem;
    color: #a4a9b5;
    line-height: 1.5;
    animation: athenaDisclaimerFade 0.25s ease-in-out;
}

.athena-editorial-disclaimer-box .disclaimer-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(200, 169, 107, 0.08);
    border: 1px solid rgba(200, 169, 107, 0.25);
    color: #C8A96B;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 0.45rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}

.athena-editorial-disclaimer-box .disclaimer-toggle-btn:hover {
    background: rgba(200, 169, 107, 0.18);
    border-color: rgba(200, 169, 107, 0.45);
    color: #E2CA94;
}

.athena-editorial-disclaimer-box .disclaimer-toggle-btn.is-expanded {
    background: rgba(200, 169, 107, 0.14);
    border-color: rgba(200, 169, 107, 0.35);
}

.athena-editorial-disclaimer-box .disclaimer-toggle-btn .toggle-icon {
    transition: transform 0.25s ease;
}

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


