/* ===== TUTORIAL PAGE STYLES - GERAL PARA TODOS OS TUTORIAIS ===== */
/* IMAGEM ABAIXO DO TEXTO EM CADA PASSO - VERSÃO THUMBNAIL MAKER */

.tutorial-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}


/* Cabeçalho do Tutorial */
.tutorial-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(224, 202, 0, 0.3);
}

.tutorial-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tutorial-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== BOTÃO VOLTAR ===== */
/* Versão 1: Botão completo */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 202, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-voltar:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

.btn-voltar i {
    transition: transform 0.3s ease;
}

.btn-voltar:hover i {
    transform: translateX(-3px);
}

/* Versão 2: Apenas ícone */
.btn-voltar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(224, 202, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-voltar-icon:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

/* Versão 3: Link estilizado */
.btn-voltar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-voltar-link:hover {
    color: var(--accent-primary);
    transform: translateX(-5px);
}

.btn-voltar-link i {
    transition: transform 0.3s ease;
}

.btn-voltar-link:hover i {
    transform: translateX(-3px);
}

/* Posicionamento no topo da página do tutorial */
.tutorial-header {
    position: relative;
}

/* Para colocar o botão flutuante no canto superior esquerdo */
.btn-voltar-flutuante {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-voltar-flutuante:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

[data-theme="light"] .btn-voltar-flutuante {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}





.category {
    background: linear-gradient(135deg, #31a8ff, #0057b3);
    color: #fff;
}

.level {
    background: rgba(224, 202, 0, 0.15);
    color: var(--accent-primary);
}

.level.advanced {
    background: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
}

.badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    font-weight: 700;
}

.time {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

[data-theme="light"] .time {
    background: rgba(0, 0, 0, 0.05);
}

.tutorial-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', monospace;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tutorial-header .description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.author-note {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(135deg, rgba(224,202,0,0.15), rgba(255,107,0,0.1));
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.author-note i {
    margin-right: 8px;
}

/* ===== TUTORIAL STEPS ===== */
.tutorial-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tutorial-step {
    margin-bottom: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .tutorial-step {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.step-number {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    padding: 12px 0;
    text-align: center;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-info {
    padding: 30px;
}

.step-info h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.step-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
}

.step-info ul {
    margin: 15px 0;
    padding-left: 25px;
}

.step-info ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-info ul li strong {
    color: var(--accent-primary);
}

.step-info ul ul {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
}

/* Caixa de dica */
.tip-box {
    background: rgba(224, 202, 0, 0.1);
    border-left: 4px solid var(--accent-primary);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.tip-box i {
    color: var(--accent-primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.tip-box strong {
    color: var(--accent-primary);
}

.success-box {
    background: rgba(0, 200, 0, 0.1);
    border-left-color: #00c800;
}

.success-box i {
    color: #00c800;
}

.success-box strong {
    color: #00c800;
}

/* Área da imagem */
.step-image {
    width: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .step-image {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1a2e;
    cursor: pointer;
}

.step-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.image-caption {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 12px;
    font-style: italic;
}

/* CHECKLIST FINAL */
.checklist-final {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(224,202,0,0.08), rgba(255,107,0,0.05));
    border-radius: 20px;
    border: 1px solid rgba(224,202,0,0.2);
}

.checklist-final h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.checklist-final h3 i {
    color: var(--accent-primary);
    margin-right: 10px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.check-item:hover {
    transform: translateX(5px);
    background: var(--bg-primary);
}

.check-item i {
    color: #00c800;
    font-size: 1.1rem;
}

.check-item i.fa-check-circle {
    color: #00c800;
}

/* Modal para ampliar imagem */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-image-modal:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* AdSense */
.adsense-top,
.adsense-middle,
.adsense-bottom {
    margin: 30px 0;
    text-align: center;
    min-height: 90px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.adsense-top {
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.adsense-middle {
    max-width: 1000px;
    margin: 40px auto;
}

.adsense-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

/* Navegação entre tutoriais */
.tutorial-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .tutorial-nav {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--bg-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

.nav-btn.next:hover {
    transform: translateX(5px);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .tutorial-page {
        padding: 100px 0 40px;
    }
    
    .tutorial-header h1 {
        font-size: 1.8rem;
    }
    
    .tutorial-header .description {
        font-size: 1rem;
    }
    
    .tutorial-meta {
        gap: 10px;
    }
    
    .tutorial-meta span {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .step-number {
        font-size: 1.4rem;
        padding: 10px 0;
    }
    
    .step-info {
        padding: 20px;
    }
    
    .step-info h2 {
        font-size: 1.3rem;
    }
    
    .step-info p {
        font-size: 0.9rem;
    }
    
    .step-info ul li {
        font-size: 0.85rem;
    }
    
    .step-image {
        padding: 15px 20px 20px 20px;
    }
    
    .step-image img {
        max-width: 100%;
    }
    
    .image-caption {
        font-size: 0.7rem;
    }
    
    .tutorial-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .close-image-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-final {
        padding: 20px;
    }
    
    .checklist-final h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tutorial-header h1 {
        font-size: 1.4rem;
    }
    
    .step-info h2 {
        font-size: 1.1rem;
    }
    
    .step-info {
        padding: 15px;
    }
    
    .step-image {
        padding: 10px 15px 15px 15px;
    }
    
    .tip-box {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .author-note {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tutorial-step {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.tutorial-step:nth-child(1) { animation-delay: 0.1s; }
.tutorial-step:nth-child(2) { animation-delay: 0.2s; }
.tutorial-step:nth-child(3) { animation-delay: 0.3s; }
.tutorial-step:nth-child(4) { animation-delay: 0.4s; }
.tutorial-step:nth-child(5) { animation-delay: 0.5s; }
.tutorial-step:nth-child(6) { animation-delay: 0.6s; }
.tutorial-step:nth-child(7) { animation-delay: 0.7s; }
.tutorial-step:nth-child(8) { animation-delay: 0.8s; }
.tutorial-step:nth-child(9) { animation-delay: 0.9s; }

/* ===== GUIA RÁPIDO - CARDS DE MÉTODOS ===== */
.guia-rapido {
    margin: 40px 0 50px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid rgba(224, 202, 0, 0.2);
}

.guia-rapido h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-align: center;
}

.guia-rapido h3 i {
    color: var(--accent-primary);
    margin-right: 10px;
}

.guia-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.method-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .method-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(224,202,0,0.15), rgba(255,107,0,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.method-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.method-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.method-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.method-best {
    display: inline-block;
    background: rgba(224, 202, 0, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 10px;
}

/* Cores específicas para cada método */
.method-card:nth-child(1) .method-icon i { color: #00c8ff; }
.method-card:nth-child(2) .method-icon i { color: #ff6b00; }
.method-card:nth-child(3) .method-icon i { color: #ffd700; }
.method-card:nth-child(4) .method-icon i { color: #00c853; }
.method-card:nth-child(5) .method-icon i { color: #e040fb; }
.method-card:nth-child(6) .method-icon i { color: #ff5252; }

/* Badge de destaque no card */
.method-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 30px;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
    letter-spacing: 1px;
}

/* ===== COMPARAÇÃO DE MÉTODOS (TABELA) ===== */
.comparacao-metodos {
    margin: 40px 0;
    overflow-x: auto;
}

.comparacao-tabela {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
}

.comparacao-tabela th {
    background: linear-gradient(135deg, rgba(224,202,0,0.15), rgba(255,107,0,0.08));
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-primary);
}

.comparacao-tabela td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

[data-theme="light"] .comparacao-tabela td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparacao-tabela tr:hover td {
    background: rgba(224, 202, 0, 0.05);
}

.comparacao-tabela .metodo-nome {
    font-weight: 700;
    color: var(--accent-primary);
}

.comparacao-tabela .fa-check-circle {
    color: #00c800;
}

.comparacao-tabela .fa-hourglass-half {
    color: #ffaa00;
}

.comparacao-tabela .fa-times-circle {
    color: #ff4444;
}

/* ===== SELETOR RÁPIDO DE MÉTODO (GUIA LATERAL/SUPERIOR) ===== */
.quick-methods-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 50px;
    justify-content: center;
}

.method-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--bg-primary);
    border: 1px solid rgba(224, 202, 0, 0.3);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-btn:hover {
    background: rgba(224, 202, 0, 0.15);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.method-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    border-color: transparent;
}

/* ===== RESPONSIVIDADE DO GUIA RÁPIDO ===== */
@media (max-width: 768px) {
    .guia-rapido {
        padding: 20px;
        margin: 30px 0;
    }
    
    .guia-rapido h3 {
        font-size: 1.2rem;
    }
    
    .methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .method-card {
        padding: 15px;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
    }
    
    .method-icon i {
        font-size: 1.4rem;
    }
    
    .method-card h4 {
        font-size: 1rem;
    }
    
    .quick-methods-nav {
        border-radius: 20px;
        padding: 12px;
    }
    
    .method-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .comparacao-tabela th,
    .comparacao-tabela td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-methods-nav {
        flex-direction: column;
        align-items: center;
        border-radius: 16px;
    }
    
    .method-btn {
        width: 100%;
        text-align: center;
    }
    
    .comparacao-tabela th,
    .comparacao-tabela td {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
}

/* ===== ANIMAÇÃO DOS CARDS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.method-card {
    animation: fadeInScale 0.4s ease forwards;
    opacity: 0;
}

.method-card:nth-child(1) { animation-delay: 0.05s; }
.method-card:nth-child(2) { animation-delay: 0.1s; }
.method-card:nth-child(3) { animation-delay: 0.15s; }
.method-card:nth-child(4) { animation-delay: 0.2s; }
.method-card:nth-child(5) { animation-delay: 0.25s; }
.method-card:nth-child(6) { animation-delay: 0.3s; }

/* ===== CAIXA DE DICA COM ÍCONE DIFERENCIADO ===== */
.tip-box.warning {
    background: rgba(255, 100, 0, 0.1);
    border-left-color: #ff6400;
}

.tip-box.warning i {
    color: #ff6400;
}

.tip-box.warning strong {
    color: #ff6400;
}

/* ===== BOTÃO DE COPIAR (para atalhos) ===== */
.copy-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 202, 0, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.copy-shortcut:hover {
    background: var(--accent-primary);
    color: #000;
}

.copy-shortcut i {
    font-size: 0.8rem;
}

/* Toast de notificação */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10001;
    animation: fadeInUp 0.3s ease, fadeOut 0.3s ease 2s forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}





/*cabelo recorte/

