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

body {
    font-family: 'Inter', sans-serif;
    background: #f0f4f8;
    color: #1e293b;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* cabeçalho */
.top-bar {
    background: #0a1929;
    border-bottom: 1px solid #1e3a5f;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: white;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.3rem;
    color: white;
}

.logo-icon {
    background: #539c33;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.top-bar .badge {
    background: rgba(255,255,255,0.15);
    color: #d4edc9;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: auto;
}

/* BOTÃO VOLTAR PARA INDEX */
.back-to-index {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: auto;
    margin-right: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    letter-spacing: 0.3px;
}

.back-to-index i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.back-to-index:hover {
    background: #539c33;
    border-color: #539c33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 156, 51, 0.3);
}

.back-to-index:hover i {
    transform: translateX(-3px);
}

.back-to-index:active {
    transform: translateY(0);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .back-to-index {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin-right: 8px;
    }
    
    .back-to-index span {
        display: none;
    }
    
    .back-to-index i {
        margin-right: 0;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-to-index {
        margin-left: 0;
        width: auto;
    }
    
    .back-to-index span {
        display: inline;
    }
}

/* container principal */
.main-container {
    display: flex;
    flex: 1;
}

/* barra lateral */
.sidebar {
    width: 300px;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.02);
}

.sidebar-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5f6c80;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.index-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.index-list li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.2s;
}

.index-list li a i {
    width: 24px;
    color: #4f6f8f;
    font-size: 1.1rem;
}

.index-list li a:hover {
    background: #f0f6fd;
    color: #0f3b5e;
}

.index-list li a.active {
    background: #e8f3e4;
    color: #0a1929;
    font-weight: 600;
    border-left: 4px solid #539c33;
}

.index-list li a.active i {
    color: #539c33;
}

.support-box {
    margin-top: 2.5rem;
    background: #f8fafd;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e9edf2;
}

.support-box p {
    margin-bottom: 0.5rem;
    color: #2d4d6e;
}

.support-email {
    font-weight: 500;
    color: #539c33;
    margin-top: 0.8rem;
    font-size: 15px;
}

/* conteúdo principal */
.content-area {
    flex: 1;
    background: #f8fafc;
    padding: 2.5rem 3rem;
    max-width: calc(100% - 300px);
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-weight: 700;
    font-size: 2rem;
    color: #0a1929;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.page-header .description {
    font-size: 1.1rem;
    color: #3a546d;
    max-width: 800px;
}

/* cartões de seção */
.step-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 30, 50, 0.05);
    border: 1px solid #eef2f6;
    transition: all 0.2s;
}

.step-card:hover {
    box-shadow: 0 15px 35px rgba(0, 30, 60, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f4fa;
    padding-bottom: 1.2rem;
}

.step-number {
    background: #539c33;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(83, 156, 51, 0.3);
}

.step-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0a1929;
}

.step-content {
    padding-left: 0.5rem;
}

.step-content p {
    margin-bottom: 1.2rem;
    color: #2d3a4f;
    font-size: 1rem;
}

/* placeholders para imagens */
.image-placeholder {
    background: #f0f6fd;
    border: 2px dashed #bdd3e8;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1.8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #2c5778;
    font-weight: 500;
    transition: all 0.2s;
}

.image-placeholder.small {
    padding: 1.5rem;
    max-width: 400px;
}

.image-placeholder i {
    font-size: 3rem;
    color: #7fa3c2;
}

.image-placeholder.small i {
    font-size: 2rem;
}

.image-placeholder:hover {
    background: #e3effa;
    border-color: #539c33;
}

/* caixas de dica */
.tip-box {
    background: #fff9e6;
    border-left: 4px solid #ffb347;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.tip-box i {
    color: #ffb347;
    font-size: 1.5rem;
}

.tip-box .tip-text {
    flex: 1;
}

.warning-box {
    background: #fee9e7;
    border-left: 4px solid #ff3b30;
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.warning-box p {
    color: #8b2c22;
    margin-bottom: 0.8rem;
}

.warning-box ul {
    margin-left: 1.5rem;
    color: #8b2c22;
}

.warning-box li {
    margin-bottom: 0.5rem;
}

.ia-box {
    background: #ccc;
    border-left: 4px solid #7fa3c2;
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.ia-box p {
    
    margin-bottom: 0.8rem;
}

.ia-box ul {
    margin-left: 1.5rem;
    color: #7fa3c2;
}

.ia-box li {
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.feature-item i {
    color: #539c33;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.options-list {
    list-style: none;
    margin: 1.5rem 0;
}

.options-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.options-list li i {
    color: #539c33;
    width: 24px;
}

.config-list {
    list-style: none;
    margin: 1.5rem 0;
}

.config-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: #f0f7ff;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.config-list li i {
    color: #1e4a6f;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.highlight {
    background: #e8f3e4;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    font-weight: 600;
    color: #539c33;
    border: 1px solid #c0e0b5;
}

.copyright-footer {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: center;
    color: #4f6f8f;
    font-size: 0.9rem;
    border: 1px solid #d9e2ec;
}

/* rodapé */
.footer {
    border-top: 1px solid #d0dfee;
    background: white;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #2d4d6e;
    font-size: 0.9rem;
    margin-left: 300px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}

.footer .help-links a {
    text-decoration: none;
    color: #1e4a6f;
    margin-left: 1.8rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer .help-links a:hover {
    color: #3a7a21;
    text-decoration: underline;
}

/* responsividade */
@media (max-width: 1000px) {
    .sidebar {
        width: 260px;
        padding: 1.5rem 1rem;
    }
    .content-area {
        padding: 2rem;
        max-width: calc(100% - 260px);
    }
    .footer {
        margin-left: 260px;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
        padding: 1.5rem;
    }
    .content-area {
        max-width: 100%;
        padding: 1.5rem;
    }
    .footer {
        margin-left: 0;
    }
    .step-header h2 {
        font-size: 1.4rem;
    }
}