/* ============================================
   BIBLIOTECA DE CONTEUDO - V2 COMPONENTS CSS
   A/B Test: Novo Layout Responsivo
   ============================================ */

/* ----------------------------------------
   SCROLL COMPENSATION
   Compensa header sticky ao navegar para âncoras
   ---------------------------------------- */

.v2 section,
.v2 [id],
.v2 .section-header,
.v2 .trending-section,
.v2 .highlights-section,
.v2 .category-section,
.v2 .continue-reading-section,
.v2 .search-results-section {
    scroll-margin-top: calc(var(--om-header-height) + 16px);
}

@media (max-width: 768px) {
    .v2 section,
    .v2 [id],
    .v2 .section-header,
    .v2 .trending-section,
    .v2 .highlights-section,
    .v2 .category-section,
    .v2 .continue-reading-section,
    .v2 .search-results-section {
        scroll-margin-top: calc(var(--om-header-height-mobile) + 12px);
    }
}

/* ----------------------------------------
   HEADER V2
   - Sticky com blur
   - Search expandido
   - Menu hamburger mobile
   ---------------------------------------- */

.v2 header {
    position: sticky;
    top: 0;
    z-index: var(--om-z-sticky);
}

.v2 .header-v2 {
    position: sticky;
    top: 0;
    z-index: var(--om-z-sticky);
    /* Gradiente oficial do Design System orienteme */
    background: linear-gradient(135deg, #006A5B 0%, #009884 50%, #006A5B 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 106, 91, 0.25);
    padding: var(--om-space-xs) var(--om-space-md);
    transition: all var(--om-transition-normal);
    min-height: 56px;
}

.v2 .header-v2.scrolled {
    padding: var(--om-space-xs) var(--om-space-md);
    box-shadow: 0 6px 24px rgba(0, 106, 91, 0.3);
}

.v2 .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap: var(--om-space-md);
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
}

.v2 .header-logo {
    flex-shrink: 0;
}

.v2 .header-logo img {
    height: 40px;
    width: auto;
}

.v2 .header-search {
    flex: 1;
    max-width: 320px;
    position: relative;
}

.v2 .header-search input {
    width: 100%;
    padding: 8px 12px 8px 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--om-radius-full);
    font-size: 14px;
    transition: all var(--om-transition-fast);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.v2 .header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.v2 .header-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    color: #004038;
    border-color: #A0E2BA;
    box-shadow: 0 0 0 3px rgba(160, 226, 186, 0.4);
}

.v2 .header-search input:focus::placeholder {
    color: #6F6F6F;
}

.v2 .header-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: color var(--om-transition-fast);
}

.v2 .header-search input:focus ~ .search-icon,
.v2 .header-search:focus-within .search-icon {
    color: #006A5B;
}
.v2 .header-nav,
.v2 .header-user-name {
    color: #f8fafc;
}

.v2 .header-nav {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
}

.v2 .header-extras {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .header-user {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: var(--om-radius-full);
    transition: all var(--om-transition-fast);
    /* Fundo sutil para indicar que é clicável */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.v2 .header-user:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.v2 .header-user:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.2);
}

.v2 .header-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #A0E2BA; /* Verde Claro */
}

/* Chevron indicando que abre menu */
.v2 .header-user::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-size: 12px;
    opacity: 0.8;
    margin-left: 2px;
    transition: transform var(--om-transition-fast);
}

.v2 .header-user:hover::after {
    transform: translateY(2px);
}

.v2 .header-user-name {
    font-size: var(--om-text-sm);
    font-weight: 500;
    color: #ffffff;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Menu Hamburger Mobile */
.v2 .menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--om-space-sm);
    cursor: pointer;
    color: #ffffff;
}

.v2 .menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.v2 .menu-toggle .hamburger span {
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--om-transition-fast);
}

/* Mobile Menu Overlay */
.v2 .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--om-z-modal);
    opacity: 0;
    transition: opacity var(--om-transition-normal);
    pointer-events: none; /* evita capturar cliques quando inativa */
}

.v2 .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.v2 .mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--om-surface);
    z-index: calc(var(--om-z-modal) + 1);
    transition: right var(--om-transition-normal);
    overflow-y: auto;
    padding: var(--om-space-lg);
    pointer-events: none; /* bloqueia clique fora do estado ativo */
}

.v2 .mobile-menu.active {
    right: 0;
    pointer-events: auto;
}

.v2 .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--om-space-lg);
    padding-bottom: var(--om-space-md);
    border-bottom: 1px solid var(--om-border);
}

.v2 .mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--om-text-muted);
}

.v2 .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: var(--om-space-xs);
}

.v2 .mobile-menu-nav a {
    padding: var(--om-space-sm) var(--om-space-md);
    color: var(--om-text);
    text-decoration: none;
    border-radius: var(--om-radius-md);
    transition: all var(--om-transition-fast);
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .mobile-menu-nav a i {
    color: #006A5B; /* Verde Principal */
    font-size: 18px;
}

.v2 .mobile-menu-nav a:hover,
.v2 .mobile-menu-nav a.active {
    background: #006A5B; /* Verde Principal */
    color: white;
}

.v2 .mobile-menu-nav a:hover i,
.v2 .mobile-menu-nav a.active i {
    color: white;
}

/* Mobile Menu - Seções Adicionais */
.v2 .mobile-user-section {
    margin-bottom: var(--om-space-md);
    padding-bottom: var(--om-space-md);
    border-bottom: 1px solid var(--om-border);
}

.v2 .mobile-user-profile {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    padding: var(--om-space-sm);
    border-radius: var(--om-radius-lg);
    cursor: pointer;
    transition: background var(--om-transition-fast);
}

.v2 .mobile-user-profile:hover {
    background: rgba(0, 106, 91, 0.05);
}

.v2 .mobile-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--om-primary);
}

.v2 .mobile-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2 .mobile-user-name {
    font-size: var(--om-text-base);
    font-weight: var(--om-font-semibold);
    color: var(--om-text);
}

.v2 .mobile-user-action {
    font-size: var(--om-text-xs);
    color: var(--om-primary);
}

.v2 .mobile-user-profile > i {
    color: var(--om-text-muted);
    font-size: 14px;
}

/* Mobile Search Melhorado */
.v2 .mobile-search {
    position: relative;
    margin-bottom: var(--om-space-md);
}

.v2 .mobile-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--om-text-muted);
    font-size: 16px;
}

.v2 .mobile-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-lg);
    font-size: var(--om-text-base);
    background: var(--om-bg);
    transition: all var(--om-transition-fast);
}

.v2 .mobile-search input:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(0, 106, 91, 0.15);
}

/* Mobile Widgets */
.v2 .mobile-widgets {
    display: flex;
    flex-direction: column;
    gap: var(--om-space-xs);
    margin-bottom: var(--om-space-md);
    padding-bottom: var(--om-space-md);
    border-bottom: 1px solid var(--om-border);
}

.v2 .mobile-widget-row {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    padding: var(--om-space-sm) var(--om-space-md);
    border-radius: var(--om-radius-md);
    background: rgba(0, 106, 91, 0.05);
    text-decoration: none;
    color: var(--om-text);
    transition: all var(--om-transition-fast);
}

.v2 .mobile-widget-row:hover {
    background: rgba(0, 106, 91, 0.1);
}

.v2 .mobile-history-link i:first-child {
    font-size: 20px;
    color: var(--om-primary);
}

.v2 .mobile-history-link span {
    flex: 1;
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-medium);
}

.v2 .mobile-history-link i:last-child {
    font-size: 14px;
    color: var(--om-text-muted);
}

/* Mobile Widget Row - Widget de Progresso */
.v2 .mobile-widget-row .user-progress-widget {
    flex: 1;
    padding: 0;
    background: transparent;
    min-width: 0;
}

/* Mobile Nav Label */
.v2 .mobile-nav-label {
    display: block;
    font-size: var(--om-text-xs);
    font-weight: var(--om-font-semibold);
    color: var(--om-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--om-space-xs) var(--om-space-md);
    margin-bottom: var(--om-space-xs);
}

/* ----------------------------------------
   CATEGORY CHIPS WRAPPER V2
   ---------------------------------------- */

.v2 .category-chips-wrapper {
    position: sticky;
    top: var(--om-header-height);
    z-index: calc(var(--om-z-sticky) - 1);
    background: #F0F4F2; /* cinza-claro do Design System */
    border-bottom: 1px solid rgba(0, 106, 91, 0.1);
    /* Esconde em mobile - categorias vão pro menu hamburguer */
    display: none;
    padding: 0 var(--om-space-md);
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ----------------------------------------
   HERO SECTION V2 - Compacto com Estatísticas
   ---------------------------------------- */

.v2 .hero-section-v2 {
    /* Gradiente oficial do Design System orienteme */
    background: linear-gradient(135deg, #004038 0%, #006A5B 50%, #009884 100%);
    padding: var(--om-space-lg) var(--om-space-md);
    color: white;
}

.v2 .hero-container {
    max-width: var(--om-container-lg);
    margin: 0 auto;
}

.v2 .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--om-space-lg);
}

.v2 .hero-left {
    flex: 1;
}

.v2 .hero-greeting-wrap {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
    margin-bottom: var(--om-space-xs);
}

.v2 .hero-wave {
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50%, 100% { transform: rotate(0deg); }
}

.v2 .hero-greeting {
    font-size: var(--om-text-2xl);
    font-weight: 700;
    margin: 0;
}

.v2 .hero-subtitle {
    font-size: var(--om-text-sm);
    opacity: 0.8;
    margin: 0 0 var(--om-space-md);
}

/* Tags inline */
.v2 .topic-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--om-space-xs);
}

.v2 .topic-tags-inline .topic-tag {
    padding: 6px 14px;
    font-size: var(--om-text-xs);
    background: rgba(160, 226, 186, 0.2); /* Verde Claro com alpha */
    border: 1px solid rgba(160, 226, 186, 0.4);
    border-radius: var(--om-radius-full);
    color: white;
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .topic-tags-inline .topic-tag:hover {
    background: rgba(160, 226, 186, 0.35);
    border-color: #A0E2BA;
    transform: translateY(-1px);
}

/* Estatísticas do usuário */
.v2 .hero-stats {
    display: flex;
    gap: var(--om-space-sm);
}

.v2 .hero-stat-card {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
    background: rgba(208, 245, 223, 0.15); /* Verde Bem Claro com alpha */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(160, 226, 186, 0.3);
    border-radius: var(--om-radius-lg);
    padding: var(--om-space-sm) var(--om-space-md);
    min-width: 90px;
}

.v2 .hero-stat-icon {
    font-size: 1.25rem;
}

.v2 .hero-stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.v2 .hero-stat-value {
    font-size: var(--om-text-lg);
    font-weight: 700;
}

.v2 .hero-stat-label {
    font-size: var(--om-text-xs);
    opacity: 0.8;
}

/* Search Feedback */
.v2 .search-feedback {
    margin-top: var(--om-space-md);
    padding: var(--om-space-sm) var(--om-space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--om-radius-md);
    font-size: var(--om-text-sm);
}

.v2 .search-feedback p {
    margin: 0;
}

.v2 .search-feedback a {
    color: #A0E2BA; /* Verde Claro do Design System */
    text-decoration: underline;
    cursor: pointer;
}

.v2 .search-feedback a:hover {
    color: #D0F5DF; /* Verde Bem Claro */
}

.v2 .search-feedback.error {
    background: rgba(239, 68, 68, 0.15);
}

/* ----------------------------------------
   SEARCH RESULTS SECTION V2
   - Cards grandes estilo "Em Alta"
   ---------------------------------------- */

.search-results-section.v2 {
    padding: var(--om-space-xl) 0;
    margin-top: var(--om-space-lg);
}

.search-results-section.v2 .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--om-space-xs);
    margin-bottom: var(--om-space-lg);
}

.search-results-section.v2 .section-title {
    font-size: var(--om-text-2xl);
    font-weight: 700;
    color: var(--om-text);
    margin: 0;
}

.search-results-section.v2 .results-count {
    font-size: var(--om-text-sm);
    color: var(--om-text-muted);
}

/* Grid alinhado à esquerda */
.search-results-section.v2 .trending-cards-grid {
    justify-content: flex-start;
}

/* Hero Mobile */
@media (max-width: 768px) {
    .v2 .hero-section-v2 {
        padding: var(--om-space-md);
    }

    .v2 .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--om-space-md);
    }

    .v2 .hero-greeting {
        font-size: var(--om-text-xl);
    }

    .v2 .hero-stats {
        width: 100%;
        justify-content: flex-start;
    }

    .v2 .hero-stat-card {
        flex: 1;
        max-width: 120px;
    }
}

/* Legacy - mantido para compatibilidade */
.v2 .topic-tags {
    margin-bottom: var(--om-space-lg);
}

.v2 .topic-tags-label {
    display: block;
    font-size: var(--om-text-sm);
    opacity: 0.8;
    margin-bottom: var(--om-space-sm);
}

.v2 .topic-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--om-space-sm);
}

/* ----------------------------------------
   CTA - QUER FALAR COM SEU PROFISSIONAL?
   ---------------------------------------- */

.v2 .green-container .nutrition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--om-space-lg);
    align-items: center;
}

.v2 .green-container .nutrition-info h2,
.v2 .green-container .nutrition-info h5 {
    margin: 0 0 var(--om-space-xs);
}

.v2 .green-container .nutrition-info p {
    margin: 0 0 var(--om-space-md);
    color: var(--om-text-secondary);
}

.v2 .green-container .item-list {
    display: grid;
    gap: var(--om-space-md);
}

.v2 .green-container .item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--om-space-md);
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--om-radius-lg);
    padding: var(--om-space-md);
    box-shadow: var(--om-shadow-sm);
}

.v2 .green-container .item-title h5 {
    margin: 0 0 var(--om-space-xs);
}

.v2 .green-container .item-description {
    margin: 0 0 var(--om-space-sm);
    color: var(--om-text-secondary);
}

.v2 .green-container .center a {
    color: var(--om-primary);
    font-weight: var(--om-font-semibold);
}

@media (max-width: 768px) {
    .v2 .green-container .item {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.v2 .topic-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: var(--om-space-xs) var(--om-space-md);
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-sm);
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .topic-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.v2 .recent-searches-v2 {
    margin-top: var(--om-space-md);
}

.v2 .recent-searches-label {
    display: block;
    font-size: var(--om-text-sm);
    opacity: 0.8;
    margin-bottom: var(--om-space-sm);
}

.v2 .recent-searches-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--om-space-sm);
}

.v2 .recent-search-chip {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--om-space-xs) var(--om-space-sm);
    border-radius: var(--om-radius-md);
    font-size: var(--om-text-sm);
}

.v2 .recent-search-chip a {
    color: white;
    text-decoration: none;
}

.v2 .recent-search-chip .remove-chip {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.v2 .recent-search-chip .remove-chip:hover {
    color: white;
}

.v2 .search-feedback {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--om-space-md);
    border-radius: var(--om-radius-md);
    margin-top: var(--om-space-md);
}

.v2 .search-feedback p {
    margin: 0;
    font-size: var(--om-text-sm);
}

.v2 .search-feedback a {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.v2 .search-feedback.error {
    background: rgba(239, 68, 68, 0.2);
}

/* ----------------------------------------
   CONTINUE READING V2
   ---------------------------------------- */

.v2 .continue-reading-v2 {
    padding: var(--om-space-xl) clamp(16px, 3vw, 40px);
    background: var(--om-surface-alt);
    max-width: 100%;
}

.v2 .continue-reading-v2 .section-header {
    max-width: 100%;
    margin: 0 0 var(--om-space-lg);
    padding: 0;
}

.v2 .continue-reading-v2 h3 {
    font-size: var(--om-text-xl);
    font-weight: 700;
    color: var(--om-text);
    margin: 0;
}

/* ----------------------------------------
   CATEGORY CHIPS V2
   - Visível apenas no desktop
   - Pills discretos com cores do Design System
   ---------------------------------------- */

.v2 .category-chips {
    display: flex;
    gap: var(--om-space-xs);
    padding: var(--om-space-xs) 0;
}

.v2 .category-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(0, 106, 91, 0.2);
    border-radius: var(--om-radius-full);
    font-size: 13px;
    color: #006A5B;
    cursor: pointer;
    transition: all var(--om-transition-fast);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2 .category-chip i {
    font-size: 14px;
    opacity: 0.8;
}

.v2 .category-chip:hover {
    background: rgba(0, 106, 91, 0.08);
    border-color: #006A5B;
}

.v2 .category-chip.active {
    background: #006A5B;
    border-color: #006A5B;
    color: white;
}

.v2 .category-chip.active i {
    opacity: 1;
}

/* ----------------------------------------
   HIGHLIGHT CARDS V2 (Grid Moderno)
   - CSS Grid responsivo
   - Card principal grande
   - Cards secundarios menores
   ---------------------------------------- */

.v2 .highlights-section {
    padding: var(--om-space-xl) 0;
}

.v2 .highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--om-space-lg);
}

.v2 .highlights-title {
    font-size: var(--om-text-2xl);
    font-weight: 700;
    color: var(--om-text);
    margin: 0;
}

.v2 .highlights-see-all {
    color: var(--om-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--om-text-sm);
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
    transition: color var(--om-transition-fast);
}

.v2 .highlights-see-all:hover {
    color: var(--om-primary-dark);
}

.v2 .highlights-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--om-space-md);
}

/* Card Principal - Ocupa 8 colunas e 2 linhas */
.v2 .highlight-card-main {
    grid-column: span 6;
    grid-row: span 2;
}

/* Cards Secundarios - Ocupa 4 colunas e 1 linha cada */
.v2 .highlight-card-secondary {
    grid-column: span 4;
    grid-row: span 1;
}

.v2 .highlight-card-medium {
    grid-column: span 3;
    grid-row: span 1;
}

.v2 .highlight-card-small {
    grid-column: span 3;
    grid-row: span 1;
}

/* ----------------------------------------
   HIGHLIGHTS GRID 3 COLUNAS (V2)
   - Coluna 1: 1 destaque grande
   - Coluna 2: 2 destaques médios
   Bento Grid Layout:
   ┌───────────┬───────┐
   │     1     │   2   │
   │  (Grande) ├───┬───┤
   │           │ 3 │ 4 │
   └───────────┴───┴───┘
   ---------------------------------------- */

.v2 .highlights-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "main secondary"
        "main bottom";
    gap: var(--om-space-md);
    height: 420px;
}

/* Card principal - ocupa toda a altura à esquerda */
.v2 .bento-main {
    grid-area: main;
    min-height: 100%;
}

.v2 .bento-main .bento-card {
    height: 100%;
    min-height: 100%;
}

/* Card secundário - topo direito */
.v2 .bento-secondary {
    grid-area: secondary;
    min-height: 100%;
}

.v2 .bento-secondary .bento-card {
    height: 100%;
    min-height: 100%;
}

/* Container dos cards pequenos - embaixo à direita */
.v2 .bento-bottom {
    grid-area: bottom;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--om-space-md);
}

.v2 .bento-bottom .bento-card {
    height: 100%;
    min-height: 100%;
}

/* Estilos dos cards no Bento */
.v2 .bento-card {
    position: relative;
    display: block;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--om-transition-normal), box-shadow var(--om-transition-normal);
    width: 100%;
    height: 100%;
    background: var(--om-bg-dark);
}

.v2 .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-lg);
}

.v2 .bento-card-image {
    position: absolute;
    inset: 0;
}

.v2 .bento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--om-transition-normal);
}

.v2 .bento-card:hover .bento-card-image img {
    transform: scale(1.05);
}

.v2 .bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--om-space-md);
}

.v2 .bento-card-badge {
    position: absolute;
    top: var(--om-space-sm);
    left: var(--om-space-sm);
    z-index: 10;
    padding: 6px 12px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-xs);
    font-weight: var(--om-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.v2 .bento-card-badge.badge-video {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.v2 .bento-card-badge.badge-audio {
    background: rgba(65, 140, 131, 0.95); /* --om-primary: #418C83 */
    color: white;
}

.v2 .bento-card-badge.badge-article {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.v2 .bento-card-badge.badge-exercise {
    background: rgba(245, 158, 11, 0.95); /* Amber/Orange */
    color: white;
}

.v2 .bento-card-badge.badge-default {
    background: rgba(107, 114, 128, 0.95);
    color: white;
}

.v2 .bento-card-title {
    margin: 0;
    font-weight: var(--om-font-semibold);
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Tamanhos de título por posição */
.v2 .bento-main .bento-card-title {
    font-size: var(--om-text-xl);
    -webkit-line-clamp: 3;
}

.v2 .bento-secondary .bento-card-title {
    font-size: var(--om-text-base);
}

.v2 .bento-bottom .bento-card-title {
    font-size: var(--om-text-sm);
}

/* Play button para vídeos */
.v2 .bento-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--om-transition-fast), background var(--om-transition-fast);
}

.v2 .bento-main .bento-card-play {
    width: 64px;
    height: 64px;
}

.v2 .bento-card-play i {
    font-size: 20px;
    color: var(--om-primary);
    margin-left: 3px;
}

.v2 .bento-main .bento-card-play i {
    font-size: 28px;
}

.v2 .bento-card:hover .bento-card-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

/* Fallback para layout antigo - mantém compatibilidade */
.v2 .highlights-grid-3col {
    display: none;
}

/* Bento Grid - Responsivo Tablet */
@media (max-width: 992px) {
    .v2 .highlights-bento {
        height: 360px;
    }

    .v2 .bento-card-overlay {
        padding: var(--om-space-sm);
    }

    .v2 .bento-main .bento-card-title {
        font-size: var(--om-text-lg);
    }
}

/* Bento Grid - Responsivo Mobile */
@media (max-width: 768px) {
    .v2 .highlights-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "main"
            "secondary"
            "bottom";
        height: auto;
        gap: var(--om-space-sm);
    }

    .v2 .bento-main {
        height: 200px;
    }

    .v2 .bento-secondary {
        height: 160px;
    }

    .v2 .bento-bottom {
        height: auto;
    }

    .v2 .bento-bottom .bento-card {
        height: 140px;
    }

    .v2 .bento-main .bento-card-title {
        font-size: var(--om-text-base);
        -webkit-line-clamp: 2;
    }

    .v2 .bento-card-play {
        width: 44px;
        height: 44px;
    }

    .v2 .bento-main .bento-card-play {
        width: 52px;
        height: 52px;
    }

    .v2 .bento-card-play i {
        font-size: 18px;
    }

    .v2 .bento-main .bento-card-play i {
        font-size: 22px;
    }
}

/* Card base */
.v2 .highlight-card {
    position: relative;
    display: block;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--om-transition-fast), box-shadow var(--om-transition-fast);
}

.v2 .highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-lg);
}

.v2 .highlight-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.v2 .highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--om-transition-slow);
}

.v2 .highlight-card:hover .highlight-card-image img {
    transform: scale(1.05);
}

/* Overlay com gradiente */
.v2 .highlight-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--om-space-md);
}

/* Badge de categoria */
.v2 .highlight-card-badge {
    position: absolute;
    top: var(--om-space-sm);
    left: var(--om-space-sm);
    padding: 4px 10px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-xs);
    font-weight: var(--om-font-semibold);
    background: var(--om-primary);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Título do card */
.v2 .highlight-card-title {
    color: white;
    font-size: var(--om-text-lg);
    font-weight: var(--om-font-semibold);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card grande - título maior */
.v2 .highlight-card-large .highlight-card-title {
    font-size: var(--om-text-2xl);
    -webkit-line-clamp: 3;
}

.v2 .highlight-card-large .highlight-card-overlay {
    padding: var(--om-space-lg);
}

/* Cards pequenos - título menor */
.v2 .highlight-card-small .highlight-card-title {
    font-size: var(--om-text-sm);
    -webkit-line-clamp: 2;
}

.v2 .highlight-card-small .highlight-card-overlay {
    padding: var(--om-space-sm);
}

.v2 .highlight-card-small .highlight-card-badge {
    font-size: 10px;
    padding: 2px 6px;
}

/* Botão de play para vídeos */
.v2 .highlight-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--om-primary);
    font-size: 24px;
    box-shadow: var(--om-shadow-lg);
    transition: transform var(--om-transition-fast), background var(--om-transition-fast);
}

.v2 .highlight-card:hover .highlight-card-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.v2 .highlight-card-small .highlight-card-play {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

/* Square Cards - Cards quadrados com mesma largura e altura */
.v2 .square-card {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.v2 .square-card .content-card-image {
    aspect-ratio: 1 / 1;
    height: 140px;
}

.v2 .square-card .content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .square-card .content-card-body {
    padding: var(--om-space-sm);
    flex: 1;
}

.v2 .square-card .content-card-title {
    font-size: var(--om-text-sm);
    -webkit-line-clamp: 2;
}

.v2 .square-card .content-card-category {
    display: none;
}

.v2 .square-card .social-proof-stats {
    display: none;
}

/* Square Cards - Responsivo Tablet */
@media (max-width: 768px) {
    .v2 .square-card {
        width: 160px;
        height: 160px;
    }

    .v2 .square-card .content-card-image {
        height: 110px;
    }

    .v2 .square-card .content-card-body {
        padding: var(--om-space-xs);
    }

    .v2 .square-card .content-card-title {
        font-size: var(--om-text-xs);
        -webkit-line-clamp: 2;
    }
}

/* Square Cards - Responsivo Mobile */
@media (max-width: 480px) {
    .v2 .square-card {
        width: 140px;
        height: 140px;
    }

    .v2 .square-card .content-card-image {
        height: 95px;
    }

    .v2 .square-card .content-card-title {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* ----------------------------------------
   CARD COMPONENT V2
   - Hover com elevacao
   - Imagem com aspect-ratio
   - Badge de categoria
   - Meta info melhorada
   ---------------------------------------- */

.v2 .content-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--om-surface);
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    box-shadow: var(--om-shadow-sm);
    transition: all var(--om-transition-normal);
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.v2 .content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-lg);
}

.v2 .content-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.v2 .content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--om-transition-slow);
}

.v2 .content-card:hover .content-card-image img {
    transform: scale(1.05);
}

.v2 .content-card-badge {
    position: absolute;
    top: var(--om-space-sm);
    left: var(--om-space-sm);
    padding: var(--om-space-xs) var(--om-space-sm);
    background: var(--om-primary);
    color: white;
    font-size: var(--om-text-xs);
    font-weight: 600;
    border-radius: var(--om-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2 .content-card-badge.video {
    background: var(--om-error);
}

.v2 .content-card-badge.audio {
    background: var(--om-accent);
}

.v2 .content-card-badge.article {
    background: var(--om-info);
}

.v2 .content-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--om-transition-fast);
}

.v2 .content-card:hover .content-card-play {
    opacity: 1;
}

.v2 .content-card-play i {
    font-size: 24px;
    color: var(--om-primary);
    margin-left: 4px;
}

.v2 .content-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--om-space-md);
}

.v2 .social-proof-badge {
    position: absolute;
    bottom: var(--om-space-sm);
    left: var(--om-space-sm);
    padding: 6px 10px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-xs);
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.v2 .social-proof-badge.popular {
    background: linear-gradient(120deg, #f97316, #ea580c);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.4);
}

.v2 .social-proof-badge.new {
    background: linear-gradient(120deg, #22c55e, #16a34a);
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.35);
}

.v2 .content-card-category {
    font-size: var(--om-text-xs);
    color: var(--om-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--om-space-xs);
}

.v2 .content-card-title {
    font-size: var(--om-text-base);
    font-weight: 600;
    color: var(--om-text);
    margin: 0 0 var(--om-space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2 .highlight-card-main .content-card-title {
    font-size: var(--om-text-xl);
    -webkit-line-clamp: 3;
}

.v2 .content-card-excerpt {
    font-size: var(--om-text-sm);
    color: var(--om-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--om-space-sm);
}

.v2 .content-card-meta {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    margin-top: auto;
    padding-top: var(--om-space-sm);
    border-top: 1px solid var(--om-border-light);
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
}

.v2 .content-card-meta-item {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
}

.v2 .content-card-meta-item i {
    font-size: 14px;
}

/* ----------------------------------------
   CATEGORY SECTION V2
   - Grid responsivo
   - Header com ver todos
   ---------------------------------------- */

.v2 .category-section {
    padding: var(--om-space-xl) 0;
}

.v2 .category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--om-space-lg);
}

.v2 .category-section-title {
    font-size: var(--om-text-xl);
    font-weight: 700;
    color: var(--om-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .category-section-title i {
    color: var(--om-primary);
}

.v2 .category-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--om-space-lg);
}

/* ----------------------------------------
   CAROUSEL V2 (Splide Override)
   - Arrows customizados
   - Dots estilizados
   ---------------------------------------- */

.v2 .splide {
    padding: 0 40px;
}

.v2 .splide__list {
    justify-content: flex-start !important; /* garante alinhamento à esquerda quando trimSpace ativa */
}

.v2 .splide__slide {
    border-radius: var(--om-radius-lg);
    overflow: hidden;
}

.v2 .splide__slide img {
    border-radius: var(--om-radius-lg);
}

.v2 .content-card-image img,
.v2 .highlight-card-main img,
.v2 .highlight-card-secondary img,
.v2 .search-dropdown,
.v2 .search-item,
.v2 .search-item img,
.v2 .history-item,
.v2 .history-item-thumb img,
.v2 .trending-pill,
.v2 .footer-v2,
.v2 .continue-reading-v2,
.v2 .user-progress-widget {
    border-radius: var(--om-radius-lg);
}

.v2 .splide__arrow {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    box-shadow: var(--om-shadow-md);
    width: 40px;
    height: 40px;
    opacity: 1;
    transition: all var(--om-transition-fast);
}

.v2 .splide__arrow:hover {
    background: var(--om-primary);
    border-color: var(--om-primary);
}

.v2 .splide__arrow:hover svg {
    fill: white;
}

.v2 .splide__arrow--prev {
    left: 0;
}

.v2 .splide__arrow--next {
    right: 0;
}

.v2 .splide__pagination {
    bottom: -30px;
}

.v2 .splide__pagination__page {
    background: var(--om-border);
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: all var(--om-transition-fast);
}

.v2 .splide__pagination__page.is-active {
    background: var(--om-primary);
    transform: scale(1.2);
}

/* ----------------------------------------
   SPLIDE IMAGE CARDS - Estilo "Em Alta"
   Cards grandes com imagem e overlay
   ---------------------------------------- */

.v2 .splide-image-cards .splide__list {
    gap: var(--om-space-sm);
}

.v2 .splide-image-cards .splide__slide {
    padding: 0 var(--om-space-xs);
}

.v2 .splide-image-cards .carousel-image-card {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 200px;
    max-height: 280px;
}

.v2 .splide-image-cards .carousel-image-card .trending-image-card-title {
    font-size: var(--om-text-sm);
    -webkit-line-clamp: 2;
    /* Altura fixa para 2 linhas no carousel */
    min-height: calc(var(--om-text-sm) * 1.3 * 2);
    max-height: calc(var(--om-text-sm) * 1.3 * 2);
}

/* Responsivo - ajustes para mobile */
@media (max-width: 768px) {
    .v2 .splide-image-cards .carousel-image-card {
        aspect-ratio: 4 / 5;
        min-height: 160px;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .v2 .splide-image-cards .carousel-image-card {
        min-height: 140px;
        max-height: 180px;
    }
}

/* Splide Mobile - Indicadores visuais de scroll */
@media (max-width: 768px) {
    .v2 .splide {
        padding: 0 var(--om-space-md);
        position: relative;
    }

    /* Fade nas bordas para indicar scroll */
    .v2 .splide__track::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent, var(--om-bg-primary));
        pointer-events: none;
        z-index: 1;
    }

    .v2 .splide__pagination {
        bottom: -20px;
        gap: var(--om-space-xs);
    }

    .v2 .splide__pagination__page {
        width: 6px;
        height: 6px;
    }
}

/* ----------------------------------------
   FOOTER V2
   - Layout moderno
   - Links organizados
   - Botao scroll to top
   ---------------------------------------- */

/* Remover margins excessivos das seções V2 (sobrescreve CSS legado) */
.v2 .session-footer,
.v2 .favorite-session,
.v2 .search-post-type,
.v2 .trending-topics {
    margin-top: var(--om-space-xl);
    margin-bottom: var(--om-space-lg);
}

/* Primeira seção não precisa de margin-top extra */
.v2 .highlight-area {
    margin-top: 0;
}

/* Última seção antes do footer não precisa de margin */
.v2 .container > *:last-child {
    margin-bottom: 0;
}

.v2 .footer-v2 {
    /* Gradiente verde escuro oficial do Design System orienteme */
    background: linear-gradient(135deg, #004038 0%, #006A5B 50%, #004038 100%);
    color: #ffffff;
    padding: var(--om-space-2xl) 0 var(--om-space-lg);
    margin-top: var(--om-space-lg);
}

.v2 .footer-container {
    max-width: var(--om-container-xl);
    margin: 0 auto;
    padding: 0 var(--om-space-md);
}

.v2 .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--om-space-xl);
    margin-bottom: var(--om-space-xl);
}

.v2 .footer-brand {
    max-width: 300px;
}

.v2 .footer-logo {
    height: 40px;
    margin-bottom: var(--om-space-md);
}

.v2 .footer-description {
    font-size: var(--om-text-sm);
    color: rgba(208, 245, 223, 0.85); /* Verde Bem Claro com alpha */
    line-height: 1.6;
}

.v2 .footer-column-title {
    font-size: var(--om-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--om-space-md);
    color: #A0E2BA; /* Verde Claro do Design System */
}

.v2 .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v2 .footer-links li {
    margin-bottom: var(--om-space-sm);
}

.v2 .footer-links a {
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-size: var(--om-text-sm);
    transition: color var(--om-transition-fast);
}

.v2 .footer-links a:hover {
    color: #A0E2BA; /* Verde Claro do Design System */
}

.v2 .footer-social {
    display: flex;
    gap: var(--om-space-sm);
    margin-top: var(--om-space-md);
}

.v2 .footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--om-transition-fast);
}

.v2 .footer-social a:hover {
    background: var(--om-primary);
    transform: translateY(-2px);
}

.v2 .footer-column {
    min-width: 150px;
}

.v2 .footer-emergency {
    font-size: var(--om-text-sm);
}

.v2 .footer-emergency p {
    margin: 0 0 var(--om-space-sm);
    color: rgba(226, 232, 240, 0.9);
}

.v2 .footer-emergency-phone {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
    color: var(--om-primary-light);
    text-decoration: none;
    font-size: var(--om-text-lg);
    margin-bottom: var(--om-space-xs);
}

.v2 .footer-emergency-phone:hover {
    color: white;
}

.v2 .footer-emergency-subtitle {
    font-size: var(--om-text-xs);
    color: rgba(226, 232, 240, 0.65);
    margin: 0 0 var(--om-space-sm);
}

.v2 .footer-cvv-link {
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    font-size: var(--om-text-sm);
}

.v2 .footer-cvv-link:hover {
    color: var(--om-primary-light);
    text-decoration: underline;
}

.v2 .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--om-space-lg);
    border-top: 1px solid rgba(226, 232, 240, 0.12);
}

.v2 .footer-copyright {
    font-size: var(--om-text-xs);
    color: rgba(226, 232, 240, 0.7);
}

/* Scroll to Top Button */
.v2 .scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--om-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--om-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--om-transition-normal);
    z-index: var(--om-z-fixed);
}

.v2 .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.v2 .scroll-to-top:hover {
    background: var(--om-primary-dark);
    transform: translateY(-2px);
}

.v2 .scroll-to-top i {
    font-size: 20px;
}

/* ----------------------------------------
   DETAIL PAGES V2 (Videos, Audios, Blog)
   - Hero section
   - Content area
   - Sidebar relacionados
   ---------------------------------------- */

.v2 .detail-page {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--om-space-lg) clamp(16px, 3vw, 40px);
    background: var(--om-bg-primary);
    color: var(--om-text);
}

.v2 .detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
    font-size: var(--om-text-sm);
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-lg);
}

.v2 .detail-breadcrumb a {
    color: var(--om-text-secondary);
    text-decoration: none;
}

.v2 .detail-breadcrumb a:hover {
    color: var(--om-primary);
}

.v2 .detail-breadcrumb .separator {
    color: var(--om-text-muted);
}

.v2 .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 360px);
    gap: var(--om-space-xl);
}

.v2 .detail-layout.detail-layout-full {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.v2 .detail-main {
    min-width: 0;
}

/* Continue Reading Section - V2 */
.v2 .continue-reading-section {
    margin-top: var(--om-space-2xl);
    padding-top: var(--om-space-xl);
    border-top: 1px solid var(--om-border-light);
}

.v2 .continue-reading-section .section-header {
    margin-bottom: var(--om-space-lg);
}

.v2 .continue-reading-section .section-title {
    font-size: var(--om-text-xl);
    font-weight: var(--om-font-semibold);
    color: var(--om-text-primary);
    margin: 0;
}

.v2 .detail-sidebar {
    position: sticky;
    top: calc(var(--om-header-height) + 16px);
    align-self: start;
}

/* Detail Layout - Responsivo Mobile */
@media (max-width: 768px) {
    .v2 .detail-layout {
        grid-template-columns: 1fr;
        gap: var(--om-space-lg);
    }

    .v2 .detail-sidebar {
        position: static;
        margin-top: var(--om-space-lg);
    }

    .v2 .detail-page {
        padding: var(--om-space-md);
    }

    .v2 .detail-breadcrumb {
        margin-bottom: var(--om-space-md);
    }
}

.v2 .detail-page .detail-type,
.v2 .detail-page .detail-title,
.v2 .detail-page .detail-text,
.v2 .detail-page .detail-autor,
.v2 .detail-page .detail-autor a {
    color: var(--om-text);
}

.v2 .detail-page .detail-player {
    border: none;
    background: linear-gradient(135deg, #006A5B 0%, #009884 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--om-radius-md);
    font-weight: var(--om-font-semibold);
    cursor: pointer;
    transition: all var(--om-transition-fast);
    box-shadow: 0 4px 12px rgba(0, 106, 91, 0.3);
}

.v2 .detail-page .detail-player:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 106, 91, 0.4);
}

.v2 .detail-page .detail-player .icon-play {
    color: #ffffff;
}

.v2 .detail-page .detail-player span {
    color: #ffffff;
}

.v2 .detail-page .detail-tags .badge {
    background: var(--om-bg-primary);
    color: var(--om-text);
    border: 1px solid var(--om-border-light);
}

.v2 .detail-page .all-info img,
.v2 .detail-audio .detail-img img {
    border-radius: var(--om-radius-lg);
}

/* Limitar tamanho de imagens/vídeos no detalhe para melhor leitura */
.v2 .detail-blog .all-info .info-img {
    max-width: 680px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto var(--om-space-lg);
}

/* VIDEO DETAIL */
.v2 .detail-video .video-frame {
    position: relative;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 16 / 9;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    box-shadow: var(--om-shadow-md);
    margin: 0 auto var(--om-space-lg);
}

.v2 .detail-video .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--om-radius-lg);
}

/* AUDIO DETAIL */
.v2 .detail-audio .detail-img {
    max-width: 400px;
    margin: 0 auto var(--om-space-lg);
}

.v2 .detail-audio .detail-img img {
    border-radius: var(--om-radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--om-shadow-sm);
}

.v2 .detail-hero {
    margin-bottom: var(--om-space-lg);
}

.v2 .detail-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    background: var(--om-surface-alt);
}

.v2 .detail-hero-media img,
.v2 .detail-hero-media video,
.v2 .detail-hero-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .detail-category {
    display: inline-block;
    padding: var(--om-space-xs) var(--om-space-sm);
    background: var(--om-primary);
    color: white;
    font-size: var(--om-text-xs);
    font-weight: 600;
    border-radius: var(--om-radius-sm);
    text-transform: uppercase;
    margin-bottom: var(--om-space-sm);
}

.v2 .detail-title,
.v2 .detail-page .info-title {
    font-size: var(--om-text-3xl);
    font-weight: 700;
    color: var(--om-text);
    line-height: 1.3;
    margin: 0 0 var(--om-space-md);
    text-align: left;
}

/* Texto justificado nas páginas de detalhe */
.v2 .detail-text,
.v2 .detail-page .info-description,
.v2 .detail-page .info-description p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.v2 .detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--om-space-md);
    font-size: var(--om-text-sm);
    color: var(--om-text-secondary);
    margin-bottom: var(--om-space-lg);
    padding-bottom: var(--om-space-lg);
    border-bottom: 1px solid var(--om-border);
}

.v2 .detail-meta-item {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
}

.v2 .detail-author {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .detail-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.v2 .detail-author-info {
    display: flex;
    flex-direction: column;
}

.v2 .detail-author-name {
    font-weight: 600;
    color: var(--om-text);
}

.v2 .detail-author-role {
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
}

.v2 .detail-content {
    font-size: var(--om-text-base);
    line-height: 1.8;
    color: var(--om-text-secondary);
}

.v2 .detail-content h2 {
    font-size: var(--om-text-xl);
    font-weight: 700;
    color: var(--om-text);
    margin: var(--om-space-xl) 0 var(--om-space-md);
}

.v2 .detail-content h3 {
    font-size: var(--om-text-lg);
    font-weight: 600;
    color: var(--om-text);
    margin: var(--om-space-lg) 0 var(--om-space-sm);
}

.v2 .detail-content p {
    margin-bottom: var(--om-space-md);
}

.v2 .detail-content ul,
.v2 .detail-content ol {
    margin-bottom: var(--om-space-md);
    padding-left: var(--om-space-lg);
}

.v2 .detail-content li {
    margin-bottom: var(--om-space-xs);
}

.v2 .detail-content blockquote {
    margin: var(--om-space-lg) 0;
    padding: var(--om-space-md) var(--om-space-lg);
    border-left: 4px solid var(--om-primary);
    background: var(--om-surface-alt);
    border-radius: 0 var(--om-radius-md) var(--om-radius-md) 0;
    font-style: italic;
    color: var(--om-text);
}

/* Sidebar Related */
.v2 .sidebar-section {
    background: var(--om-surface);
    border-radius: var(--om-radius-lg);
    padding: var(--om-space-lg);
    margin-bottom: var(--om-space-lg);
    box-shadow: var(--om-shadow-sm);
}

.v2 .sidebar-title {
    font-size: var(--om-text-base);
    font-weight: 700;
    color: var(--om-text);
    margin: 0 0 var(--om-space-md);
    padding-bottom: var(--om-space-sm);
    border-bottom: 2px solid var(--om-primary);
}

.v2 .sidebar-card {
    display: flex;
    gap: var(--om-space-sm);
    padding: var(--om-space-sm) 0;
    border-bottom: 1px solid var(--om-border-light);
    text-decoration: none;
    color: inherit;
    transition: all var(--om-transition-fast);
}

.v2 .sidebar-card:last-child {
    border-bottom: none;
}

.v2 .sidebar-card:hover {
    background: var(--om-surface-alt);
    margin: 0 calc(var(--om-space-sm) * -1);
    padding-left: var(--om-space-sm);
    padding-right: var(--om-space-sm);
    border-radius: var(--om-radius-md);
}

.v2 .sidebar-card-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--om-radius-sm);
    overflow: hidden;
}

.v2 .sidebar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .sidebar-card-content {
    flex: 1;
    min-width: 0;
}

.v2 .sidebar-card-title {
    font-size: var(--om-text-sm);
    font-weight: 600;
    color: var(--om-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 var(--om-space-xs);
}

.v2 .sidebar-card-meta {
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
}

/* ----------------------------------------
   AUDIO PLAYER V2
   ---------------------------------------- */

.v2 .audio-player {
    background: var(--om-surface-alt);
    border-radius: var(--om-radius-lg);
    padding: var(--om-space-lg);
    margin: var(--om-space-lg) 0;
}

.v2 .audio-player-controls {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
}

.v2 .audio-play-btn {
    width: 56px;
    height: 56px;
    background: var(--om-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--om-transition-fast);
}

.v2 .audio-play-btn:hover {
    background: var(--om-primary-dark);
    transform: scale(1.05);
}

.v2 .audio-play-btn i {
    font-size: 24px;
    margin-left: 2px;
}

.v2 .audio-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--om-space-xs);
}

.v2 .audio-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--om-border);
    border-radius: var(--om-radius-full);
    cursor: pointer;
    overflow: hidden;
}

.v2 .audio-progress-fill {
    height: 100%;
    background: var(--om-primary);
    border-radius: var(--om-radius-full);
    transition: width var(--om-transition-fast);
}

.v2 .audio-time {
    display: flex;
    justify-content: space-between;
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
}

.v2 .audio-skip-btns {
    display: flex;
    gap: var(--om-space-xs);
}

.v2 .audio-skip-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--om-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--om-text-secondary);
    transition: all var(--om-transition-fast);
}

.v2 .audio-skip-btn:hover {
    border-color: var(--om-primary);
    color: var(--om-primary);
}

/* ----------------------------------------
   EMPTY STATE V2
   ---------------------------------------- */

.v2 .empty-state {
    text-align: center;
    padding: var(--om-space-2xl);
}

.v2 .empty-state-icon {
    font-size: 64px;
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-md);
}

.v2 .empty-state-title {
    font-size: var(--om-text-xl);
    font-weight: 600;
    color: var(--om-text);
    margin: 0 0 var(--om-space-sm);
}

.v2 .empty-state-text {
    font-size: var(--om-text-base);
    color: var(--om-text-secondary);
    margin: 0 0 var(--om-space-lg);
}

/* ----------------------------------------
   LOADING STATE V2
   ---------------------------------------- */

.v2 .skeleton {
    background: linear-gradient(90deg, var(--om-surface-alt) 25%, var(--om-border-light) 50%, var(--om-surface-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--om-radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.v2 .skeleton-card {
    height: 300px;
}

.v2 .skeleton-text {
    height: 16px;
    margin-bottom: var(--om-space-sm);
}

.v2 .skeleton-text.short {
    width: 60%;
}

.v2 .skeleton-title {
    height: 24px;
    margin-bottom: var(--om-space-md);
}

/* ----------------------------------------
   RESPONSIVE - TABLET (768px - 992px)
   Breakpoint: --om-bp-lg (992px)
   ---------------------------------------- */

@media (max-width: 992px) {
    .v2 .highlight-card-large,
    .v2 .highlight-card-medium,
    .v2 .highlight-card-small {
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
    }

    /* Grid 3 colunas - Tablet: 2 colunas */
    .v2 .highlights-grid-3col {
        grid-template-columns: 1fr 1fr;
        height: auto;
        min-height: 0;
    }

    .v2 .highlight-col-main {
        grid-column: span 2;
    }

    .v2 .highlight-col-main .highlight-card {
        height: 280px;
    }

    .v2 .highlight-col-medium,
    .v2 .highlight-col-small {
        grid-column: span 1;
    }

    .v2 .highlight-col-medium .highlight-card,
    .v2 .highlight-col-small .highlight-card {
        height: 140px;
    }

    /* Grid antigo */
    .v2 .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2 .highlight-card-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .v2 .highlight-card-secondary,
    .v2 .highlight-card-medium,
    .v2 .highlight-card-small {
        grid-column: span 1;
    }

    .v2 .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2 .detail-layout {
        grid-template-columns: 1fr;
    }

    .v2 .detail-sidebar {
        position: static;
    }
}

/* ----------------------------------------
   RESPONSIVE - MOBILE (< 768px)
   Breakpoint: --om-bp-md (768px)
   ---------------------------------------- */

@media (max-width: 768px) {
    .v2 .header-v2 {
        padding: var(--om-space-sm) var(--om-space-md);
        min-height: var(--om-header-height-mobile);
    }

    .v2 .header-container {
        flex-wrap: nowrap;
        gap: var(--om-space-sm);
        justify-content: space-between;
    }

    /* Mobile: Esconder busca, extras e user - tudo vai pro menu hamburger */
    .v2 .header-search {
        display: none !important;
    }

    .v2 .header-extras {
        display: none !important;
    }

    .v2 .header-user {
        display: none !important;
    }

    /* Mobile: Apenas logo e hamburger visíveis */
    .v2 .header-logo {
        order: 1;
        flex-shrink: 0;
    }

    .v2 .header-logo img {
        height: 32px;
    }

    .v2 .header-nav {
        order: 2;
        margin-left: auto;
        gap: 0;
    }

    .v2 .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .v2 .menu-toggle .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .v2 .mobile-menu-overlay {
        display: block;
    }

    /* Category chips - oculto em mobile, categorias vão pro menu hamburguer */
    .v2 .category-chips-wrapper {
        display: none !important;
    }

    /* Grid 3 colunas - Mobile: 1 coluna vertical */
    .v2 .highlights-grid-3col {
        grid-template-columns: 1fr;
        height: auto;
    }

    .v2 .highlight-col-main,
    .v2 .highlight-col-medium,
    .v2 .highlight-col-small {
        grid-column: span 1;
    }

    .v2 .highlight-col-main .highlight-card {
        height: 220px;
    }

    .v2 .highlight-col-medium .highlight-card {
        height: 160px;
    }

    .v2 .highlight-col-small .highlight-card {
        height: 120px;
    }

    .v2 .highlight-card-large .highlight-card-title {
        font-size: var(--om-text-xl);
    }

    /* Grid antigo */
    .v2 .highlights-grid {
        grid-template-columns: 1fr;
    }

    .v2 .highlight-card-main,
    .v2 .highlight-card-secondary {
        grid-column: span 1;
    }

    .v2 .category-section-grid {
        grid-template-columns: 1fr;
    }

    .v2 .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .v2 .footer-brand {
        max-width: none;
    }

    .v2 .footer-social {
        justify-content: center;
    }

    .v2 .footer-bottom {
        flex-direction: column;
        gap: var(--om-space-sm);
        text-align: center;
    }

    .v2 .footer-column {
        min-width: auto;
    }

    .v2 .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--om-space-sm) var(--om-space-md);
    }

    .v2 .footer-links li {
        margin-bottom: 0;
    }

    .v2 .detail-title {
        font-size: var(--om-text-2xl);
    }

    .v2 .detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .v2 .splide {
        padding: 0 var(--om-space-md);
    }

    .v2 .splide__arrow {
        display: none;
    }

    .v2 .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* Mobile Menu - Widgets mostram info completa no menu lateral */
    .v2 .mobile-menu .user-progress-widget {
        padding: var(--om-space-sm);
        gap: var(--om-space-sm);
        background: rgba(0, 106, 91, 0.05);
        border-radius: var(--om-radius-md);
    }

    .v2 .mobile-menu .user-progress-widget .progress-details,
    .v2 .mobile-menu .user-progress-widget .stat-label {
        display: flex;
    }

    .v2 .mobile-menu .streak-badge {
        padding: 6px 12px;
        background: rgba(255, 107, 53, 0.15);
        border-radius: var(--om-radius-full);
    }

    .v2 .mobile-menu .streak-badge .streak-icon {
        font-size: 16px;
    }

    .v2 .mobile-menu .streak-badge .streak-count {
        font-size: var(--om-text-base);
        font-weight: var(--om-font-semibold);
    }

    .v2 .history-dropdown .history-toggle {
        padding: var(--om-space-xs);
    }

    .v2 .history-dropdown .history-toggle i {
        font-size: 18px;
        color: #f8fafc;
    }

    .v2 .history-badge {
        width: 6px;
        height: 6px;
    }

    /* Menu histórico em mobile - fullscreen */
    .v2 .history-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        z-index: calc(var(--om-z-modal) + 2);
    }

    .v2 .history-menu-header {
        padding: var(--om-space-lg) var(--om-space-md);
        border-bottom: 1px solid var(--om-border);
    }
}

/* ----------------------------------------
   RESPONSIVE - MOBILE PEQUENO (< 480px)
   Para dispositivos muito pequenos
   ---------------------------------------- */

@media (max-width: 480px) {
    .v2 .header-logo img {
        height: 24px;
    }

    /* Header ainda mais compacto */
    .v2 .header-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .v2 .header-search {
        max-width: 140px;
    }

    .v2 .header-search input {
        padding: 6px 8px 6px 28px;
    }

    .v2 .header-search .search-icon {
        left: 8px;
        font-size: 12px;
    }

    .v2 .header-user-avatar {
        width: 28px;
        height: 28px;
    }

    /* Esconder widget de progresso em telas muito pequenas */
    .v2 .user-progress-widget {
        display: none;
    }

    /* Category chips menores */
    .v2 .category-chip {
        padding: 4px 10px;
        font-size: 11px;
    }

    .v2 .category-chip i {
        display: none;
    }

    .v2 .highlight-card-main .content-card-title {
        font-size: var(--om-text-lg);
    }

    .v2 .content-card-body {
        padding: var(--om-space-sm);
    }

    .v2 .content-card-title {
        font-size: var(--om-text-sm);
    }

    .v2 .sidebar-section {
        padding: var(--om-space-md);
    }

    .v2 .audio-player {
        padding: var(--om-space-md);
    }

    .v2 .audio-play-btn {
        width: 48px;
        height: 48px;
    }

    .v2 .audio-play-btn i {
        font-size: 20px;
    }
}

/* ----------------------------------------
   CARD 3D HOVER EFFECTS (V2 Enhanced)
   ---------------------------------------- */

.v2 .content-card.card-3d-hover {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform var(--om-ease-duration-fast) var(--om-ease-smooth),
                box-shadow var(--om-ease-duration-fast) var(--om-ease-smooth);
}

.v2 .content-card.card-3d-hover:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg) scale(var(--om-scale-hover));
    box-shadow: var(--om-shadow-xl),
                0 20px 40px rgba(65, 140, 131, 0.15),
                0 0 0 1px rgba(65, 140, 131, 0.1);
}

/* Shine effect on card hover */
.v2 .content-card.card-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.v2 .content-card.card-shine:hover::before {
    left: 100%;
}

/* Enhanced image zoom */
.v2 .content-card.card-3d-hover:hover .content-card-image img {
    transform: scale(1.1);
}

/* ----------------------------------------
   SOCIAL PROOF BADGES
   ---------------------------------------- */

.v2 .social-proof {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
    margin-top: var(--om-space-sm);
}

.v2 .social-proof-item {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
}

.v2 .social-proof-item i {
    font-size: 14px;
}

.v2 .social-proof-item.favorites i {
    color: #ff6b6b;
}

.v2 .social-proof-item.views i {
    color: var(--om-text-muted);
}

/* Badge Popular */
.v2 .badge-popular-v2 {
    position: absolute;
    top: var(--om-space-sm);
    right: var(--om-space-sm);
    padding: var(--om-space-xs) var(--om-space-sm);
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--om-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.v2 .badge-popular-v2 i {
    font-size: 10px;
}

/* Badge Novo */
.v2 .badge-new-v2 {
    position: absolute;
    top: var(--om-space-sm);
    right: var(--om-space-sm);
    padding: var(--om-space-xs) var(--om-space-sm);
    background: var(--om-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--om-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgeNew 0.6s var(--om-ease-spring);
}

/* ----------------------------------------
   USER PROGRESS WIDGET
   ---------------------------------------- */

.v2 .user-progress-widget {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    padding: var(--om-space-sm) var(--om-space-md);
    background: var(--om-bg-primary);
    border-radius: var(--om-radius-lg);
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .user-progress-widget:hover {
    background: var(--om-primary);
    color: white;
}

.v2 .user-progress-widget:hover .streak-fire .fire-icon {
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8));
}

.v2 .streak-badge {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
    font-weight: var(--om-font-semibold);
}

.v2 .streak-badge .fire-icon {
    font-size: 20px;
    color: #ff6b35;
    animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

.v2 .streak-count {
    font-size: var(--om-text-lg);
    font-weight: var(--om-font-bold);
}

.v2 .streak-label {
    font-size: var(--om-text-xs);
    opacity: 0.8;
}

/* Progress Ring */
.v2 .progress-ring-container {
    position: relative;
    width: 44px;
    height: 44px;
}

.v2 .progress-ring-container .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--om-text-xs);
    font-weight: var(--om-font-bold);
}

/* ----------------------------------------
   TRENDING TOPICS
   ---------------------------------------- */

.v2 .trending-section {
    padding: var(--om-space-xl) 0;
}

.v2 .trending-topics {
    background: linear-gradient(135deg, rgba(98, 193, 173, 0.08), rgba(15, 23, 42, 0.08));
    border: 1px solid var(--om-border-light);
    border-radius: var(--om-radius-xl);
    padding: var(--om-space-lg);
    box-shadow: var(--om-shadow-md);
}

.v2 .trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--om-space-md);
    margin-bottom: var(--om-space-md);
}

.v2 .trending-title-wrap {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .trending-title {
    margin: 0;
    font-size: var(--om-text-xl);
    font-weight: var(--om-font-bold);
    color: var(--om-text);
}

.v2 .trending-subtitle {
    margin: 0;
    color: var(--om-text-secondary);
    font-size: var(--om-text-sm);
}

.v2 .trending-icon {
    font-size: 24px;
}

.v2 .trending-badge {
    padding: 6px 12px;
    border-radius: var(--om-radius-full);
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: #fff;
    font-size: var(--om-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2 .trending-pills {
    display: none;
}

.v2 .trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--om-space-md);
}

.v2 .trending-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--om-space-sm);
    padding: var(--om-space-md);
    border-radius: var(--om-radius-lg);
    border: 1px solid var(--om-border-light);
    background: #fff;
    cursor: pointer;
    transition: transform var(--om-transition-fast), box-shadow var(--om-transition-fast), border-color var(--om-transition-fast);
    box-shadow: var(--om-shadow-sm);
    text-align: left;
}

.v2 .trending-pill .pill-left {
    display: flex;
    align-items: center;
    gap: var(--om-space-xs);
}

.v2 .trending-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--om-shadow-md);
    border-color: var(--om-border);
}

.v2 .trending-rank {
    width: 42px;
    height: 42px;
    border-radius: var(--om-radius-full);
    display: grid;
    place-items: center;
    font-weight: var(--om-font-bold);
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.v2 .trending-card.hot .trending-rank {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.24);
}

.v2 .trending-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--om-space-xxs);
}

.v2 .trending-card-title {
    margin: 0;
    font-size: var(--om-text-base);
    font-weight: var(--om-font-semibold);
    color: var(--om-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2 .trending-card-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: var(--om-text-sm);
    color: var(--om-text-secondary);
}

.v2 .meta-label {
    text-transform: lowercase;
}

.v2 .trending-card-icon {
    font-size: 18px;
    opacity: 0.7;
}

.v2 .trending-card.hot {
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.06), rgba(234, 88, 12, 0.02));
    border-color: rgba(234, 88, 12, 0.35);
}

.v2 .trending-card.warm {
    background: linear-gradient(120deg, rgba(34, 197, 94, 0.06), rgba(34, 197, 94, 0.02));
    border-color: rgba(34, 197, 94, 0.25);
}

.v2 .trending-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-xs);
    font-weight: var(--om-font-semibold);
    color: #fff;
    width: fit-content;
}

.v2 .trending-chip.chip-live {
    background: linear-gradient(120deg, #f97316, #ea580c);
}

.v2 .trending-chip.chip-trend {
    background: linear-gradient(120deg, #22c55e, #16a34a);
}

.v2 .pill-count {
    background: rgba(15, 23, 42, 0.06);
    padding: 2px 8px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-xs);
    color: var(--om-text);
}

.v2 .trending-pill.hot .pill-count {
    background: rgba(234, 88, 12, 0.12);
    color: #9a3412;
}

.v2 .trending-pill.warm .pill-count {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.v2 .pill-hot-icon {
    font-size: 14px;
}

/* Trending - Link "Ver todos" */
.v2 .trending-see-all {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-semibold);
    color: var(--om-primary);
    text-decoration: none;
    transition: all var(--om-transition-fast);
}

.v2 .trending-see-all:hover {
    color: var(--om-primary-dark);
    gap: 10px;
}

/* Trending - Grid de Cards com Imagem */
.v2 .trending-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--om-space-md);
}

@media (min-width: 768px) {
    .v2 .trending-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category Chips - Visível apenas no desktop */
    .v2 .category-chips-wrapper {
        display: flex;
        justify-content: center;
        padding: var(--om-space-xs) var(--om-space-md);
    }
}

@media (min-width: 1200px) {
    .v2 .trending-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Trending - Card com Imagem (estilo Netflix) */
.v2 .trending-image-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--om-bg-secondary);
    box-shadow: var(--om-shadow-sm);
    transition: all var(--om-transition-normal);
}

.v2 .trending-image-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--om-shadow-xl);
}

.v2 .trending-image-card:hover .trending-image-card-bg img {
    transform: scale(1.1);
}

.v2 .trending-image-card.hot {
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}

.v2 .trending-image-card.hot:hover {
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
}

/* Card Background Image */
.v2 .trending-image-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.v2 .trending-image-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--om-transition-normal);
}

/* Card Overlay Gradient */
.v2 .trending-image-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--om-space-sm);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* Top Row - Rank + Type Badge */
.v2 .trending-image-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Rank Badge */
.v2 .trending-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: var(--om-radius-full);
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-bold);
    backdrop-filter: blur(8px);
}

.v2 .trending-rank-badge.rank-hot {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.v2 .trending-rank-badge.rank-warm {
    background: rgba(255, 255, 255, 0.9);
    color: var(--om-text);
    box-shadow: var(--om-shadow-sm);
}

.v2 .trending-rank-badge .rank-icon {
    font-size: 12px;
}

.v2 .trending-rank-badge .rank-number {
    font-weight: var(--om-font-extrabold);
}

/* Type Badge */
.v2 .trending-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: var(--om-radius-full);
    font-size: 11px;
    font-weight: var(--om-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9);
    color: var(--om-text);
}

/* Badges de tipo - Paleta oficial orienteme */
.v2 .trending-type-badge.badge-video {
    background: linear-gradient(135deg, #006A5B, #004038);
    color: white;
}

.v2 .trending-type-badge.badge-audio {
    background: linear-gradient(135deg, #009884, #006A5B);
    color: white;
}

.v2 .trending-type-badge.badge-article {
    background: linear-gradient(135deg, #6CCA98, #4CA585);
    color: white;
}

.v2 .trending-type-badge i {
    font-size: 11px;
}

/* Bottom Row - Title + Stats */
.v2 .trending-image-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2 .trending-image-card-title {
    margin: 0;
    font-size: var(--om-text-base);
    font-weight: var(--om-font-semibold);
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* Altura fixa para 2 linhas: font-size * line-height * 2 */
    min-height: calc(var(--om-text-base) * 1.3 * 2);
    max-height: calc(var(--om-text-base) * 1.3 * 2);
}

.v2 .trending-image-card-stats {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .trending-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--om-text-xs);
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--om-font-medium);
}

.v2 .trending-views i {
    font-size: 12px;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .v2 .trending-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--om-space-sm);
    }

    .v2 .trending-image-card {
        aspect-ratio: 2 / 3;
    }

    .v2 .trending-image-card-overlay {
        padding: var(--om-space-xs);
    }

    .v2 .trending-rank-badge {
        padding: 4px 8px;
        font-size: 11px;
    }

    .v2 .trending-type-badge {
        padding: 3px 6px;
        font-size: 9px;
    }

    .v2 .trending-image-card-title {
        font-size: var(--om-text-sm);
        -webkit-line-clamp: 2;
        /* Altura fixa para 2 linhas no mobile */
        min-height: calc(var(--om-text-sm) * 1.3 * 2);
        max-height: calc(var(--om-text-sm) * 1.3 * 2);
    }
}

/* ----------------------------------------
   CONTENT CARDS GRID (Favoritos, Blog)
   ---------------------------------------- */

.v2 .content-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--om-space-md);
}

@media (min-width: 768px) {
    .v2 .content-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .v2 .content-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Content Card (estilo Netflix sem ranking) */
.v2 .content-image-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--om-bg-secondary);
    box-shadow: var(--om-shadow-sm);
    transition: all var(--om-transition-normal);
}

.v2 .content-image-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--om-shadow-xl);
}

.v2 .content-image-card:hover .content-image-card-bg img {
    transform: scale(1.1);
}

/* Card Background Image */
.v2 .content-image-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.v2 .content-image-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--om-transition-normal);
}

/* Card Overlay Gradient */
.v2 .content-image-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--om-space-sm);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* Top Row - Type Badge */
.v2 .content-image-card-top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Type Badge - Paleta oficial orienteme */
.v2 .content-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: var(--om-radius-full);
    font-size: 11px;
    font-weight: var(--om-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9);
    color: var(--om-text);
}

.v2 .content-type-badge.badge-video {
    background: linear-gradient(135deg, #006A5B, #004038);
    color: white;
}

.v2 .content-type-badge.badge-audio {
    background: linear-gradient(135deg, #009884, #006A5B);
    color: white;
}

.v2 .content-type-badge.badge-article {
    background: linear-gradient(135deg, #6CCA98, #4CA585);
    color: white;
}

.v2 .content-type-badge i {
    font-size: 11px;
}

/* Bottom Row - Title */
.v2 .content-image-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2 .content-image-card-title {
    margin: 0;
    font-size: var(--om-text-base);
    font-weight: var(--om-font-semibold);
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .v2 .content-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--om-space-sm);
    }

    .v2 .content-image-card {
        aspect-ratio: 2 / 3;
    }

    .v2 .content-image-card-overlay {
        padding: var(--om-space-xs);
    }

    .v2 .content-type-badge {
        padding: 3px 6px;
        font-size: 9px;
    }

    .v2 .content-image-card-title {
        font-size: var(--om-text-sm);
        -webkit-line-clamp: 2;
    }
}

/* ----------------------------------------
   HISTORY DROPDOWN
   ---------------------------------------- */

.v2 .history-dropdown {
    position: relative;
}

.v2 .history-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--om-space-xs);
    padding: var(--om-space-sm);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    border-radius: var(--om-radius-md);
    transition: all var(--om-transition-fast);
    min-width: 40px;
    min-height: 40px;
}

.v2 .history-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.v2 .history-toggle i {
    font-size: 20px;
}

.v2 .history-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    background: var(--om-bg-secondary);
    border-radius: var(--om-radius-lg);
    box-shadow: var(--om-shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--om-transition-fast);
    z-index: var(--om-z-dropdown);
}

.v2 .history-dropdown.open .history-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.v2 .history-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--om-space-md);
    border-bottom: 1px solid var(--om-border-light);
}

.v2 .history-menu-header h4 {
    margin: 0;
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-semibold);
}

.v2 .history-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--om-space-xs);
    font-size: var(--om-text-xs);
    color: var(--om-primary);
    background: transparent;
    border: none;
    padding: var(--om-space-xs) var(--om-space-sm);
    border-radius: var(--om-radius-sm);
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .history-clear-btn:hover {
    background: rgba(65, 140, 131, 0.1);
    color: var(--om-primary-dark);
}

.v2 .history-clear-btn i {
    font-size: 12px;
}

/* Header actions container */
.v2 .history-header-actions {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

/* Botão de fechar - escondido em desktop */
.v2 .history-close-btn {
    display: none;
    background: transparent;
    border: none;
    padding: var(--om-space-xs);
    color: var(--om-text-muted);
    cursor: pointer;
    border-radius: var(--om-radius-sm);
    transition: all var(--om-transition-fast);
}

.v2 .history-close-btn:hover {
    background: var(--om-surface-alt);
    color: var(--om-text);
}

.v2 .history-close-btn i {
    font-size: 18px;
}

/* Overlay mobile - escondido em desktop */
.v2 .history-overlay-mobile {
    display: none;
}

/* Mobile: mostrar botão de fechar e overlay */
@media (max-width: 768px) {
    .v2 .history-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .v2 .history-overlay-mobile {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: calc(var(--om-z-modal) + 1);
    }
}

.v2 .history-list {
    max-height: 300px;
    overflow-y: auto;
}

.v2 .history-item {
    display: flex;
    gap: var(--om-space-sm);
    padding: var(--om-space-sm) var(--om-space-md);
    text-decoration: none;
    color: inherit;
    transition: background var(--om-transition-fast);
}

.v2 .history-item:hover {
    background: var(--om-bg-primary);
}

.v2 .history-item-image {
    width: 60px;
    height: 45px;
    border-radius: var(--om-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.v2 .history-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .history-item-content {
    flex: 1;
    min-width: 0;
}

.v2 .history-item-title {
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-medium);
    color: var(--om-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2 .history-item-meta {
    font-size: var(--om-text-xs);
    color: var(--om-text-muted);
}

.v2 .history-menu-footer {
    padding: var(--om-space-sm) var(--om-space-md);
    border-top: 1px solid var(--om-border-light);
    text-align: center;
}

.v2 .history-view-all {
    font-size: var(--om-text-sm);
    color: var(--om-primary);
    text-decoration: none;
}

.v2 .history-view-all:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   COMPLETION CELEBRATION MODAL
   ---------------------------------------- */

.v2 .celebration-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--om-z-modal);
    pointer-events: none;
}

.v2 .celebration-modal.active {
    pointer-events: auto;
}

.v2 .celebration-content {
    background: var(--om-bg-secondary);
    border-radius: var(--om-radius-xl);
    padding: var(--om-space-2xl);
    text-align: center;
    max-width: 400px;
    transform: scale(0.8);
    opacity: 0;
    transition: all var(--om-ease-duration-fast) var(--om-ease-spring);
}

.v2 .celebration-modal.active .celebration-content {
    transform: scale(1);
    opacity: 1;
}

.v2 .celebration-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--om-space-lg);
    background: linear-gradient(135deg, var(--om-primary) 0%, var(--om-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s var(--om-ease-spring);
}

.v2 .celebration-icon i {
    font-size: 40px;
    color: white;
}

.v2 .celebration-title {
    font-size: var(--om-text-2xl);
    font-weight: var(--om-font-bold);
    margin-bottom: var(--om-space-sm);
}

.v2 .celebration-message {
    font-size: var(--om-text-base);
    color: var(--om-text-secondary);
    margin-bottom: var(--om-space-lg);
}

.v2 .celebration-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--om-space-sm);
    padding: var(--om-space-sm) var(--om-space-lg);
    background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%);
    color: white;
    border-radius: var(--om-radius-full);
    font-weight: var(--om-font-semibold);
    margin-bottom: var(--om-space-lg);
    animation: badgeNew 0.6s var(--om-ease-spring) 0.3s backwards;
}

.v2 .celebration-actions {
    display: flex;
    gap: var(--om-space-sm);
    justify-content: center;
}

.v2 .celebration-btn {
    padding: var(--om-space-sm) var(--om-space-xl);
    border-radius: var(--om-radius-full);
    font-weight: var(--om-font-semibold);
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .celebration-btn-primary {
    background: var(--om-primary);
    color: white;
    border: none;
}

.v2 .celebration-btn-primary:hover {
    background: var(--om-primary-dark);
    transform: translateY(-2px);
}

.v2 .celebration-btn-secondary {
    background: transparent;
    color: var(--om-text-secondary);
    border: 1px solid var(--om-border-medium);
}

.v2 .celebration-btn-secondary:hover {
    border-color: var(--om-primary);
    color: var(--om-primary);
}

/* ----------------------------------------
   FOR YOU SECTION
   ---------------------------------------- */

.v2 .for-you-section {
    padding: var(--om-space-xl) var(--om-space-md);
    background: linear-gradient(180deg, var(--om-bg-primary) 0%, var(--om-bg-secondary) 100%);
}

.v2 .for-you-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--om-space-lg);
    max-width: var(--om-container-xl);
    margin-left: auto;
    margin-right: auto;
}

.v2 .for-you-title {
    font-size: var(--om-text-xl);
    font-weight: var(--om-font-bold);
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
}

.v2 .for-you-title i {
    color: var(--om-primary);
}

.v2 .for-you-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--om-space-lg);
    max-width: var(--om-container-xl);
    margin: 0 auto;
}

/* ----------------------------------------
   PRINT STYLES
   ---------------------------------------- */

@media print {
    .v2 .header-v2,
    .v2 .footer-v2,
    .v2 .scroll-to-top,
    .v2 .mobile-menu-overlay {
        display: none !important;
    }

    .v2 .detail-layout {
        display: block;
    }

    .v2 .detail-sidebar {
        display: none;
    }
}

/* =============================
   History Page
   ============================= */
.v2 .history-page {
    padding: 32px 16px 64px;
    max-width: 1100px;
    margin: 0 auto;
}

.v2 .history-page .history-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.v2 .history-page .history-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1b1e24;
}

.v2 .history-page .history-title p {
    margin: 4px 0 0 0;
    color: #6b7280;
}

.v2 .history-page .history-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.v2 .history-page .search-box {
    display: flex;
    align-items: center;
    background: #f5f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 260px;
}

.v2 .history-page .search-box i {
    color: #9ca3af;
    margin-right: 8px;
}

.v2 .history-page .search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
}

.v2 .history-page .filter-select {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 180px;
    background: #fff;
}

.v2 .history-page .history-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.v2 .history-page .history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.v2 .history-page .history-card {
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    display: flex;
    flex-direction: column;
}

.v2 .history-page .history-thumb {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.v2 .history-page .history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2 .history-page .history-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #418c83;
}

.v2 .history-page .history-chip.type-video { background: #3b82f6; }
.v2 .history-page .history-chip.type-audio { background: #f97316; }
.v2 .history-page .history-chip.type-article { background: #10b981; }

.v2 .history-page .history-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2 .history-page .history-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 12px;
}

.v2 .history-page .history-delete {
    border: none;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
}

.v2 .history-page .history-info h4 {
    margin: 0;
    font-size: 16px;
    color: #1f2937;
    min-height: 40px;
}

.v2 .history-page .history-open {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #1bc5bd;
    background: #1bc5bd;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.v2 .history-page .history-pagination {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.v2 .history-page .history-pagination button {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
}

.v2 .history-page .history-loading,
.v2 .history-page .history-empty {
    padding: 32px;
    text-align: center;
    color: #6b7280;
}

@media (max-width: 768px) {
    .v2 .history-page .history-header {
        align-items: flex-start;
    }
}

/* =============================
   Header V2 - Search Dropdown
   ============================= */
.v2 .header-search {
    position: relative;
}

.v2 .search-dropdown {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 12px;
    z-index: 50;
    display: grid;
    gap: 12px;
}

.v2 .search-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: transparent;
}

.v2 .search-section-title {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    margin-bottom: 6px;
}

.v2 .search-item {
    width: 100%;
    border: none;
    background: #f9fafb;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.v2 .search-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.v2 .search-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.v2 .search-item-title {
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.v2 .search-item-type {
    color: #6b7280;
    font-size: 12px;
}

.v2 .search-empty,
.v2 .search-loading {
    color: #6b7280;
    font-size: 13px;
    padding: 6px 0;
}

.v2 .search-recent {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.v2 .recent-chip {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

/* Search Dropdown - Responsivo Mobile */
@media (max-width: 768px) {
    .v2 .search-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
        padding: 16px;
        z-index: 100;
    }

    .v2 .search-item img {
        width: 48px;
        height: 48px;
    }

    .v2 .search-item-title {
        font-size: 14px;
    }
}

.v2 .search-trending {
    display: grid;
    gap: 8px;
}

/* =============================
   Autor Page V2
   ============================= */
.v2 .detail-autor-page {
    min-height: calc(100vh - 80px);
    padding: 100px 24px 48px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9f7 100%);
}

.v2 .detail-autor-page .detail-breadcrumb {
    max-width: 900px;
    margin: 0 auto 32px;
}

.v2 .autor-profile {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(65, 140, 131, 0.08);
}

.v2 .autor-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.v2 .autor-avatar {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(65, 140, 131, 0.15);
}

.v2 .autor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.v2 .autor-avatar:hover img {
    transform: scale(1.05);
}

.v2 .autor-social {
    display: flex;
    gap: 12px;
}

.v2 .social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.v2 .social-link.facebook {
    background: #1877f2;
}

.v2 .social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.v2 .social-link.linkedin {
    background: #0a66c2;
}

.v2 .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.v2 .autor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2 .autor-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #418C83;
    text-transform: uppercase;
}

.v2 .autor-info .autor-name {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.v2 .autor-info .autor-profession {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 16px;
}

.v2 .autor-specialties {
    margin-top: 8px;
}

.v2 .specialties-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.v2 .specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v2 .specialty-tag {
    background: #f0f9f7;
    color: #418C83;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(65, 140, 131, 0.2);
    transition: all 0.2s ease;
}

.v2 .specialty-tag:hover {
    background: #418C83;
    color: #fff;
}

.v2 .autor-bio {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.v2 .autor-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #418C83 0%, #2f8d7c 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(65, 140, 131, 0.3);
    width: fit-content;
}

.v2 .autor-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(65, 140, 131, 0.4);
    color: #fff;
}

.v2 .autor-cta i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.v2 .autor-cta:hover i {
    transform: translateX(4px);
}

/* Autor Page V2 - Responsive */
@media (max-width: 768px) {
    .v2 .detail-autor-page {
        padding: 90px 16px 32px;
    }

    .v2 .autor-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .v2 .autor-avatar {
        width: 160px;
        height: 160px;
    }

    .v2 .autor-info {
        align-items: center;
    }

    .v2 .autor-info .autor-name {
        font-size: 26px;
    }

    .v2 .autor-info .autor-profession {
        font-size: 16px;
    }

    .v2 .specialties-tags {
        justify-content: center;
    }

    .v2 .autor-bio {
        text-align: left;
    }

    .v2 .autor-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------
   CATEGORY POSTS V2
   ---------------------------------------- */

.v2 .category-posts--v2 {
    margin-top: var(--om-space-xl);
    margin-bottom: var(--om-space-2xl);
}

.v2 .category-posts--v2 .section-header {
    margin-bottom: var(--om-space-lg);
}

.v2 .category-posts--v2 .section-title {
    font-size: var(--om-text-2xl);
    font-weight: var(--om-font-bold);
    color: var(--om-text);
    margin: 0;
}

/* Mensagem vazia */
.v2 .category-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--om-space-2xl);
    color: var(--om-text-muted);
    font-size: var(--om-text-lg);
}

/* Paginação V2 */
.v2 .pagination--v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--om-space-xs);
    margin-top: var(--om-space-xl);
    padding: var(--om-space-md) 0;
}

.v2 .pagination--v2 button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--om-space-sm);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-md);
    background: var(--om-bg);
    color: var(--om-text);
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-medium);
    cursor: pointer;
    transition: all var(--om-transition-fast);
}

.v2 .pagination--v2 button:hover:not(:disabled) {
    background: var(--om-primary);
    border-color: var(--om-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--om-shadow-sm);
}

.v2 .pagination--v2 button.active {
    background: var(--om-primary);
    border-color: var(--om-primary);
    color: white;
    font-weight: var(--om-font-bold);
}

.v2 .pagination--v2 button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .v2 .pagination--v2 button {
        min-width: 36px;
        height: 36px;
        font-size: var(--om-text-xs);
    }
}

/* ----------------------------------------
   CONTINUE ONDE PAROU - Seção Home V2
   Carrossel com cards de imagem para histórico
   ---------------------------------------- */

.v2 .continue-watching-section {
    margin-top: var(--om-space-xl);
    margin-bottom: var(--om-space-lg);
    padding: 0 var(--om-space-md);
}

.v2 .continue-watching-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--om-space-lg);
    gap: var(--om-space-md);
}

.v2 .continue-watching-section .section-title {
    font-size: var(--om-text-xl);
    font-weight: var(--om-font-semibold);
    color: var(--om-text);
    margin: 0;
}

.v2 .section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--om-text-sm);
    font-weight: var(--om-font-medium);
    color: var(--om-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--om-radius-full);
    background: rgba(0, 106, 91, 0.08);
    transition: all var(--om-transition-fast);
    white-space: nowrap;
}

.v2 .section-link:hover {
    background: var(--om-primary);
    color: white;
    transform: translateX(4px);
}

.v2 .section-link::after {
    content: '→';
    transition: transform var(--om-transition-fast);
}

.v2 .section-link:hover::after {
    transform: translateX(4px);
}

/* Mobile: Melhorias para leitura do carrossel */
@media (max-width: 768px) {
    .v2 .continue-watching-section {
        padding: 0 var(--om-space-sm);
        margin-top: var(--om-space-lg);
    }

    .v2 .continue-watching-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--om-space-sm);
    }

    .v2 .continue-watching-section .section-title {
        font-size: var(--om-text-lg);
    }

    .v2 .section-link {
        font-size: var(--om-text-xs);
        padding: 6px 12px;
    }

    /* Cards menores e mais legíveis no mobile */
    .v2 .continue-watching-section .splide-image-cards .carousel-image-card {
        aspect-ratio: 3 / 4;
        min-height: 180px;
        max-height: 240px;
    }

    .v2 .continue-watching-section .splide-image-cards .trending-image-card-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }

    .v2 .continue-watching-section .splide-image-cards .trending-type-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Overlay mais suave para melhor legibilidade */
    .v2 .continue-watching-section .trending-image-card-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
        padding: var(--om-space-sm);
    }
}

@media (max-width: 480px) {
    .v2 .continue-watching-section .section-title {
        font-size: var(--om-text-base);
    }

    .v2 .continue-watching-section .splide-image-cards .carousel-image-card {
        min-height: 160px;
        max-height: 200px;
    }

    .v2 .continue-watching-section .splide-image-cards .trending-image-card-title {
        font-size: 12px;
    }
}
