/* ========================================= */
/* SAÚDE E PERFORMANCE - MOBILE FIRST        */
/* ========================================= */

/* Acordeão de Artigos de Saúde */
.health-articles-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.health-accordion-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.95));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.health-accordion-item[open] {
    border-color: rgba(230, 126, 34, 0.3);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.15);
}

.health-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.8));
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.health-accordion-header::-webkit-details-marker {
    display: none;
}

.health-accordion-header:hover {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.9));
    border-bottom-color: rgba(230, 126, 34, 0.5);
}

.health-accordion-header:active {
    transform: scale(0.98);
}

.health-category-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.health-category-title {
    flex: 1;
    font-family: var(--font-destaque);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.health-article-count {
    background: var(--cor-primaria);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.health-accordion-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

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

/* Cards de Artigos de Saúde */
.health-article-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.health-article-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-color: rgba(230, 126, 34, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.health-article-card:active {
    transform: translateX(4px) scale(0.98);
}

.health-article-icon {
    font-size: 1.75rem;
    opacity: 0.8;
}

.health-article-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.health-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-texto-principal);
    margin: 0;
    line-height: 1.3;
}

.health-article-preview {
    font-size: 0.85rem;
    color: var(--cor-texto-secundario);
    margin: 0;
    line-height: 1.4;
}

.health-article-arrow {
    font-size: 1.5rem;
    color: var(--cor-primaria);
    font-weight: bold;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.health-article-card:hover .health-article-arrow {
    opacity: 1;
}

/* ========================================= */
/* ARTE MARCIAL - TIMELINE VERTICAL          */
/* ========================================= */

/* Container Expansível do Sistema de Graduações */
.belt-system-intro-expandable {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.95));
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.belt-system-intro-expandable[open] {
    border-color: rgba(230, 126, 34, 0.4);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
}

.belt-system-intro-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border-bottom: 3px solid var(--cor-primaria);
    transition: all 0.2s ease;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.belt-system-intro-header::-webkit-details-marker {
    display: none;
}

.belt-system-intro-header:hover {
    background: linear-gradient(135deg, rgba(40, 40, 40, 1), rgba(30, 30, 30, 1));
}

.belt-system-intro-header:active {
    transform: scale(0.99);
}

.belt-system-intro-icon {
    font-size: 2rem;
}

.belt-system-intro-title {
    font-family: var(--font-destaque);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.belt-system-intro-arrow {
    font-size: 1.75rem;
    color: var(--cor-primaria);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.belt-system-intro-expandable[open] .belt-system-intro-arrow {
    transform: rotate(90deg);
}

.belt-system-intro-content {
    padding: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.belt-video-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 8px;
    flex-wrap: wrap;
}

.belt-video-info h4 {
    font-family: var(--font-destaque);
    font-size: 1.2rem;
    margin: 0 0 0.25rem 0;
    color: var(--cor-primaria);
}

.belt-video-info p {
    margin: 0;
    color: var(--cor-texto-secundario);
    font-size: 0.9rem;
}

/* Timeline Vertical */
.belt-progression-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    position: relative;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.unlocked,
.timeline-item.studying {
    opacity: 1;
}

.timeline-item.unlocked:hover,
.timeline-item.studying:hover {
    transform: translateX(6px);
}

.timeline-item:active {
    transform: translateX(6px) scale(0.98);
}

/* Marcador da Timeline */
.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--belt-color, var(--cor-primaria));
    border: 4px solid var(--cor-fundo);
    box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.3), 
                0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.studying .timeline-dot {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 3px var(--cor-primaria), 
                0 0 20px var(--cor-primaria);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px var(--cor-primaria), 
                    0 0 20px var(--cor-primaria);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px var(--cor-primaria), 
                    0 0 30px var(--cor-primaria);
    }
}

.timeline-line {
    width: 3px;
    flex: 1;
    background: linear-gradient(to bottom, 
        var(--belt-color, rgba(100, 100, 100, 0.3)) 0%, 
        rgba(100, 100, 100, 0.2) 100%);
    margin: 4px auto 0;
    min-height: 60px;
}

.timeline-item.unlocked .timeline-line {
    background: linear-gradient(to bottom, 
        var(--belt-color, var(--cor-primaria)) 0%, 
        rgba(230, 126, 34, 0.3) 100%);
}

/* Conteúdo da Timeline */
.timeline-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.95));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-item.studying .timeline-content {
    border-color: rgba(230, 126, 34, 0.5);
    border-left: 4px solid var(--cor-primaria);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

.timeline-item.unlocked .timeline-content {
    border-left: 4px solid var(--belt-color, var(--cor-energia));
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(230, 126, 34, 0.4);
}

.timeline-belt-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 3px solid var(--cor-fundo-secundario);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.timeline-belt-name {
    font-family: var(--font-destaque);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.timeline-status {
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
    margin: 0;
    font-weight: 600;
}

.timeline-arrow {
    font-size: 1.75rem;
    color: var(--cor-primaria);
    font-weight: bold;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.timeline-item:hover .timeline-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========================================= */
/* DOSSIERS - OTIMIZAÇÃO MOBILE              */
/* ========================================= */

/* Acordeão de Técnicas */
.training-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.95));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item[open] {
    border-color: rgba(230, 126, 34, 0.3);
}

.accordion-header {
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.8));
    border-bottom: 2px solid transparent;
    font-family: var(--font-destaque);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cor-primaria);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.9));
    border-bottom-color: rgba(230, 126, 34, 0.5);
}

.accordion-content {
    padding: 0.5rem;
}

/* Cards de Técnicas Mobile-Optimized */
.technique-card-mobile {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.technique-card-mobile:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.technique-card-mobile:active {
    transform: scale(0.98);
}

.technique-card-mobile-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.video-preview-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--cor-primaria), var(--cor-secundaria));
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4);
}

.technique-card-mobile-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    margin: 0 0 0.25rem 0;
}

.technique-card-mobile-info p {
    font-size: 0.85rem;
    color: var(--cor-texto-secundario);
    margin: 0;
}

.technique-separator {
    height: 1px;
    background: rgba(100, 100, 100, 0.2);
    margin: 0 0.5rem;
}

/* ========================================= */
/* RESPONSIVIDADE MOBILE                     */
/* ========================================= */

@media (max-width: 768px) {
    .health-accordion-header {
        padding: 0.875rem 1rem;
    }

    .health-category-icon {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }

    .health-category-title {
        font-size: 1rem;
    }

    .health-article-card {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .health-article-arrow {
        display: none;
    }

    .health-article-title {
        font-size: 0.95rem;
    }

    .health-article-preview {
        font-size: 0.8rem;
    }

    .belt-system-intro-header {
        padding: 1rem 1.25rem;
    }

    .belt-system-intro-icon {
        font-size: 1.5rem;
    }

    .belt-system-intro-title {
        font-size: 1.25rem;
    }

    .belt-system-intro-content {
        padding: 1.25rem;
    }

    .belt-video-section {
        flex-direction: column;
        text-align: center;
    }

    .belt-video-section .action-button {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
    }

    .timeline-dot {
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-belt-icon {
        width: 40px;
        height: 40px;
    }

    .timeline-belt-name {
        font-size: 1.05rem;
    }

    .timeline-status {
        font-size: 0.85rem;
    }

    .accordion-header {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .technique-card-mobile-header {
        padding: 0.875rem;
    }

    .video-preview-indicator {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) {
    .health-accordion-item {
        transition: all 0.3s ease, transform 0.2s ease;
    }

    .health-accordion-item:hover {
        transform: translateY(-2px);
    }

    .timeline-item {
        gap: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

/* ========================================= */
/* ARTICLE VIEWER - DESIGN MODERNO          */
/* ========================================= */

.article-viewer-modern {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(18, 18, 18, 0.98));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.article-header-modern {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.95));
    padding: 2rem 2rem 1.5rem;
    border-bottom: 3px solid var(--cor-primaria);
    position: relative;
}

.article-category-badge {
    display: inline-block;
    background: linear-gradient(145deg, var(--cor-primaria), var(--cor-secundaria));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4);
}

.article-title-modern {
    font-family: var(--font-destaque);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.article-content-modern {
    padding: 2rem;
    color: var(--cor-texto-principal);
    line-height: 1.8;
    font-size: 1rem;
}

/* Estilização do Conteúdo do Artigo */
.article-content-modern h2,
.article-content-modern h3,
.article-content-modern h4 {
    font-family: var(--font-destaque);
    color: var(--cor-primaria);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content-modern h2 {
    font-size: 1.75rem;
    font-weight: 700;
    border-left: 4px solid var(--cor-primaria);
    padding-left: 1rem;
}

.article-content-modern h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.article-content-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.article-content-modern p {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.article-content-modern li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.article-content-modern li::marker {
    color: var(--cor-primaria);
}

.article-content-modern strong {
    color: var(--cor-energia);
    font-weight: 700;
}

.article-content-modern em {
    color: var(--cor-primaria);
    font-style: italic;
}

.article-content-modern blockquote {
    background: rgba(230, 126, 34, 0.1);
    border-left: 4px solid var(--cor-primaria);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.article-content-modern code {
    background: rgba(0, 0, 0, 0.4);
    color: var(--cor-energia);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-principal);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Estilos para Classes Personalizadas dos Artigos Antigos */
.article-content-modern .article-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(230, 126, 34, 0.03));
    border-left: 4px solid var(--cor-primaria);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
}

.article-content-modern .article-section {
    margin-bottom: 2.5rem;
}

.article-content-modern .section-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.article-content-modern .highlight-box {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(46, 204, 113, 0.06));
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.article-content-modern .highlight-box.tip {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.12), rgba(52, 152, 219, 0.06));
    border-color: rgba(52, 152, 219, 0.3);
}

.article-content-modern .highlight-box strong {
    color: var(--cor-energia);
    display: block;
    margin-bottom: 0.5rem;
}

.article-content-modern .styled-list {
    list-style: none;
    padding-left: 0;
}

.article-content-modern .styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.article-content-modern .styled-list li::before {
    content: "▸";
    position: absolute;
    left: 0.5rem;
    color: var(--cor-primaria);
    font-size: 1.2rem;
    font-weight: bold;
}

.article-content-modern .styled-list.ordered {
    counter-reset: styled-counter;
    list-style: none;
}

.article-content-modern .styled-list.ordered li {
    counter-increment: styled-counter;
}

.article-content-modern .styled-list.ordered li::before {
    content: counter(styled-counter) ".";
    position: absolute;
    left: 0;
    color: var(--cor-primaria);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Melhorias para o primeiro parágrafo de novos artigos (Quill) */
.article-content-modern > p:first-of-type {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(230, 126, 34, 0.03));
    border-left: 4px solid var(--cor-primaria);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
}

/* H2 em novos artigos adiciona espaçamento extra como "sections" */
.article-content-modern h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(100, 100, 100, 0.2);
}

.article-content-modern h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Listas do Quill com espaçamento melhorado */
.article-content-modern ul li strong,
.article-content-modern ol li strong {
    color: var(--cor-energia);
}

/* Links nos artigos */
.article-content-modern a {
    color: var(--cor-primaria);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content-modern a:hover {
    color: var(--cor-energia);
}

/* Botão Voltar */
.back-to-library-btn {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(230, 126, 34, 0.3);
    color: var(--cor-primaria);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}

.back-to-library-btn:hover {
    background: linear-gradient(135deg, rgba(40, 40, 40, 1), rgba(30, 30, 30, 1));
    border-color: var(--cor-primaria);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.back-to-library-btn:active {
    transform: translateX(-4px) scale(0.97);
}

/* ========================================= */
/* TÉCNICAS MOBILE - CORREÇÃO LAYOUT        */
/* ========================================= */

.technique-card-mobile {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.technique-card-mobile:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-color: rgba(230, 126, 34, 0.4);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.technique-card-mobile:active {
    transform: scale(0.98);
}

.technique-card-mobile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.video-preview-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--cor-primaria), var(--cor-secundaria));
    color: #fff;
    font-size: 1.125rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4);
    flex-shrink: 0;
}

.technique-card-mobile-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.technique-card-mobile-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-word;
}

.technique-card-mobile-info p {
    font-size: 0.85rem;
    color: var(--cor-texto-secundario);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-word;
}

.technique-separator {
    height: 1px;
    background: rgba(100, 100, 100, 0.2);
    margin: 0 0.5rem;
}

/* ========================================= */
/* RESPONSIVIDADE MOBILE                     */
/* ========================================= */

@media (max-width: 767px) {
    .accordion-content-modern {
        padding: 1rem;
    }

    .timeline-item {
        padding: 1.125rem 1rem;
    }

    .belt-system-intro-header {
        padding: 1.25rem 1rem;
    }

    .section-header-modern {
        padding: 1rem 0.875rem;
        margin: 0 0.875rem 1rem;
    }

    .section-header-modern h2 {
        font-size: 1.25rem;
    }

    .article-viewer-modern {
        padding: 1rem;
    }

    .article-header-modern {
        padding: 1.25rem 1rem;
    }

    .article-header-modern h1 {
        font-size: 1.5rem;
    }

    .article-content-modern {
        padding: 1.25rem 1rem;
    }

    .article-content-modern h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }

    .article-content-modern h3 {
        font-size: 1.25rem;
    }

    .article-content-modern h4 {
        font-size: 1.1rem;
    }

    .back-to-library-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .technique-card-mobile {
        border-radius: 8px;
    }

    .technique-card-mobile-header {
        padding: 0.75rem;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .video-preview-indicator {
        width: 36px;
        height: 36px;
        min-width: 36px;
        max-width: 36px;
        font-size: 0.875rem;
        margin-top: 0;
        flex-shrink: 0;
    }

    .technique-card-mobile-info {
        gap: 0.2rem;
        padding-top: 0.125rem;
    }

    .technique-card-mobile-info h4 {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .technique-card-mobile-info p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .article-viewer-modern {
        margin-top: 1rem;
    }

    .technique-card-mobile-header {
        padding: 1rem;
        gap: 1rem;
    }
    
    .video-preview-indicator {
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
        font-size: 1.125rem;
    }
}

@media (min-width: 1025px) {
    .technique-card-mobile-header {
        padding: 1.125rem 1.25rem;
    }
}

/* ========================================= */
/* MODAL DE DETALHES DE TÉCNICA - MOBILE    */
/* ========================================= */

.technique-detail-modal-modern {
    max-width: 500px !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Header Compacto */
.tech-detail-header-compact {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.95));
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 3px solid var(--cor-primaria);
}

.tech-detail-title-modern {
    font-family: var(--font-destaque);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.tech-detail-subtitle-modern {
    font-family: var(--font-principal);
    font-size: 0.95rem;
    color: var(--cor-primaria);
    margin: 0;
    font-weight: 600;
}

/* Body Compacto */
.tech-detail-body-compact {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(18, 18, 18, 0.98));
}

.tech-detail-desc-modern {
    font-family: var(--font-principal);
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
    line-height: 1.6;
    margin: 0;
}

/* Stats Cards Compactos */
.tech-detail-stats-compact {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-stat-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tech-stat-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    transform: translateX(2px);
}

.tech-stat-mastery {
    border-left: 3px solid var(--cor-mestria);
}

.tech-stat-time {
    border-left: 3px solid var(--cor-energia);
}

.tech-stat-next {
    border-left: 3px solid var(--cor-primaria);
}

.tech-stat-icon {
    font-size: 2rem;
    text-align: center;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.tech-stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tech-stat-label {
    font-family: var(--font-principal);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cor-texto-secundario);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-stat-value {
    font-family: var(--font-destaque);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cor-texto-principal);
    line-height: 1;
}

.tech-stat-mastery .tech-stat-value {
    color: var(--cor-mestria);
}

.tech-stat-time .tech-stat-value {
    color: var(--cor-energia);
}

.tech-stat-next .tech-stat-value {
    color: var(--cor-primaria);
}

/* Seção de Progresso */
.tech-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.05));
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 8px;
}

.tech-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-progress-label {
    font-family: var(--font-principal);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cor-texto-secundario);
}

.tech-progress-percentage {
    font-family: var(--font-destaque);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-mestria);
}

.tech-progress-bar-container {
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8e44ad, var(--cor-mestria));
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.6);
    position: relative;
}

.tech-progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 6px;
}

/* Botões de Ação Compactos */
.tech-detail-actions-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
}

.tech-action-btn {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-principal);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    text-align: left;
    min-height: 52px;
}

.tech-btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tech-btn-label {
    line-height: 1.3;
}

/* Botão de Vídeo */
.tech-action-video {
    background: linear-gradient(145deg, var(--cor-primaria), var(--cor-secundaria));
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.tech-action-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.5);
}

.tech-action-video:active {
    transform: translateY(0);
}

/* Botão de Praticar */
.tech-action-practice {
    background: linear-gradient(145deg, var(--cor-energia), #27ae60);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.tech-action-practice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.5);
}

.tech-action-practice:active {
    transform: translateY(0);
}

/* Botão de Adicionar */
.tech-action-add {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.9));
    color: #fff;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.tech-action-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
}

.tech-action-add:active {
    transform: translateY(0);
}

/* ========================================= */
/* RESPONSIVIDADE MOBILE                     */
/* ========================================= */

@media (max-width: 768px) {
    .technique-detail-modal-modern {
        max-width: 95% !important;
        margin: 1rem auto;
    }

    .tech-detail-header-compact {
        padding: 1.25rem 1rem 1rem;
    }

    .tech-detail-title-modern {
        font-size: 1.5rem;
    }

    .tech-detail-subtitle-modern {
        font-size: 0.875rem;
    }

    .tech-detail-body-compact {
        padding: 1rem;
    }

    .tech-detail-desc-modern {
        font-size: 0.85rem;
    }

    .tech-detail-stats-compact {
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }

    .tech-stat-card {
        grid-template-columns: 40px 1fr;
        padding: 0.75rem 0.875rem;
        gap: 0.75rem;
    }

    .tech-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }

    .tech-stat-label {
        font-size: 0.7rem;
    }

    .tech-stat-value {
        font-size: 1.25rem;
    }

    .tech-progress-section {
        padding: 0.875rem;
    }

    .tech-progress-label {
        font-size: 0.8rem;
    }

    .tech-progress-percentage {
        font-size: 1.1rem;
    }

    .tech-progress-bar-container {
        height: 10px;
    }

    .tech-detail-actions-compact {
        padding: 1rem;
        gap: 0.625rem;
    }

    .tech-action-btn {
        padding: 0.75rem 1rem;
        min-height: 48px;
        font-size: 0.95rem;
    }

    .tech-btn-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) {
    .tech-detail-header-compact {
        padding: 2rem 1.75rem 1.5rem;
    }

    .tech-detail-title-modern {
        font-size: 2rem;
    }

    .tech-detail-body-compact {
        padding: 1.5rem 1.75rem;
    }

    .tech-detail-stats-compact {
        padding: 1.25rem 1.75rem;
    }

    .tech-detail-actions-compact {
        padding: 1.5rem 1.75rem;
    }
}

/* Touch Feedback Global */
.health-accordion-header,
.health-article-card,
.belt-system-intro-header,
.timeline-item,
.accordion-header,
.technique-card-mobile,
.back-to-library-btn,
.tech-action-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
